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 270362 - IllegalArgumentException: jar:file:/../MyLibrary/opencv-248.jar!/ is not a valid classpath entry; it cannot contain current or parent dir reference.
Summary: IllegalArgumentException: jar:file:/../MyLibrary/opencv-248.jar!/ is not a va...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Classpath (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-11 10:28 UTC by Exceptions Reporter
Modified: 2017-04-13 01:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207096


Attachments
stacktrace (3.74 KB, text/plain)
2017-04-11 10:28 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-04-11 10:28:27 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 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b16, Java(TM) SE Runtime Environment, 1.8.0_112-b16
OS: Mac OS X

User Comments:
jag: Every time NB8 starts, it scans closed, broken, projects, and generates errors.  Can this be turned off?

jag: Again!  Complaining about breakage in a project it shouldn't be scanning!  It's old!  Not opened!

jag: Still getting errors scanning in places where it shouldn't be scanning!

GUEST: <Please provide a description of the problem or the steps to reproduce>
unable to open projects




Stacktrace: 
java.lang.IllegalArgumentException: jar:file:/../MyLibrary/opencv-248.jar!/ is not a valid classpath entry; it cannot contain current or parent dir reference.
   at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.verify(SimplePathResourceImplementation.java:122)
   at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.verify(SimplePathResourceImplementation.java:68)
   at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.<init>(SimplePathResourceImplementation.java:133)
   at org.netbeans.spi.java.classpath.support.ClassPathSupport.createResource(ClassPathSupport.java:77)
   at org.netbeans.spi.java.project.classpath.support.ProjectClassPathImplementation.getPath(ProjectClassPathImplementation.java:149)
   at org.netbeans.spi.java.project.classpath.support.ProjectClassPathImplementation.<init>(ProjectClassPathImplementation.java:94)
Comment 1 Exceptions Reporter 2017-04-11 10:28:30 UTC
Created attachment 164079 [details]
stacktrace
Comment 2 Tomas Zezula 2017-04-12 08:46:39 UTC
Fixed jet-main 90e135bd1dd3
Comment 3 Quality Engineering 2017-04-13 01:43:27 UTC
Integrated into 'main-silver', will be available in build *201704130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/90e135bd1dd3
User: Tomas Zezula <tzezula@netbeans.org>
Log: #270362:IllegalArgumentException: jar:file:/../MyLibrary/opencv-248.jar!/ is not a valid classpath entry; it cannot contain current or parent dir reference.