Arduino won't run on Ubuntu?

Hi All,

I've been using arduino for a while. I'm moving from Win7 to Lubuntu 11.10 and Arduino 1.0
Arduino was running fine on Lubuntu until today. When I start arduino from a shell prompt I get the following:

Exception in thread "main" java.lang.NullPointerException
at processing.app.Base.addLibraries(Base.java:1218)
at processing.app.Base.rebuildImportMenu(Base.java:964)
at processing.app.Editor.buildSketchMenu(Editor.java:650)
at processing.app.Editor.buildMenuBar(Editor.java:495)
at processing.app.Editor.(Editor.java:218)
at processing.app.Base.handleOpen(Base.java:700)
at processing.app.Base.handleOpen(Base.java:665)
at processing.app.Base.handleNew(Base.java:561)
at processing.app.Base.(Base.java:301)
at processing.app.Base.main(Base.java:190)

If I run arduino as root (sudo arduino) it works fine.
Does anyone have a guess as to what changed (permissions on what?) ?

Thanks,
Rich

OK - I found it. I had installed a new glcd library and the permissions were set so I did not have permission to read the glcd directory.

After fixing the permissions on that directory all is working as before.

Perhaps a better error message like: "Could not open libraries/glcd directory" would be a good thing to add to the next arduino release?

Is this the glcd (ks0108) v3 library?
If so, Can you pm me more information on this?
I use linux for the glcd library development and would like to know
what the issue is/was.
I'd like to know more about this so if it is a packaging or documentation
issue I can work around this if possible.

--- bill