Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NullPointerException at hex.tree.TreeHandler.fillNodeCategoricalSplitDescription(TreeHandler.java:272) #8502

Closed
exalate-issue-sync bot opened this issue May 12, 2023 · 1 comment

Comments

@exalate-issue-sync
Copy link

Model file created in 3.26.09 produces the below error when running:

{code:python}model = h2o.load_model('...')
from h2o.tree import H2OTree
H2OTree(model, 2){code}

error:

{code:java}12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: java.lang.NullPointerException
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.fillNodeCategoricalSplitDescription(TreeHandler.java:272)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.fillNodeSplitTowardsChildren(TreeHandler.java:242)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.fillnodeDescriptions(TreeHandler.java:193)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.append(TreeHandler.java:145)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.append(TreeHandler.java:174)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.append(TreeHandler.java:174)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.append(TreeHandler.java:174)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.append(TreeHandler.java:174)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.append(TreeHandler.java:174)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.append(TreeHandler.java:174)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.append(TreeHandler.java:174)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.append(TreeHandler.java:174)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.append(TreeHandler.java:174)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.convertSharedTreeSubgraph(TreeHandler.java:125)
12-11 21:20:17.085 127.0.0.1:54321 79627 #4750-15 ERRR: at hex.tree.TreeHandler.getTree(TreeHandler.java:54)
12-11 21:20:17.085 127.0.0.1:54321 79
...{code}

The model was probably created with python 3.7. Logs attached.

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7137
Assignee: Pavel Pscheidl
Reporter: Joseph Granados
State: Closed
Fix Version: 3.28.0.1
Attachments: Available (Count: 1)
Development PRs: Available

Linked PRs from JIRA

#4139

Attachments From Jira

Attachment Name: h2ologs_20191211_092111.zip
Attached By: Joseph Granados
File Link:https://h2o-3-jira-github-migration.s3.amazonaws.com/PUBDEV-7137/h2ologs_20191211_092111.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant