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 139745 - IllegalArgumentException at org.netbeans.api.java.source.JavaSource.create
Summary: IllegalArgumentException at org.netbeans.api.java.source.JavaSource.create
Status: RESOLVED DUPLICATE of bug 139726
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-11 15:34 UTC by _ moser
Modified: 2008-07-15 14:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 75150


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ moser 2008-07-11 15:34:10 UTC
Build: NetBeans IDE Dev (Build 200807040005)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86
User comments: wanted to modify profiling
STACKTRACE: (first 10 lines)
java.lang.IllegalArgumentException
        at org.netbeans.api.java.source.JavaSource.create(JavaSource.java:377)
        at
org.netbeans.modules.profiler.AbstractProjectTypeProfiler.addInterfaceMarkers(AbstractProjectTypeProfiler.java:245)
        at
org.netbeans.modules.profiler.nbmodule.NbModuleProjectTypeProfiler.setupMarks(NbModuleProjectTypeProfiler.java:286)
        at
org.netbeans.modules.profiler.nbmodule.NbModuleProjectTypeProfiler.getMethodMarker(NbModuleProjectTypeProfiler.java:117)
        at org.netbeans.modules.profiler.NetBeansProfiler.setupDispatcher(NetBeansProfiler.java:2109)
        at org.netbeans.modules.profiler.NetBeansProfiler.prepareInstrumentation(NetBeansProfiler.java:1634)
        at org.netbeans.modules.profiler.NetBeansProfiler$4.run(NetBeansProfiler.java:1347)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 _ moser 2008-07-11 15:36:08 UTC
This only happens when using suite-chaining and profiling a subsuite. Profiling the base suite with the same moddule set
and branding works fine
Comment 2 Jiri Sedlacek 2008-07-11 15:54:33 UTC
Could you please attach the IDE logfile? Also, please describe in more details the steps which lead to the failure - how
did you setup that chained suites?

Thanks for cooperation.
Comment 3 J Bachorik 2008-07-15 14:25:58 UTC
The cause is a duplicate of #139726

*** This issue has been marked as a duplicate of 139726 ***