Re: [eclipse-clp-users] Problem: OutOfProcessEclipse and Java

From: Martin Wegner <martinator.de_at_arcor.de>
Date: Wed, 28 May 2008 22:06:14 +0200
Hello,

sorry to say that, but when I run the code I posted before under linux I 
got this error message :(

"Exception in thread "main" java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Integer.java:415)
        at java.lang.Integer.parseInt(Integer.java:497)
        at 
com.parctechnologies.eclipse.OutOfProcessEclipse.<init>(OutOfProcessEclipse.java:82)
        at eclipse.main(eclipse.java:18)"

Greetings!

Martin

Problem example code:

import java.io.*;
import com.parctechnologies.eclipse.*;
public class eclipse {
   public static void main(String[] args) {
       OutOfProcessEclipse eclipse;
       EclipseEngineOptions options = new EclipseEngineOptions(new 
File(""));
       try {
           eclipse = new OutOfProcessEclipse(options);
       }
       catch(IOException e) {
           System.err.println("Error: " + e.toString());
           System.err.println("Error: " + e.getMessage());
       }
       catch(EclipseException e) {
           System.err.println("Error: " + e.toString());
           System.err.println("Error: " + e.getMessage());
       }
   }
}


Joachim Schimpf (Independent Contractor) schrieb:
> Martin Wegner wrote:
>   
>> Hello,
>>
>> thank you for your answer but setting the eclipse prolog path is not a 
>> solution and made no difference. When I set a wrong path I got an error 
>> message that it can't find eclipse prolog and when I set the right path 
>> I got the old error message I told you in my last e-mail :( I used the 
>> setEclipseDir method. It seems that it is a eclipse prolog bug :(
>>     
>
> Apologies, you are right - the eclipsedir path was not passed correctly
> for this particular configuration on Windows.  I have fixed this for the
> next build 5.10#128.  Note that the problem does not occur on Linux.
>
> Cheers,
> Joachim
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> ECLiPSe-CLP-Users mailing list
> ECLiPSe-CLP-Users_at_lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users
>
>   
Received on Wed May 28 2008 - 13:06:23 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET