This site requires JavaScript, please enable it in your browser!
Greenfoot back
DavidH.
DavidH. wrote ...

2011/3/28

Windows 7 - Java Error if "open" or "save" projects

DavidH. DavidH.

2011/3/28

#
Hello guys, need a quick help! A new clear Windows 7 computer = Greenfoot works!!!!!!!!!!!!!!! integrated in a Domain without Policies = Greenfoot startup with following errors (open and save projects):.................................................................... "Exception in thread "Thread-10" java.lang.NullPointerException at sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:553) at sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:550) at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFolderManager2.java:523) at sun.awt.shell.ShellFolder.invoke(ShellFolder.java:399) at sun.awt.shell.ShellFolder.invoke(ShellFolder.java:385) at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Win32ShellFolder2.java:550) at sun.awt.shell.Win32ShellFolder2.access$300(Win32ShellFolder2.java:55) at sun.awt.shell.Win32ShellFolder2$2.call(Win32ShellFolder2.java:286) at sun.awt.shell.Win32ShellFolder2$2.call(Win32ShellFolder2.java:284) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Win32ShellFolderManager2.java:492) at java.lang.Thread.run(Thread.java:662)".......................... any Idea?
davmac davmac

2011/3/29

#
It looks like a Java problem. Make sure you have the latest Java update. You can also try using the cross-platform look-and-feel as described here: http://www.bluej.org/help/faq.html#windowslaf (The link is for BlueJ, but the solution described also works for Greenfoot).
MathManiac MathManiac

2011/4/2

#
I agree with davmac. Maybe install Java 5.0 (Latest I've heared of).
JL235 JL235

2011/4/3

#
MathManiac wrote...
I agree with davmac. Maybe install Java 5.0 (Latest I've heared of).
Greenfoot requires Java 6 to run fully. Java 5 is pretty old now and also doesn't fully support Windows Vista and 7 (certain GUI elements are drawn incorrectly). But still try upgrading to the latest version of the JDK as it could be a Java bug that has since been fixed.
MathManiac MathManiac

2011/4/3

#
JL235 wrote...
Greenfoot requires Java 6 to run fully. Java 5 is pretty old now and also doesn't fully support Windows Vista and 7 (certain GUI elements are drawn incorrectly). But still try upgrading to the latest version of the JDK as it could be a Java bug that has since been fixed.
Never heared of it. I'll try installing it.
You need to login to post a reply.