Program keeps crashing

Mehmet's Avatar

Mehmet

26 Feb, 2018 09:25 PM

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)

  1. Support Staff 1 Posted by john on 26 Feb, 2018 10:43 PM

    john's Avatar

    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. 2 Posted by Mehmet Sensoy on 26 Feb, 2018 11:21 PM

    Mehmet Sensoy's Avatar

    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ı:

  3. Support Staff 3 Posted by john on 27 Feb, 2018 03:01 AM

    john's Avatar

    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. 4 Posted by Mehmet on 27 Feb, 2018 06:16 PM

    Mehmet's Avatar

    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)

  5. Support Staff 5 Posted by john on 27 Feb, 2018 07:58 PM

    john's Avatar

    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

  6. Support Staff 6 Posted by Frederik De Ble... on 27 Feb, 2018 08:03 PM

    Frederik De Bleser's Avatar
    • Is this in the latest version of NodeBox? There were some issues with previous version but as I recall they were all fixed.
    • Since this happens in the network view, this is probably the result of some action you took: dragging nodes, connecting/disconnecting, creating new nodes,... Do you have some hunch on exactly after which operation this occurs?
    • I think this happens when dragging a new connection. Does this happen when you make a connection, or does it happen unrelated to it (so you the system thinks you're dragging a new connection when you're not)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

20 Jul, 2018 08:08 PM
16 Jul, 2018 05:51 PM
14 Jul, 2018 05:02 AM
11 Jul, 2018 06:30 AM
10 Jul, 2018 08:24 PM

 

06 Jul, 2018 10:57 AM
05 Jul, 2018 03:45 AM
03 Jul, 2018 01:24 PM
02 Jul, 2018 05:58 PM
22 Jun, 2018 08:10 PM
21 Jun, 2018 02:16 PM