[eclipse-clp-users] java.lang.NumberFormatException

From: Joris Van den Broeck <joris6_at_...6...>
Date: Fri, 11 Feb 2011 12:09:40 +0100
Hi,

When I use the Java/ECLiPSe interface, I get
a java.lang.NumberFormatException

java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:443)
at java.lang.Integer.parseInt(Integer.java:514)
at
com.parctechnologies.eclipse.OutOfProcessEclipse.<init>(OutOfProcessEclipse.java:82)

OutOfProcessEclipse.java

    // Read the port number from the eclipseProcess' stdout
    String portString = eclipseProcessStdout.readLine();

    // Read the password from the eclipseProcess' stdout
    String passwd = eclipseProcessStdout.readLine();

    // make port string into an int
    int port = Integer.parseInt(portString);


The java program I'm trying to run came with a windows version of ECLiPSe, I
changed that to the linux version (I'm using ubuntu) and it worked as it was
supposed to 2 days ago but now it suddenly throws an error. (while I didn't
changed anything to the code) Has anyone an idea what might be wrong?

Regards,
Joris
Received on Fri Feb 11 2011 - 11:10:07 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 22 2024 - 18:13:20 CET