sketch crashes when calling a contributed library (from a class inside a void from a control event)
              in 
             Contributed Library Questions 
              •  
              1 year ago    
            
 
            
            Hi,
             
              
              
               
              
              
               
              
              
               
              
              
               
              
              
               
              
              
               
              
              
               
              
              
             
              
             
             
               
           
 
            
           
               Processing crashes when I am in a control event, that calls a void that calls a class that executes a contributed library  (for example guicentre). 
              
              
               The void that calls a class that executes a library (guicentre) via popup (PopupWindow from guicomponents). is working correctly in a separated sketch, and when I insert the call to the control event, the window gets in part in blank, and only a small part of the window is displayed, and then crashes literally.
              
              
               the crash log  says that it was using the module libjogl.nilib
              
              
               it is a repetitive error.
              
              
               :(
              
              
               Caused by: processing.core.PApplet$RendererChangeException
              
             
               RAVE: An error occured while forwarding a Controller event, please check your code at BAgraficas
              
              
               java.lang.reflect.InvocationTargetException
              
              
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              
              
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              
              
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              
              
                at java.lang.reflect.Method.invoke(Method.java:597)
              
              
                at controlP5.ControlBroadcaster.invokeMethod(Unknown Source)
              
              
                at controlP5.ControlBroadcaster.callTarget(Unknown Source)
              
              
                at controlP5.ControlBroadcaster.broadcast(Unknown Source)
              
              
                at controlP5.Controller.broadcast(Unknown Source)
              
              
                at controlP5.Button.setValue(Unknown Source)
              
              
                at controlP5.Button.activate(Unknown Source)
              
              
                at controlP5.Button.mouseReleased(Unknown Source)
              
              
                at controlP5.Controller.setMousePressed(Unknown Source)
              
              
                at controlP5.ControllerGroup.setMousePressed(Unknown Source)
              
              
                at controlP5.ControlWindow.mouseReleasedEvent(Unknown Source)
              
              
                at controlP5.ControlWindow.mouseEvent(Unknown Source)
              
              
                at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
              
              
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              
              
                at java.lang.reflect.Method.invoke(Method.java:597)
              
              
                at processing.core.PApplet$RegisteredMethods.handle(Unknown Source)
              
              
                at processing.core.PApplet.handleMouseEvent(Unknown Source)
              
              
                at processing.core.PApplet.dequeueMouseEvents(Unknown Source)
              
              
                at processing.core.PApplet.handleDraw(Unknown Source)
              
              
                at processing.core.PApplet.run(Unknown Source)
              
              
                at java.lang.Thread.run(Thread.java:680)
              
              
               Caused by: processing.core.PApplet$RendererChangeException
              
              
                at processing.core.PApplet.size(Unknown Source)
              
              
              
              1  
            
 
            
