We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › processing IDE not running (GNU/Linux)
Page Index Toggle Pages: 1
processing IDE not running (GNU/Linux) (Read 1484 times)
processing IDE not running (GNU/Linux)
Jan 12th, 2010, 6:00am
 
Hello community,

Strange error appears on GNU/Linux machine (2.6.31-17-generic kernel, Ubuntu 9.10 - Karmic Koala) when trying to run processing IDE.. with and without "java" folder sym-linked to java-jdk folder (java-6-sun-1.6.0.16).

error output:

Quote:
java.nio.BufferUnderflowException
     at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:127)
     at sun.font.TrueTypeFont.lookupName(TrueTypeFont.java:1146)
     at sun.font.TrueTypeFont.getPostscriptName(TrueTypeFont.java:1197)
     at java.awt.Font.getPSName(Font.java:1156)
     at processing.app.tools.CreateFont.init(CreateFont.java:127)
     at processing.app.Editor.createToolMenuItem(Editor.java:818)
     at processing.app.Editor.addInternalTools(Editor.java:842)
     at processing.app.Editor.buildToolsMenu(Editor.java:671)
     at processing.app.Editor.buildMenuBar(Editor.java:485)
     at processing.app.Editor.<init>(Editor.java:177)
     at processing.app.Base.handleOpen(Base.java:702)
     at processing.app.Base.handleOpen(Base.java:667)
     at processing.app.Base.handleNew(Base.java:564)
     at processing.app.Base.<init>(Base.java:304)
     at processing.app.Base.main(Base.java:197)
Exception in thread "main" java.lang.NullPointerException
     at java.awt.Container.addImpl(Container.java:1045)
     at java.awt.Container.add(Container.java:365)
     at javax.swing.JPopupMenu.add(JPopupMenu.java:272)
     at javax.swing.JMenu.add(JMenu.java:562)
     at processing.app.Editor.addInternalTools(Editor.java:842)
     at processing.app.Editor.buildToolsMenu(Editor.java:671)
     at processing.app.Editor.buildMenuBar(Editor.java:485)
     at processing.app.Editor.<init>(Editor.java:177)
     at processing.app.Base.handleOpen(Base.java:702)
     at processing.app.Base.handleOpen(Base.java:667)
     at processing.app.Base.handleNew(Base.java:564)
     at processing.app.Base.<init>(Base.java:304)
     at processing.app.Base.main(Base.java:197)





"HeapByteBuffer.java @ line 127" Quite strange .. it seems to produce completely the same error with version 1.0.7 ..I am pretty sure it was running well before last Ubuntu dist-upgrade (Jaunty Jackalope 9.04)

..anyone experienced the same?
thanks
Kof
Re: processing IDE not running (GNU/Linux)
Reply #1 - Jan 12th, 2010, 11:38am
 
OK, it is not a Processing bug, but rather system-font mess. So sorry for posting here.

If anyone will experience this error, I can post a solution. It is all about locating wrong "ttf" file used by system.

Thanks to bugzilla for a great support.
kof
Re: processing IDE not running (GNU/Linux)
Reply #2 - Jan 12th, 2010, 12:25pm
 
Yes, I wanted to hint the error might come from a corrupted TTF file, but since I don't know much about Linux nor how to detect the culprit file, I shut up... Sad
Page Index Toggle Pages: 1