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 69749 - IllegalStateException after killing Profiler agent from Task Manager on Windows
Summary: IllegalStateException after killing Profiler agent from Task Manager on Windows
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-02 12:26 UTC by Jiri Sedlacek
Modified: 2011-11-02 20:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2005-12-02 12:26:36 UTC
Profiler Milestone 11: After experiencing deadlock described in Issue 61878, 
the only way how to get from this state is to kill Profiler agent process from 
Task Manager on Windows. After doing it, this exception is always thrown:

java.lang.IllegalStateException: zip file closed
	at java.util.zip.ZipFile.ensureOpen(ZipFile.java:518)
	at java.util.zip.ZipFile.getEntry(ZipFile.java:251)
	at com.sun.tools.profiler.classfile.ClassFileCache.readClassFile
(ClassFileCache.java:161)
	at com.sun.tools.profiler.classfile.ClassFileCache.readAndPut
(ClassFileCache.java:132)
	at com.sun.tools.profiler.classfile.ClassFileCache.getClassFile
(ClassFileCache.java:74)
	at com.sun.tools.profiler.classfile.DynamicClassInfo.getClassFileBytes
(DynamicClassInfo.java:136)
	at com.sun.tools.profiler.classfile.DynamicClassInfo.<init>
(DynamicClassInfo.java:50)
	at com.sun.tools.profiler.classfile.ClassPath.getClassInfoForClass
(ClassPath.java:68)
	at com.sun.tools.profiler.classfile.ClassRepository.tryLoadRealClass
(ClassRepository.java:189)
	at com.sun.tools.profiler.classfile.ClassRepository.lookupClass
(ClassRepository.java:168)
	at com.sun.tools.profiler.classfile.ClassRepository.lookupClass
(ClassRepository.java:115)
	at com.sun.tools.profiler.instrumentation.ClassManager.javaClassForName
(ClassManager.java:43)
	at com.sun.tools.profiler.instrumentation.ClassManager.javaClassForName
(ClassManager.java:57)
	at 
com.sun.tools.profiler.instrumentation.RecursiveMethodInstrumentor.addToSubclass
List(RecursiveMethodInstrumentor.java:100)
	at 
com.sun.tools.profiler.instrumentation.RecursiveMethodInstrumentor1.preGetInitia
lMethodsToInstrument(RecursiveMethodInstrumentor1.java:168)
	at 
com.sun.tools.profiler.instrumentation.RecursiveMethodInstrumentor1.getInitialMe
thodsToInstrument(RecursiveMethodInstrumentor1.java:38)
	at 
com.sun.tools.profiler.instrumentation.Instrumentor.createInitialInstrumentMetho
dGroupResponseForCallGraph(Instrumentor.java:404)
	at 
com.sun.tools.profiler.instrumentation.Instrumentor.createInitialInstrumentMetho
dGroupResponse(Instrumentor.java:67)
	at com.sun.tools.profiler.ProfilerClient.instrumentMethodGroupFromRoot
(ProfilerClient.java:858)
	at com.sun.tools.profiler.ProfilerClient.access$2700
(ProfilerClient.java:46)
[catch] at com.sun.tools.profiler.ProfilerClient$SeparateCmdExecutionThread.run
(ProfilerClient.java:1569)
Comment 1 iformanek 2005-12-07 19:22:12 UTC
Will not address in 1.0
Comment 2 Tomas Hurka 2009-04-08 12:50:48 UTC
Milestone cleanup: future->next