duckietown / hatchery

🐣 An IDE for building ROS applications
http://www.ros.org/
Other
8 stars 1 forks source link

Latest version crashes on startup of IntelliJ #11

Closed chrisl8 closed 5 years ago

chrisl8 commented 5 years ago

The previous release worked fine, however when I upgraded to the latest version of hatchery today and it crashes when IntelliJ tries to start:

Plugin Error: Plugin 'edu.umontreal.hatchery' failed to initialize and will be disabled.  Please restart IntelliJ IDEA.                                                                       

java.lang.ExceptionInInitializerError                                                                                                                                                         
        at java.lang.Class.forName0(Native Method)                                                                                                                                            
        at java.lang.Class.forName(Class.java:348)                                                                                                                                            
        at com.intellij.openapi.components.impl.ComponentManagerImpl.registerComponents(ComponentManagerImpl.java:367)                                                                        
        at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:81)                                                                                       
        at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:407)                                                                                               
        at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:393)                                                                                               
        at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:208)                                                                                                                    
        at com.intellij.idea.IdeaApplication.lambda$initApplication$0(IdeaApplication.java:74)                                                                                                
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)                                                                                                                  
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)                                                                                                                         
        at java.awt.EventQueue.access$500(EventQueue.java:98)                                                                                                                                 
        at java.awt.EventQueue$3.run(EventQueue.java:715)                                                                                                                                     
        at java.awt.EventQueue$3.run(EventQueue.java:709)                                                                                                                                     
        at java.security.AccessController.doPrivileged(Native Method)                                                                                                                         
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)                                                                            
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)                                                                                                                             
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:347)                                                                                                               
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)                                                                                                  
        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)                                                                                                                      
Caused by: java.io.FileNotFoundException: No such file: /opt/ros/kinetic/setup.sh                                                                                                             
        at edu.umontreal.hatchery.ros.Ros.<init>(RosPathTools.kt:86)                                                                                                                          
        at edu.umontreal.hatchery.ros.Ros.<init>(RosPathTools.kt:62)                                                                                                                          
        at edu.umontreal.hatchery.settings.RosSettings.<init>(RosSettings.kt:21)
        at edu.umontreal.hatchery.settings.RosConfig.<clinit>(RosConfig.kt:14)
        ... 23 more

Let me know if there is something else that I can provide in the way of debugging.

breandan commented 5 years ago

Hi Chris, thank you for reporting! Which OS and ROS version are you using?