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 211645 - Apparently NetBeans cannot find the Wrapped Library in one of the modules - (The system cannot find the path specified)
Summary: Apparently NetBeans cannot find the Wrapped Library in one of the modules - (...
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 7.1.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 211648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-24 14:09 UTC by IGweJK
Modified: 2012-04-26 22:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log (33.80 KB, application/octet-stream)
2012-04-24 14:09 UTC, IGweJK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description IGweJK 2012-04-24 14:09:47 UTC
Created attachment 118690 [details]
Log

It builds without any problems. But the following error occurs during run:
   .
   . please find log and screenshots attached
   .
java.io.FileNotFoundException: C:\Users\IGwe\Documents\NetBeansProjects\Student Registration App\build\cluster\modules\ext\org.eclipse.persistence.jpa.jpql_1.0.0.jar (The system cannot find the path specified)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:214)
	at java.util.zip.ZipFile.<init>(ZipFile.java:144)
	at java.util.jar.JarFile.<init>(JarFile.java:152)
	at java.util.jar.JarFile.<init>(JarFile.java:131)
	at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:499)
	at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:492)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at org.netbeans.JarClassLoader$JarSource.getJarFile(JarClassLoader.java:522)
	at org.netbeans.JarClassLoader$JarSource.listCoveredPackages(JarClassLoader.java:592)
	at org.netbeans.JarClassLoader.getCoveredPackages(JarClassLoader.java:875)
	at org.netbeans.JarClassLoader.<init>(JarClassLoader.java:163)
	at org.netbeans.StandardModule$OneModuleClassLoader.<init>(StandardModule.java:691)
	at org.netbeans.StandardModule.createNewClassLoader(StandardModule.java:632)
	at org.netbeans.StandardModule.classLoaderUp(StandardModule.java:621)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:962)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:294)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:172)
	at org.netbeans.core.startup.Main.start(Main.java:308)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
[catch] at java.lang.Thread.run(Thread.java:722)
Comment 1 IGweJK 2012-04-24 17:01:14 UTC
I was working with EclipseLink in a CRUD application. First I had created a db and tables, then generated the entity classes from the db, built the classes and created a library wrapper module from the copy of persistence APIs in the 'dist' directory of the build output.

However when I run, it gives that error... I'd be happy to get any help, cos I'd like to finish my project soonest, but I've been stuck at this point for more than 3 days already!
Comment 2 Jaroslav Tulach 2012-04-25 09:34:39 UTC
Autoupdate problem (duplicate of the issue that introduces better logging) or packaging problem of owner of org.eclipse.persistence.jpa.jpql_1.0.0.jar
Comment 3 Jiri Rechtacek 2012-04-25 09:44:31 UTC
(In reply to comment #2)
> Autoupdate problem (duplicate of the issue that introduces better logging) or
> packaging problem of owner of org.eclipse.persistence.jpa.jpql_1.0.0.jar

Autoupdate problem? IGweJK@netbeans.org, did you update any plugins or IDE? 

Are you able to reproduce the problem again with fresh installation of NetBeans 7.1.2 (http://bits.netbeans.org/download/7.1.2/fcs/)?

Thanks
Comment 4 Antonin Nebuzelsky 2012-04-25 10:32:08 UTC
*** Bug 211648 has been marked as a duplicate of this bug. ***
Comment 5 IGweJK 2012-04-25 19:18:29 UTC
@Jiri, I usually apply IDE/plugin update from time to time, when they are available. I'm about to try on a fresh install of NB now... thanks
Comment 6 Jiri Rechtacek 2012-04-26 06:47:21 UTC
Waiting for reporter's response.
Comment 7 IGweJK 2012-04-26 22:02:24 UTC
Hello Jiri, thanks for your kind assistance...

Following your suggestion to test the project with a fresh install of NetBeans 7.2.1, I've been able to get the result I desire.

What I did exactly was this: I started the project completely afresh on NetBeans 7.2.1, and implemented my design with extra caution; performing a regular test as the project develops incrementally.

However, I cannot yet state conclusively that using NB 7.2.1 was the solution. I will migrate the new project to old NB 7.1.1, if I get an error, then we can say the bug was introduced by the development environment, else it must be my own flaw (probably not cos part of error was not finding annotation processor even though a processor was provided!).

I will report the result of the test when I do it.

Thanks

IGwe J. K.