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 106935 - NB6 Exception while profiling with "Profile All classes" option
Summary: NB6 Exception while profiling with "Profile All classes" option
Status: VERIFIED DUPLICATE of bug 108404
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-17 15:03 UTC by mdakin
Modified: 2007-09-28 09:11 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 mdakin 2007-06-17 15:03:32 UTC
I got the folowing exception while profiling an application. "Profile all classes" option is selected. After this I
cannot profile again, continously getting same exception. An IllegalThreadState exception is also thrown before this
exception. I have atached It's trace below the FileNotFoundException:

Product Version: NetBeans IDE Dev (Build 200706170000) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Linux
version 2.6.18.8-83 running on i386; UTF-8; tr_TR (nb) Userdir: /home/mdakin/.netbeans/dev

java.io.FileNotFoundException: /home/mdakin/workspace/javastruct/junitvmwatcher531876914.properties (No such file or
directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileReader.<init>(FileReader.java:55)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitTask.java:1028)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:817)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1657)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:764)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:256)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:438)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:129)
Test struct.Profile FAILED (crashed)

java.lang.IllegalThreadStateException
	at java.lang.ThreadGroup.addUnstarted(ThreadGroup.java:832)
	at java.lang.Thread.init(Thread.java:344)
	at java.lang.Thread.<init>(Thread.java:565)
	at java.util.concurrent.Executors$DefaultThreadFactory.newThread(Executors.java:542)
	at java.util.concurrent.ThreadPoolExecutor.addThread(ThreadPoolExecutor.java:672)
	at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:721)
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78)
	at com.sun.tools.profiler.ui.SwingWorker$2.run(SwingWorker.java:76)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 J Bachorik 2007-07-03 13:27:47 UTC
what kind of project do you profile? how exactly do you start profiling?
the best would be to attach messages.log of your session to this issue
Comment 2 mdakin 2007-07-07 09:32:56 UTC
I could not reproduce this error on NB6 M10.
Comment 3 Tomas Hurka 2007-08-09 10:20:44 UTC

*** This issue has been marked as a duplicate of 108404 ***
Comment 4 Alexander Kouznetsov 2007-09-28 09:11:18 UTC
Verified duplicate