JavaInterface: OutOfProcessEclipse creation: java.lang.NumberFormatException: null

From: Cormac J. Gebruers <>
Date: Thu 04 Sep 2003 10:57:08 AM GMT
Message-Id: <>

Could someone kindly comment on the code below which throws the
following exception:

java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(
        at java.lang.Integer.parseInt(
        at com.parctechnologies.eclipse.OutOfProcessEclipse.<init>(OutOf
        at Eclipse_Test.<init>(
        at Eclipse_Test.main(

and the java code:

public class Eclipse_Test

public Eclipse_Test()
            File dirEclipse = new File("/usr/eclipse");

            // Create some default Eclipse options
            EclipseEngineOptions eclipseEngineOptions = new

            // Object representing the Eclipse engine
            EclipseEngine eclipse;

            // Connect the Eclipse's standard streams to the JVM's

            // Initialise Eclipse LINE 24: POINT OF FAILURE!
            eclipse = new OutOfProcessEclipse(eclipseEngineOptions);

            // Write a message
            eclipse.rpc("write(output, 'hello world'), flush(output)");

            // Destroy the Eclipse engine
            ((OutOfProcessEclipse) eclipse).destroy();
    catch(Exception e){ e.printStackTrace();}


public static void main(String[] args)
{       Eclipse_Test et = new Eclipse_Test();


Received on Thu Sep 04 14:49:57 2003

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:25 PM GMT GMT