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 200331 - Errors on startup after Activating Java, Web, etc, because Jars are not found
Summary: Errors on startup after Activating Java, Web, etc, because Jars are not found
Status: RESOLVED INCOMPLETE
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 7.1
Hardware: PC Other
: P4 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-23 22:25 UTC by charlweed
Modified: 2011-12-05 12:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log showing exceptions (558.68 KB, text/plain)
2011-07-23 22:25 UTC, charlweed
Details
First log with exceptions (940.75 KB, application/octet-stream)
2011-07-23 22:26 UTC, charlweed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charlweed 2011-07-23 22:25:00 UTC
Created attachment 109587 [details]
Log showing exceptions

The log fills with errors with this pattern:
INFO [org.netbeans.JarClassLoader]: closing jar:file:/Q:/projects/3rdparty/netbeans/main/nbbuild/netbeans/enterprise/modules/ext/rest/oauth-signature-1.3.jar!/
java.io.FileNotFoundException: Q:\projects\3rdparty\netbeans\main\nbbuild\netbeans\enterprise\modules\ext\rest\oauth-signature-1.3.jar (The system cannot find the file specified)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:135)
        at java.util.jar.JarFile.<init>(JarFile.java:114)
[catch] at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:487)
        at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:480)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at org.netbeans.JarClassLoader$JarSource.getJarFile(JarClassLoader.java:510)
        at org.netbeans.JarClassLoader$JarSource.listCoveredPackages(JarClassLoader.java:580)
        at org.netbeans.JarClassLoader.getCoveredPackages(JarClassLoader.java:861)
        at org.netbeans.JarClassLoader.<init>(JarClassLoader.java:160)
        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:911)
        at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.enable(OperationSupportImpl.java:186)
        at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.access$1200(OperationSupportImpl.java:129)
        at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable$1.run(OperationSupportImpl.java:160)
        at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable$1.run(OperationSupportImpl.java:158)
        at org.openide.util.Mutex.writeAccess(Mutex.java:436)
        at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.doOperation(OperationSupportImpl.java:158)
        at org.netbeans.api.autoupdate.OperationSupport.doOperation(OperationSupport.java:70)
        at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep.handleAction(UninstallStep.java:195)
        at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep.doAction(UninstallStep.java:155)
        at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep.access$000(UninstallStep.java:70)
        at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep$1.propertyChange(UninstallStep.java:129)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
        at java.awt.Component.firePropertyChange(Component.java:8154)
        at org.netbeans.modules.autoupdate.ui.wizards.OperationPanel.access$000(OperationPanel.java:67)
        at org.netbeans.modules.autoupdate.ui.wizards.OperationPanel$1.run(OperationPanel.java:88)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
INFO [org.netbeans.JarClassLoader]: closing jar:file:/Q:/projects/3rdparty/netbeans/main/nbbuild/netbeans/enterprise/modules/ext/rest/oauth-signature-1.3.jar!/
Comment 1 charlweed 2011-07-23 22:26:17 UTC
Created attachment 109588 [details]
First log with exceptions
Comment 2 Jaroslav Tulach 2011-07-24 10:30:33 UTC
The log says:

 Q:\projects\3rdparty\netbeans\main\nbbuild\netbeans\enterprise\modules\ext\rest\jersey-multipart-1.3.jar (The system cannot find the file specified)

what can you say about existance of that file?
Comment 3 charlweed 2011-07-25 15:12:45 UTC
(In reply to comment #2)
> The log says:
> 
> 
> Q:\projects\3rdparty\netbeans\main\nbbuild\netbeans\enterprise\modules\ext\rest\jersey-multipart-1.3.jar
> (The system cannot find the file specified)
> 
> what can you say about existance of that file?

That dir contains a file with a different version:
jersey-multipart-1.8.jar
NOT
jersey-multipart-1.3.jar

Here is the listing:
Q:\projects\3rdparty\netbeans>dir main\nbbuild\netbeans\enterprise\modules\ext\rest
 Volume in drive Q is Workshop
 Volume Serial Number is 803B-1AFE

 Directory of Q:\projects\3rdparty\netbeans\main\nbbuild\netbeans\enterprise\modules\ext\rest

07/23/2011  02:49 PM    <DIR>          .
07/23/2011  02:49 PM    <DIR>          ..
07/23/2011  02:49 PM            43,033 asm-3.1.jar
07/23/2011  02:49 PM           207,271 jackson-core-asl-1.7.1.jar
07/23/2011  02:49 PM            17,820 jackson-jaxrs-1.7.1.jar
07/23/2011  02:49 PM           622,174 jackson-mapper-asl-1.7.1.jar
07/23/2011  02:49 PM            31,723 jackson-xc-1.7.1.jar
07/23/2011  02:49 PM            21,268 jersey-apache-client-1.8.jar
07/23/2011  02:49 PM            18,809 jersey-atom-abdera-1.8.jar
07/23/2011  02:49 PM           129,217 jersey-client-1.8.jar
07/23/2011  02:49 PM           458,233 jersey-core-1.8.jar
07/23/2011  02:49 PM            14,712 jersey-guice-1.8.jar
07/23/2011  02:49 PM           147,933 jersey-json-1.8.jar
07/23/2011  02:49 PM            50,001 jersey-multipart-1.8.jar
07/23/2011  02:49 PM           694,352 jersey-server-1.8.jar
07/23/2011  02:49 PM            10,955 jersey-simple-server-1.8.jar
07/23/2011  02:49 PM            17,237 jersey-spring-1.8.jar
07/23/2011  02:49 PM            67,758 jettison-1.1.jar
07/23/2011  02:49 PM            46,367 jsr311-api-1.1.1.jar
07/23/2011  02:49 PM            14,815 oauth-client-1.8.jar
07/23/2011  02:49 PM            30,500 oauth-server-1.8.jar
07/23/2011  02:49 PM            22,236 oauth-signature-1.8.jar
              20 File(s)      2,666,414 bytes
               2 Dir(s)  371,547,840,512 bytes free
Comment 4 Jaroslav Tulach 2011-08-16 12:55:14 UTC
So the question is how different version of the file could appear there? And why the system has not noticed.

I can see that you are building NetBeans by yourself? That probably lowers priority of the issue. Still it should work.

What will happen if you use new, empty userdir?
Comment 5 Jaroslav Tulach 2011-12-05 12:39:51 UTC
No answer for four months.