IDE 1.5.1

Hi,

there is something wrong in the IDE

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

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.

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

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

Windows on an Win7 64bit

Windows 8 64-bit.

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

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)

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.

here we go:

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

please confirm if this solves your issues.

Yep, that fixed it for Windows XP Home SP3.

Yes solve my problem on Win7 64bit

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.

Solved the problem on Win8 64 bit.

Not fun. (Newest from git, linux64)

cmaglie: 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.

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

Just downloaded a few minutes ago.

io53: Not fun. (Newest from git, linux64)

Try "ant clean" first.

[quote author=Nick Gammon link=topic=130965.msg987515#msg987515 date=1352349615] Cannot launch Due IDE 1.5.1 on OS/X (10.7.5):

Just downloaded a few minutes ago. [/quote]

Nick, probably you have the hardware folder populated, there is a bug that crashes the IDE (we introduced it in the last beta, due to the new Boards menu with sub-options). We are working on it. I guess we need a more frequent release schedule.

cmaglie: Nick, probably you have the hardware folder populated, there is a bug that crashes the IDE (we introduced it in the last beta, due to the new Boards menu with sub-options). We are working on it. I guess we need a more frequent release schedule.

Er, yes. What hardware folder? You mean if I have some things like the Attiny in my Arduino default folder (for support of the other chip types) then the Due IDE won't start? I take it that is what you are saying.

I'm not particularly worried as I don't have a Due yet, I was just trying to help out with a programming question. Still, it's good to have stress testing, eh?

cmaglie: Try "ant clean" first.

Thank you, it worked. :)

... but now I feel stupid. Got any ant argument for that?

[quote author=Nick Gammon link=topic=130965.msg987676#msg987676 date=1352366313] ou mean if I have some things like the Attiny in my Arduino default folder (for support of the other chip types) then the Due IDE won't start? I take it that is what you are saying. [/quote]

Exactly that.

[quote author=Nick Gammon link=topic=130965.msg987676#msg987676 date=1352366313] Still, it's good to have stress testing, eh? [/quote]

Of course ;)