Program keeps crashing
I'm very excited about this project, I've downloaded it and started using it but unfortunately it keeps crashing all the time.
I work on Win 10 with latest Java Software. Do you have any suggestions?
I get these errors;
java.lang.NullPointerException
at nodebox.client.NetworkView.paintCurrentConnection(NetworkView.java:352)
at nodebox.client.NetworkView.paintComponent(NetworkView.java:301)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by john on 26 Feb, 2018 10:43 PM
Hi Mehmet,
I am not as knowledgable as other staff members for this sort of thing, so may be of limited use. But it would help if you could supply more details.
Did you ever get NodeBox to run? Does it crash every time you launch the app, or only when you try to open a certain ndbx file? What version of NodeBox are you using?
Are you doing anything with audio input? (If so, launch just the app, not any file, and, under Preferences, turn on Device Support. Then quit NodeBox and relaunch.)
The more details you supply, the better the odds someone can help you.
John
2 Posted by msensoy on 26 Feb, 2018 11:21 PM
Hello,
I am using the latest version of Nodebox.
I start with an empty document. And as I add some nodes or try to connect
them it crashes. I was able to make radial copies or color combinations and
etc. But especially for shape nodes such as rectangle or circle it crashes.
I am trying to apply basic things for example connection square node with
copies node. I really would like to learn and use this software deeply
because I think it is one of its kind on Win I guess;).
Thank you for your reply.
27 Şub 2018 1:43 AM tarihinde "john" <[email blocked]>
yazdı:
Support Staff 3 Posted by john on 27 Feb, 2018 03:01 AM
The things you describe seem perfectly normal so I don't understand why you would be getting errors.
Are you able to repeat actions that generate these crashes? Would it be possible for you to save a ndbx file from just before your crash and then describe what attempted node addition or connection triggered the crash? You could then attach that file to your next reply so that we could try to replicate it.
NodeBox is indeed one of a kind (on Win or Mac). I hope we can help you get it working.
John
4 Posted by msensoy on 27 Feb, 2018 06:16 PM
Hi again,
I don't know why it's happening.
I was looking examples then it crashed. (In Spirograph example I just wanted to changed freehand node to line node.)
Then I restarted program again with simple geometry nodes such as line and polygon I tried to connect resample node. Then it crashed again.
I ran windows program troubleshooting (program compatibility when downgraded software to work with win 8 settings. I also checked run program administrator option.
I updated Java to its latest version.
By the way for your questions I cannot because I don't know when it will crash. Sometimes I work for 20 minutes sometimes it last 1 minute:) It does not happen on same operations but generally speaking it crashes when I play with geometry nodes.
Here is debug;
java.lang.NullPointerException
at nodebox.client.NetworkView.paintCurrentConnection(NetworkView.java:352)
at nodebox.client.NetworkView.paintComponent(NetworkView.java:301)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Support Staff 5 Posted by john on 27 Feb, 2018 07:58 PM
Puzzling.
When you say "crash" do you mean that NodeBox closes or freezes, requiring you to do a forced quit? Or do you mean that you see an error dialog that can then be dismissed (as seen in your screenshot)? I presume the former - but just checking.
One thing to check is that you don't have nodes on top of each other. Drag nodes around to make sure nothing is underneath. If you connect a node to an inappropriate port, you can sometimes get a Null error (similar to one you show in your screenshot). But that shouldn't crash NodeBox.
I tried replicating some of things you described and experienced no difficulties, so I am stumped. NodeBox should not crash and almost never does for me (I'm now using a Mac but it worked well when I was using a PC).
Perhaps there is something funky about your Windows 10 environment (though it sounds like you've already tried the most obvious things). Unless you can demonstrate a series of actions that reliably triggers a crash and send a ndbx file just before that crash it may be hard for us to help. I do not have access to a Win 10 machine.
Frederick, do you have any other suggestions?
John
Support Staff 6 Posted by Frederik De Ble... on 27 Feb, 2018 08:03 PM