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

2012/9/26

Exception in Greenfoot

HippoBear HippoBear

2012/9/26

#
Hello, I am using Greenfoot for a long time, so it's weired that this error suddenly occures, which prevents me from using it. This is the Situation: I'm Running Windows XP and Greenfoot Version 2.21. Everytime I try to compile Greenfoot gets stuck for one minute and after that throws the following stacktrace: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketTimeoutException: Read timed out at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110) at rmiextension.wrappers.RBlueJImpl_Stub.getOpenProjects(Unknown Source) at rmiextension.BlueJRMIClient.initialise(BlueJRMIClient.java:85) at greenfoot.core.GreenfootLauncherDebugVM$1.run(GreenfootLauncherDebugVM.java:80) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.DataInputStream.readByte(DataInputStream.java:248) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228) ... 5 more My first thought was the Firewall - But even without Firewall (and closed Internet - Connection) the Problem occures. The problem is even with the standalone Version of Greenfoot, which is very strange. Currently I reinstalled Java 6 Update 35 - even with Java 7 the error occures. One more thing: the error is not related to some special scenario. It's even with the given wombat scenario. Any Ideas? Thanks in advance.
davmac davmac

2012/9/26

#
If this has started happening recently, then it must be something on your system that has changed which is causing the error. You should try to identify what that might have been (have you installed some software recently, or changed any settings?)
HippoBear HippoBear

2012/9/26

#
Hy, thanks for reply. Well I don't have a clue what it can be. I just installed some 'normal' Office Software - nothing special. In Relation to Java I didn't installed anything. As I mentioned I deleted everything a couple of times and tried to reinstall. Even on some custom Installation Path. Settings: I just added in BlueJ some Libs (so called "SuM-Lib"). I didn't changed anything in Greenfoot since it is newly installed. Any Idea where to search?
davmac davmac

2012/9/26

#
However, I also found this: http://stackoverflow.com/questions/10422603/what-could-cause-rmi-method-calls-to-fail-intermittently ... which implies that Greenfoot might be doing something slightly incorrectly. I'll implement a fix for the next Greenfoot release. I'm not sure if it's really related to your problem, though.
HippoBear HippoBear

2012/9/26

#
That sound's good! - For me this would be very urgent - when do you publish the next Greenfoot Release? Is there a some kind of nightly build? Greetings
davmac davmac

2012/9/27

#
Well, like I said, I don't think it's related to your problem (in fact, having looked at our code, I'm not really convinced that Greenfoot is doing anything wrong). Considering it was working for you before, something must have changed on your system which makes it give this error now. Sorry, but that's about all the help I can give. I'm not sure when we'll release the next Greenfoot, there is no nightly build.
HippoBear HippoBear

2012/9/27

#
Hey Davmac, thanks for your support - yesterday you asked whether there are properties I've changed. Since a reinstall (and even a Standalone Version) didn't helped - maybe there is/are some properties File in the FileSystem - beside %UserProfile%/greenfoot/... ?
davmac davmac

2012/9/27

#
No, the greenfoot folder (with greenfoot.properties etc) are the only settings for Greenfoot. I doubt that any of the settings there could be responsible for this problem.
You need to login to post a reply.