This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 186213 - IllegalArgumentException: file:/home/feor58/lib/gwt-servlet.jar/ is not a valid classpath entry; use a jar-protocol URL.
Summary: IllegalArgumentException: file:/home/feor58/lib/gwt-servlet.jar/ is not a val...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Classpath (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 197293 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-16 07:25 UTC by feor58
Modified: 2011-04-02 08:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169668


Attachments
stacktrace (4.19 KB, text/plain)
2010-05-16 07:25 UTC, feor58
Details

Note You need to log in before you can comment on or make changes to this bug.
Description feor58 2010-05-16 07:25:39 UTC
This bug was originally marked as duplicate of bug 181155, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9 Beta (Build 201004200117)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
feor58: Add my library gwt.jar




Stacktrace: 
java.lang.IllegalArgumentException: file:/home/feor58/lib/gwt-servlet.jar/ is not a valid classpath entry; use a jar-protocol URL.
   at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.verify(SimplePathResourceImplementation.java:87)
   at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.verify(SimplePathResourceImplementation.java:62)
   at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.<init>(SimplePathResourceImplementation.java:105)
   at org.netbeans.spi.java.classpath.support.ClassPathSupport.createResource(ClassPathSupport.java:75)
   at org.netbeans.spi.java.project.classpath.support.ProjectClassPathImplementation.getPath(ProjectClassPathImplementation.java:145)
   at org.netbeans.spi.java.project.classpath.support.ProjectClassPathImplementation.run(ProjectClassPathImplementation.java:122)
Comment 1 feor58 2010-05-16 07:25:42 UTC
Created attachment 99051 [details]
stacktrace
Comment 2 Tomas Zezula 2010-05-18 11:56:00 UTC
Added more debug to verify that there is a race in FU.urlForArchiveOrDir().
jet-main 6e0b6eec491d
Comment 3 Tomas Zezula 2011-04-01 12:56:07 UTC
*** Bug 197293 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Zezula 2011-04-01 13:59:01 UTC
More logging
Comment 5 Tomas Zezula 2011-04-01 13:59:19 UTC
http://hg.netbeans.org/jet-main/rev/fddd5cfa97d2
Comment 6 Quality Engineering 2011-04-02 08:47:50 UTC
Integrated into 'main-golden', will be available in build *201104020400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fddd5cfa97d2
User: Tomas Zezula <tzezula@netbeans.org>
Log: #186213:IllegalArgumentException: file:/home/feor58/lib/gwt-servlet.jar/ is not a valid classpath entry; use a jar-protocol URL - logging