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 150616 - [65cat] IllegalArgumentException at org.netbeans.api.java.source.JavaSource.create
Summary: [65cat] IllegalArgumentException at org.netbeans.api.java.source.JavaSource.c...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Cyhelsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-18 18:52 UTC by sunbiz
Modified: 2009-02-19 22:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 130166


Attachments
stacktrace (946 bytes, text/plain)
2008-10-18 18:52 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-10-18 18:52:04 UTC
Build: NetBeans IDE Dev (Build 200810171401)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

User Comments:
sunbiz: Chnaging profiling parameters... when a project was being profiled



Stacktrace: 
java.lang.IllegalArgumentException
        at org.netbeans.api.java.source.JavaSource.create(JavaSource.java:381)
        at org.netbeans.modules.profiler.categories.MarkerProcessor.<init>(MarkerProcessor.java:97)
        at org.netbeans.modules.profiler.categories.Categorization.getMappings(Categorization.java:148)
        at org.netbeans.modules.profiler.ui.stp.SelectProfilingTask.configureMarkerEngine(SelectProfilingTask.java:600)
        at org.netbeans.modules.profiler.ui.stp.SelectProfilingTask.createFinalSettings(SelectProfilingTask.java:577)
        at org.netbeans.modules.profiler.ui.stp.SelectProfilingTask.selectModifyProfilingTask(SelectProfilingTask.java:361)
Comment 1 sunbiz 2008-10-18 18:52:09 UTC
Created attachment 72185 [details]
stacktrace
Comment 2 Petr Cyhelsky 2008-11-11 10:11:35 UTC
This is very similar to Issue #150617 (though not exact duplicate)
Steps to reproduce:
Start profiling -> rename the profiled project(while the profiling is still running) -> Press the modify profiling
sesssion... button -> exception
Comment 3 Petr Cyhelsky 2008-11-12 16:44:42 UTC
fixed

http://hg.netbeans.org/profiler-main/rev/831a6a37db65
Comment 4 Quality Engineering 2008-11-22 04:49:17 UTC
Integrated into 'main-golden', will be available in build *200811220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/831a6a37db65
User: Petr Cyhelsky <cyhelsky@netbeans.org>
Log: Issue #150616 - IllegalArgumentException caused by modify current profiling session action on renamed project
Comment 5 Daria Titova 2008-11-26 12:21:22 UTC
Verified with
Product Version: NetBeans IDE Dev (Build 200811260201)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Windows Vista version 6.0 running on x86, Cp1251; ru_RU (nb)