Unable to install JavaScriptMode - 2.0b9
in
Core Library Questions
•
4 months ago
I have recently downloaded 2.0b9 and installed it.
When I attempt to add JavaScript mode it downloads the files but fails installation with the messages
Could not delete C:\Users\Peter\Documents\Processing\modes\mode9139477983085052463tmp\JavaScriptMode\keywords.txt
Could not delete C:\Users\Peter\Documents\Processing\modes\mode9139477983085052463tmp\JavaScriptMode\mode\JavaScriptMode.jar
Could not delete C:\Users\Peter\Documents\Processing\modes\mode9139477983085052463tmp\JavaScriptMode\mode
Could not delete C:\Users\Peter\Documents\Processing\modes\mode9139477983085052463tmp\JavaScriptMode
Could not delete C:\Users\Peter\Documents\Processing\modes\mode9139477983085052463tmp
Which is strange because it attempts to delete the temporary folder and contents before copying them into the Processing/modes folder.
If I copy the files manually JavaScriptMode appears in the IDE but when I attempt to change to this mode I get exception message shown below. It appears that it can't find some images.
I have found nothing in the issues list so I image it is not a problem with Processing. Has anyone else experienced the same problem or know of a solution?
FYI - my OS is WIndows 7 Professional (64 bit)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1778)
at java.awt.Window.paint(Window.java:3390)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:797)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:694)
at javax.swing.RepaintManager.access$700(RepaintManager.java:41)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1636)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:627)
at java.awt.EventQueue$2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at processing.app.EditorToolbar.loadImages(EditorToolbar.java:145)
at de.bezier.mode.javascript.JavaScriptToolbar.init(Unknown Source)
at processing.app.EditorToolbar.paintComponent(EditorToolbar.java:170)
at javax.swing.JComponent.paint(JComponent.java:1037)
at javax.swing.JComponent.paintChildren(JComponent.java:870)
...
When I attempt to add JavaScript mode it downloads the files but fails installation with the messages
Could not delete C:\Users\Peter\Documents\Processing\modes\mode9139477983085052463tmp\JavaScriptMode\keywords.txt
Could not delete C:\Users\Peter\Documents\Processing\modes\mode9139477983085052463tmp\JavaScriptMode\mode\JavaScriptMode.jar
Could not delete C:\Users\Peter\Documents\Processing\modes\mode9139477983085052463tmp\JavaScriptMode\mode
Could not delete C:\Users\Peter\Documents\Processing\modes\mode9139477983085052463tmp\JavaScriptMode
Could not delete C:\Users\Peter\Documents\Processing\modes\mode9139477983085052463tmp
Which is strange because it attempts to delete the temporary folder and contents before copying them into the Processing/modes folder.
If I copy the files manually JavaScriptMode appears in the IDE but when I attempt to change to this mode I get exception message shown below. It appears that it can't find some images.
I have found nothing in the issues list so I image it is not a problem with Processing. Has anyone else experienced the same problem or know of a solution?
FYI - my OS is WIndows 7 Professional (64 bit)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1778)
at java.awt.Window.paint(Window.java:3390)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:797)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:694)
at javax.swing.RepaintManager.access$700(RepaintManager.java:41)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1636)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:627)
at java.awt.EventQueue$2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at processing.app.EditorToolbar.loadImages(EditorToolbar.java:145)
at de.bezier.mode.javascript.JavaScriptToolbar.init(Unknown Source)
at processing.app.EditorToolbar.paintComponent(EditorToolbar.java:170)
at javax.swing.JComponent.paint(JComponent.java:1037)
at javax.swing.JComponent.paintChildren(JComponent.java:870)
...
1