Go Down

Topic: IDE 1.5.1 (Read 6917 times) previous topic - next topic

Markus_L811

Hi,

there is something wrong in the IDE

There are no Menueline and no Buttons and I get this error.
Quote

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Base.getBoardPreferences()Lprocessing/app/helpers/PreferencesMap;
   at processing.app.EditorLineStatus.paintComponent(EditorLineStatus.java:98)
   at javax.swing.JComponent.paint(JComponent.java:1029)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paintToOffscreen(JComponent.java:5131)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1475)
   at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1406)
   at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
   at javax.swing.JComponent.paint(JComponent.java:1015)
   at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
   at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
   at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
   at java.awt.Container.paint(Container.java:1780)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
   at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
   at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
   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.NoSuchMethodError: processing.app.Base.getBoardPreferences()Lprocessing/app/helpers/PreferencesMap;
   at processing.app.EditorLineStatus.paintComponent(EditorLineStatus.java:98)
   at javax.swing.JComponent.paint(JComponent.java:1029)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paintToOffscreen(JComponent.java:5131)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1475)
   at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1406)
   at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
   at javax.swing.JComponent.paint(JComponent.java:1015)
   at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
   at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
   at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
   at java.awt.Container.paint(Container.java:1780)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
   at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
   at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
   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)


Did someone has an idea, IDE 1.5 works normal.

I get the same error.

cmaglie

Which IDE are you using (linux32/64, win or mac)?
C.

Markus_L811


Which IDE are you using (linux32/64, win or mac)?


Windows on an Win7 64bit


hiduino

I have a similar type errors with Windows XP Pro SP3 and another Windows XP Home SP3.

Code: [Select]
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Base.getBoardPreferences()Lprocessing/app/helpers/PreferencesMap;
at processing.app.EditorLineStatus.paintComponent(EditorLineStatus.java:98)
at javax.swing.JComponent.paint(JComponent.java:1029)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:278)
at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:826)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
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)



cmaglie

Ok ok! i found the problem!

It was my last windows build that contains an error, probably a not perfectly clean build environment (i should always clean before doing the actual build, my distraction sorry :()
I must setup a build-bot as soon as possible to avoid such errors in the future.

Uploading a fixed version right now, it will be available in a couple of minutes.
C.

cmaglie

here we go:

https://github.com/downloads/arduino/Arduino/arduino-1.5.1r2-windows.zip

please confirm if this solves your issues.
C.

hiduino

Yep, that fixed it for Windows XP Home SP3.



Markus_L811

Yes solve my problem on Win7 64bit

Baltasar

Still not fixed the load examples problem from certain libraries I reported before if on preferences the default path to sketchbook is changed !!!

This is really anoying as I could load directly all my sketchs from the sketchbook menu insted of having to do "Open", browsing to whatever directory to load them.
Check all my projects based on Atmel/Arduino -> www.aqualed-light.com

Solved the problem on Win8 64 bit.

io53

Not fun. (Newest from git, linux64)

ace4


here we go:

https://github.com/downloads/arduino/Arduino/arduino-1.5.1r2-windows.zip

please confirm if this solves your issues.


Sweet, fixed mine as well.

Nick Gammon

Cannot launch Due IDE 1.5.1 on OS/X (10.7.5):



Just downloaded a few minutes ago.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Go Up