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

Delete the node what has a child node. #19

Closed
ntngocanh21 opened this issue Oct 29, 2018 · 7 comments
Closed

Delete the node what has a child node. #19

ntngocanh21 opened this issue Oct 29, 2018 · 7 comments
Labels
bug Something isn't working

Comments

@ntngocanh21
Copy link

Hi. I got a problem when deleting a node in the Graph. It works with the node doesn't have any child node, but when I delete the node has some child node below it, I received the error message :
"java.lang.NullPointerException: Attempt to invoke virtual method 'int de.blox.graphview.tree.BuchheimWalkerNodeData.getDepth()' on a null object reference"
How can I resolve it?

@GregorBlock GregorBlock added the bug Something isn't working label Oct 30, 2018
@DennisBlock
Copy link
Contributor

This should be fixed in 090b256. Please use the new 0.4.1 version.

@thuijssoon
Copy link

Where can I find the new version? I am not seeing any new releases or tags...

@DennisBlock
Copy link
Contributor

You were right, I forgot to add a release on Github and created one right one. Besides that, all new versions are uploaded to JCenter, so just change the version number in the gradle file and you're ready to go.

@ntngocanh21
Copy link
Author

Thank you very much. Your team worked very well.

And I had another problem, the graph can change zoom level when I delete a node but it didn't work when I add a new node. I have to zoom out to see all nodes of the graph after that.

@thuijssoon
Copy link

You were right, I forgot to add a release on Github and created one right one. Besides that, all new versions are uploaded to JCenter, so just change the version number in the gradle file and you're ready to go.

Great, thanks so much for your work!

@DennisBlock
Copy link
Contributor

@ntngocanh21 This seems to be a "problem" with ZoomLayout. We'll see what we can do.

@karankharecha
Copy link

@ntngocanh21 This seems to be a "problem" with ZoomLayout. We'll see what we can do.

did you find any solution for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants