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

NullPointerException when filtering undirected graphs #31

Closed
mbastian opened this Issue Oct 22, 2011 · 1 comment

Comments

Projects
None yet
1 participant
@mbastian
Member

mbastian commented Oct 22, 2011

Way to reproduce:

  1. Open a graph file, undirected
  2. Create "Degree Range Filter" and enable filtering
  3. Play with range slide
    An exception is thrown sometimes, with higher probability is layout is active

Stack Trace:
java.lang.NullPointerException
at org.gephi.graph.dhns.edge.AbstractEdge.getUndirected(AbstractEdge.java:92)
at org.gephi.graph.dhns.edge.iterators.EdgeIterator.hasNext(EdgeIterator.java:59)
at org.gephi.graph.dhns.graph.iterators.EdgeIteratorImpl.hasNext(EdgeIteratorImpl.java:44)
at org.gephi.visualization.bridge.DHNSDataBridge.updateEdges(DHNSDataBridge.java:187)
at org.gephi.visualization.bridge.DHNSDataBridge.updateWorld(DHNSDataBridge.java:126)
at org.gephi.visualization.opengl.compatibility.CompatibilityEngine.updateWorld(CompatibilityEngine.java:181)
at org.gephi.visualization.opengl.compatibility.CompatibilityScheduler.updateWorld(CompatibilityScheduler.java:270)


Imported from Launchpad using lp2gh.

@mbastian

This comment has been minimized.

Member

mbastian commented Oct 22, 2011

(by fireang3l)
I get the same symptoms in alpha 4 - here's the stack trace, which is different than from the original report

java.lang.NullPointerException
at org.gephi.visualization.opengl.compatibility.objects.Edge2dModel.isInOctreeLeaf(Edge2dModel.java:112)
at org.gephi.visualization.opengl.octree.Octree.updateObjectsPosition(Octree.java:268)
at org.gephi.visualization.opengl.compatibility.CompatibilityEngine.updateObjectsPosition(CompatibilityEngine.java:636)
at org.gephi.visualization.opengl.compatibility.CompatibilityScheduler.updatePosition(CompatibilityScheduler.java:279)
[catch] at org.gephi.visualization.scheduler.SimpleFPSAnimator.run(SimpleFPSAnimator.java:58)

@mbastian mbastian closed this Oct 22, 2011

kant added a commit to kant/gephi that referenced this issue Aug 27, 2018

Fix URL on gephi#31, plus minor proposal on
* Update Forum URL on string gephi#25
* added space on string gephi#102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment