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 174366 - java.io.IOException in org.netbeans.JarClassLoader$JarSource.callGet
Summary: java.io.IOException in org.netbeans.JarClassLoader$JarSource.callGet
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Nejedly
URL: http://statistics.netbeans.org/except...
Keywords: REGRESSION
: 174003 174004 174080 174189 174208 174216 174238 174267 174304 174352 174370 174383 174429 174449 174457 174512 174533 174534 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-12 15:56 UTC by Jiri Sedlacek
Modified: 2009-10-20 08:00 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159738


Attachments
stacktrace (1.54 KB, text/plain)
2009-10-13 00:45 UTC, David Konecny
Details
stacktrace (5.46 KB, text/plain)
2009-10-13 07:43 UTC, pribyl
Details
stacktrace (2.00 KB, text/plain)
2009-10-13 12:55 UTC, stefan79
Details
stacktrace (1.47 KB, text/plain)
2009-10-13 22:52 UTC, Marian Mirilovic
Details
stacktrace (1.47 KB, text/plain)
2009-10-13 22:53 UTC, Marian Mirilovic
Details
stacktrace (1.47 KB, text/plain)
2009-10-13 22:54 UTC, Marian Mirilovic
Details
stacktrace (1.54 KB, text/plain)
2009-10-14 12:45 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2009-10-12 15:56:12 UTC
The %subject% causes a huge amount of exception reports and issues being reported for the profiler. See the duplicates
for details.

Looks like a recent regression. Please fix it asap.
Comment 1 Jiri Sedlacek 2009-10-12 15:56:40 UTC
*** Issue 174003 has been marked as a duplicate of this issue. ***
Comment 2 Jiri Sedlacek 2009-10-12 15:56:49 UTC
*** Issue 174004 has been marked as a duplicate of this issue. ***
Comment 3 Jiri Sedlacek 2009-10-12 15:56:53 UTC
*** Issue 174080 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Sedlacek 2009-10-12 15:56:56 UTC
*** Issue 174189 has been marked as a duplicate of this issue. ***
Comment 5 Jiri Sedlacek 2009-10-12 15:56:58 UTC
*** Issue 174238 has been marked as a duplicate of this issue. ***
Comment 6 Jiri Sedlacek 2009-10-12 15:57:01 UTC
*** Issue 174267 has been marked as a duplicate of this issue. ***
Comment 7 Jiri Sedlacek 2009-10-12 15:57:04 UTC
*** Issue 174283 has been marked as a duplicate of this issue. ***
Comment 8 Jiri Sedlacek 2009-10-12 15:57:07 UTC
*** Issue 174304 has been marked as a duplicate of this issue. ***
Comment 9 Jesse Glick 2009-10-12 16:09:33 UTC
Looks familiar, maybe already filed & fixed in another issue?

java.lang.InterruptedException
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1215)
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:218)
	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
	at org.netbeans.JarClassLoader$JarSource.callGet(JarClassLoader.java:589)
Caused: java.io.IOException
	at org.netbeans.JarClassLoader$JarSource.callGet(JarClassLoader.java:591)
	at org.netbeans.JarClassLoader$JarSource.getJarFile(JarClassLoader.java:447)
	at org.netbeans.JarClassLoader$JarSource.resource(JarClassLoader.java:479)
	at org.netbeans.Archive.getData(Archive.java:196)
	at org.netbeans.JarClassLoader$JarSource.readClass(JarClassLoader.java:470)
	at org.netbeans.JarClassLoader$Source.getClassData(JarClassLoader.java:320)
	at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:207)
	at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:297)
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224)
Comment 10 Jiri Sedlacek 2009-10-12 16:21:52 UTC
*** Issue 174370 has been marked as a duplicate of this issue. ***
Comment 11 Exceptions Reporter 2009-10-12 16:26:00 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=159803
Comment 12 David Konecny 2009-10-13 00:45:05 UTC
Build: NetBeans IDE Dev (Build 091012)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.24-24-generic, i386

User Comments: 
I used to get this exception one in a while during startup but recently sometimes I have to kill the IDE to get rid of it as it's keep comming back again and again and prevent me from using IDE.

Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/modules/profiler/actions/SelfSamplerAction$Singleton
        at org.netbeans.modules.profiler.actions.SelfSamplerAction.getInstance(SelfSamplerAction.java:111)
        at sun.reflect.GeneratedMethodAccessor30.invoke(GeneratedMethodAccessor30.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.core.startup.layers.BinaryFS$AttrImpl$MethodAndParams.invoke(BinaryFS.java:603)
        at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:536)
Comment 13 David Konecny 2009-10-13 00:45:09 UTC
Created attachment 89338 [details]
stacktrace
Comment 14 pribyl 2009-10-13 07:43:15 UTC
Build: NetBeans IDE Dev (Build 200910100201)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments: 
I just run IDE form with clean userdir and tried to create new project

Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/lib/profiler/results/cpu/InstrTimingData
        at org.netbeans.lib.profiler.results.cpu.TimingAdjusterOld.getDefault(TimingAdjusterOld.java:73)
        at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder.<init>(CPUCallGraphBuilder.java:126)
        at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder$2.<init>(StackTraceSnapshotBuilder.java:224)
        at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.<init>(StackTraceSnapshotBuilder.java:224)
        at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.<init>(StackTraceSnapshotBuilder.java:259)
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.getBuilder(SelfSamplerAction.java:201)
Comment 15 pribyl 2009-10-13 07:43:20 UTC
Created attachment 89352 [details]
stacktrace
Comment 16 Tomas Hurka 2009-10-13 08:15:12 UTC
*** Issue 174383 has been marked as a duplicate of this issue. ***
Comment 17 Petr Nejedly 2009-10-13 09:45:52 UTC
So all the recent NCDFErrors are related to the fact that the class loading is now interruptible and we use thread
interruption a lot it seems. I'll have to deal with it in the class loaders.
If I were ugly, I would just pass the InterruptedException along so the one that interrupted eats its own dog food, but
that won't help with this issue, I suppose.
So I'll retry the load instead, ignoring the interrupt request.
Comment 18 stefan79 2009-10-13 12:55:18 UTC
Build: NetBeans IDE Dev (Build 200910100201)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments: 
Downloaded latest build, cleared my cache and started NB.
Then the Exception occured.

Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/lib/profiler/results/cpu/InstrTimingData
        at org.netbeans.lib.profiler.results.cpu.TimingAdjusterOld.getDefault(TimingAdjusterOld.java:73)
        at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder.<init>(CPUCallGraphBuilder.java:126)
        at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder$2.<init>(StackTraceSnapshotBuilder.java:224)
        at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.<init>(StackTraceSnapshotBuilder.java:224)
        at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.<init>(StackTraceSnapshotBuilder.java:259)
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.getBuilder(SelfSamplerAction.java:201)
Comment 19 stefan79 2009-10-13 12:55:23 UTC
Created attachment 89365 [details]
stacktrace
Comment 20 Jiri Sedlacek 2009-10-13 15:50:57 UTC
*** Issue 174449 has been marked as a duplicate of this issue. ***
Comment 21 Petr Nejedly 2009-10-13 16:57:44 UTC
Fixed by ignoring/retrying in case of InterruptedException.

http://hg.netbeans.org/main/rev/8bc671042c2a
Comment 22 Marian Mirilovic 2009-10-13 22:52:02 UTC
Build: NetBeans IDE Dev (Build 200910100201)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, amd64

User Comments: 


Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/lib/profiler/results/cpu/StackTraceSnapshotBuilder
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.getBuilder(SelfSamplerAction.java:201)
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.run(SelfSamplerAction.java:223)
        at org.netbeans.core.TimableEventQueue.run(TimableEventQueue.java:179)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
Comment 23 Marian Mirilovic 2009-10-13 22:52:07 UTC
Created attachment 89398 [details]
stacktrace
Comment 24 Marian Mirilovic 2009-10-13 22:53:02 UTC
Build: NetBeans IDE Dev (Build 200910100201)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, amd64

User Comments: 


Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/lib/profiler/results/cpu/StackTraceSnapshotBuilder
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.getBuilder(SelfSamplerAction.java:201)
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.run(SelfSamplerAction.java:223)
        at org.netbeans.core.TimableEventQueue.run(TimableEventQueue.java:179)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
Comment 25 Marian Mirilovic 2009-10-13 22:53:06 UTC
Created attachment 89399 [details]
stacktrace
Comment 26 Marian Mirilovic 2009-10-13 22:54:03 UTC
Build: NetBeans IDE Dev (Build 200910100201)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, amd64

User Comments: 


Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/lib/profiler/results/cpu/StackTraceSnapshotBuilder
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.getBuilder(SelfSamplerAction.java:201)
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.run(SelfSamplerAction.java:223)
        at org.netbeans.core.TimableEventQueue.run(TimableEventQueue.java:179)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
Comment 27 Marian Mirilovic 2009-10-13 22:54:07 UTC
Created attachment 89400 [details]
stacktrace
Comment 28 Jan Lahoda 2009-10-14 12:45:27 UTC
Build: NetBeans IDE Dev (Build jet-main-1369-on-091010)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.28-11-generic, i386

User Comments: 


Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/modules/profiler/actions/SelfSamplerAction$Singleton
        at org.netbeans.modules.profiler.actions.SelfSamplerAction.getInstance(SelfSamplerAction.java:111)
        at sun.reflect.GeneratedMethodAccessor80.invoke(GeneratedMethodAccessor80.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.core.startup.layers.BinaryFS$AttrImpl$MethodAndParams.invoke(BinaryFS.java:603)
        at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:536)
Comment 29 Jan Lahoda 2009-10-14 12:45:31 UTC
Created attachment 89432 [details]
stacktrace
Comment 30 Jiri Sedlacek 2009-10-14 13:20:31 UTC
*** Issue 174534 has been marked as a duplicate of this issue. ***
Comment 31 Petr Nejedly 2009-10-14 16:59:35 UTC
*** Issue 174512 has been marked as a duplicate of this issue. ***
Comment 32 Petr Nejedly 2009-10-14 16:59:47 UTC
*** Issue 174533 has been marked as a duplicate of this issue. ***
Comment 33 Petr Nejedly 2009-10-14 17:00:20 UTC
*** Issue 174352 has been marked as a duplicate of this issue. ***
Comment 34 Petr Nejedly 2009-10-14 17:05:29 UTC
*** Issue 174429 has been marked as a duplicate of this issue. ***
Comment 35 Petr Nejedly 2009-10-14 17:07:43 UTC
*** Issue 174208 has been marked as a duplicate of this issue. ***
Comment 36 Petr Nejedly 2009-10-14 17:08:04 UTC
*** Issue 174216 has been marked as a duplicate of this issue. ***
Comment 37 Petr Nejedly 2009-10-14 17:08:17 UTC
*** Issue 174457 has been marked as a duplicate of this issue. ***