Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » java.lang.NumberFormatException on equinox jar
java.lang.NumberFormatException on equinox jar [message #94778] Tue, 14 August 2007 11:19 Go to next message
mikael petterson is currently offline mikael pettersonFriend
Messages: 73
Registered: July 2009
Member
Hi,

Here is the error log.

!SESSION 2007-08-14 13:15:44.635
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -application org.eclipse.ui.ide.workbench -pdelaunch
Command-line arguments: -application org.eclipse.ui.ide.workbench -data
/home/eraonel/opensource_projects/../runtime-EclipseApplicat ion(1) -dev
file:/home/eraonel/opensource_projects/.metadata/.plugins/or g.eclipse.pde.core/eclipseclearcase/dev.properties
-pdelaunch -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 4 0 2007-08-14 13:15:45.427
!MESSAGE Startup error
!STACK 1
java.lang.NumberFormatException: For input string:
"sys/3.2/plugins/org.eclipse.equinox.common_3.2.0.v20060603.jar@2"
at
java.lang.NumberFormatException.forInputString(NumberFormatE xception.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.getInitialBu ndles(EclipseStarter.java:682)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBun dles(EclipseStarter.java:637)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:305)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:173)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Re: java.lang.NumberFormatException on equinox jar [message #94796 is a reply to message #94778] Tue, 14 August 2007 11:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

Can you file a bug? I suspect it might be because you have a '.' in your directory name (3.2). If you change that to something else (like 32) does the problem still occur? What does the dev.properties listed contain?

Alex.
Re: java.lang.NumberFormatException on equinox jar [message #94809 is a reply to message #94796] Tue, 14 August 2007 11:47 Go to previous messageGo to next message
mikael petterson is currently offline mikael pettersonFriend
Messages: 73
Registered: July 2009
Member
Alex Blewitt wrote:

Thanks for reply.

> Can you file a bug?
I can do that.

I suspect it might be because you have a '.' in your directory name
(3.2).

We use an app server and stuff is copied to our home directory. So
sys/3.2/plugins/org.eclipse.equinox.common_3.2.0.v20060603.jar@2 is not
in my home directory.

Where can I find the dev.properties file?


If you change that to something else (like 32) does the problem still
occur? What does the dev.properties listed contain?

> Alex.
Re: java.lang.NumberFormatException on equinox jar [message #94886 is a reply to message #94809] Tue, 14 August 2007 21:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

You pasted the full path to the dev.properties file in your stacktrace ...
Re: java.lang.NumberFormatException on equinox jar [message #94902 is a reply to message #94886] Wed, 15 August 2007 06:03 Go to previous messageGo to next message
mikael petterson is currently offline mikael pettersonFriend
Messages: 73
Registered: July 2009
Member
Hi,

Sorry was to tired yesterday to follow along. This is the content of
dev.properties:

#
#Wed Aug 15 07:43:15 CEST 2007
net.sourceforge.eclipseccase=bin
net.sourceforge.eclipseccase.ui=bin
@ignoredot@=true


I cannot change the path since I don't have the permisson on sys/3.2
directory.

cheers,

//mikael
Re: java.lang.NumberFormatException on equinox jar [message #94931 is a reply to message #94902] Wed, 15 August 2007 11:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

Can you install a copy of Eclipse somewhere else, and/or copy it from that location? It would help tell if there was a problem with the directory name.

Alex.
Re: java.lang.NumberFormatException on equinox jar [message #94944 is a reply to message #94931] Wed, 15 August 2007 11:59 Go to previous messageGo to next message
mikael petterson is currently offline mikael pettersonFriend
Messages: 73
Registered: July 2009
Member
Hi,

I have downloaded 3.2.1 and I can run the eclipse application. No problem
with the path ( I tried without '.' and with '.'. Both works.

Maybe we shall cancel the bug?

cheers,

//mikael
Re: java.lang.NumberFormatException on equinox jar [message #94959 is a reply to message #94944] Wed, 15 August 2007 14:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

Is there a space in the path as well? Something like c:\Big Sys\3.2\...?

I suspect if you can't find a way to reproduce the bug, then the bug will be resolved as INVALID anyway, but it would be good to see if you could find out why it happened. Although I doubt any fixes will be made to the 3.2 stream now, it would be good to know if the problem still exists in 3.3.

Alex.
Re: java.lang.NumberFormatException on equinox jar [message #95002 is a reply to message #94778] Wed, 15 August 2007 18:44 Go to previous messageGo to next message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

Mikael wrote:
> "sys/3.2/plugins/org.eclipse.equinox.common_3.2.0.v20060603.jar@2"

Just guessing .. does that come from a ClearCase view?

-Gunnar

--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Re: java.lang.NumberFormatException on equinox jar [message #95061 is a reply to message #95002] Thu, 16 August 2007 07:36 Go to previous messageGo to next message
mikael petterson is currently offline mikael pettersonFriend
Messages: 73
Registered: July 2009
Member
Gunnar Wagenknecht wrote:

> Mikael wrote:
>> "sys/3.2/plugins/org.eclipse.equinox.common_3.2.0.v20060603.jar@2"

> Just guessing .. does that come from a ClearCase view?

Yes it comes from a clearvcase view where the 3.2 version is stored.

Alex, I will try to see if I can reproduce it in 3.3. I will let you know
in this newsgroup.

Gunnar, I am working on eclipseccase (plugin) and saw that you have
contributed a lot.

cheers,

//mikael

> -Gunnar
Re: java.lang.NumberFormatException on equinox jar [message #95076 is a reply to message #95061] Thu, 16 August 2007 10:00 Go to previous message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

Mikael wrote:
> Gunnar Wagenknecht wrote:
>
>> Mikael wrote:
>>> "sys/3.2/plugins/org.eclipse.equinox.common_3.2.0.v20060603.jar@2"
>
>> Just guessing .. does that come from a ClearCase view?
>
> Yes it comes from a clearvcase view where the 3.2 version is stored.

I knew I remembered that "@2" version annotation correctly. So that
leads me to the question if that is an allowed file name (note, it does
not end with ".jar") and if Equinox should load it.

> Alex, I will try to see if I can reproduce it in 3.3. I will let you know
> in this newsgroup.

That would be helpful.

> Gunnar, I am working on eclipseccase (plugin) and saw that you have
> contributed a lot.

The company where I worked at that time used ClearCase and we prefered
the usability offered by the Open Source plug-in than the one that came
from Rational. But we desperately needed some features so I got into
submitting patches. :) I don't have access to ClearCase anymore so I
won't be able to contribute substantially anymore.

-Gunnar

--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Previous Topic:Easier way to start bundles
Next Topic:Equinox launcher
Goto Forum:
  


Current Time: Fri Apr 26 07:42:00 GMT 2024

Powered by FUDForum. Page generated in 0.04120 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top