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

Null pointer exception in VoronoiDiagram #51

Open
cjfuller opened this issue Jan 24, 2013 · 1 comment
Open

Null pointer exception in VoronoiDiagram #51

cjfuller opened this issue Jan 24, 2013 · 1 comment
Labels

Comments

@cjfuller
Copy link
Owner

This should not happen.

BSPTree.java:294:in fitToCell': java.lang.NullPointerException from BSPTree.java:154:ininsertCut'
from VoronoiDiagram.java:137:in divideRecursive' from VoronoiDiagram.java:154:individeRecursive'
from VoronoiDiagram.java:154:in divideRecursive' from VoronoiDiagram.java:153:individeRecursive'
from VoronoiDiagram.java:153:in divideRecursive' from VoronoiDiagram.java:153:individeRecursive'
from VoronoiDiagram.java:153:in divideRecursive' from VoronoiDiagram.java:153:individeRecursive'
from VoronoiDiagram.java:153:in divideRecursive' from VoronoiDiagram.java:153:individeRecursive'
from VoronoiDiagram.java:153:in divideRecursive' from VoronoiDiagram.java:154:individeRecursive'
from VoronoiDiagram.java:153:in divideRecursive' from VoronoiDiagram.java:153:individeRecursive'
from VoronoiDiagram.java:153:in divideRecursive' from VoronoiDiagram.java:153:individeRecursive'
from VoronoiDiagram.java:153:in divideRecursive' from VoronoiDiagram.java:153:individeRecursive'
from VoronoiDiagram.java:153:in divideRecursive' from VoronoiDiagram.java:121:in'
from VoronoiFilter.java:105:in apply' from MethodHandle.java:566:ininvokeWithArguments'
from InvocationLinker.java:151:in invocationFallback' from src/find_beads.rb:216:inmethod__2$RUBY$process_file'
from MethodHandleImpl.java:1154:in invoke_L5' from MethodHandleImpl.java:1154:ininvoke_L5'
from MethodHandleImpl.java:1154:in invoke_L5' from MethodHandle.java:566:ininvokeWithArguments'
from InvocationLinker.java:151:in invocationFallback' from src/find_beads.rb:230:infile'
from src/find_beads.rb:-1:in load' from Ruby.java:779:inrunScript'
from Ruby.java:772:in runScript' from Ruby.java:649:inrunNormally'
from Ruby.java:498:in runFromMain' from Main.java:375:indoRunFromMain'
from Main.java:264:in internalRun' from Main.java:230:inrun'
from Main.java:214:in run' from Main.java:194:inmain'

@cjfuller
Copy link
Owner Author

This seems to be associated with calling it on single pixel regions. This is temporarily fixed in the calling program by making the regions larger.

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

No branches or pull requests

1 participant