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 210108 - StringIndexOutOfBoundsException: String index out of range: 1
Summary: StringIndexOutOfBoundsException: String index out of range: 1
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
: 251649 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-26 13:44 UTC by Petr Cyhelsky
Modified: 2015-04-04 15:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186283


Attachments
stacktrace (1.27 KB, text/plain)
2012-03-26 13:44 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-03-26 13:44:14 UTC
Build: NetBeans IDE Dev (Build 201203250401)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Linux

Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
   at java.lang.String.charAt(String.java:695)
   at org.netbeans.lib.profiler.utils.formatting.PlainFormattableMethodName.<init>(PlainFormattableMethodName.java:233)
   at org.netbeans.lib.profiler.utils.formatting.DefaultMethodNameFormatter.formatMethodName(DefaultMethodNameFormatter.java:88)
   at org.netbeans.lib.profiler.results.cpu.CPUSamplingDataFrameProcessor.processCollectedDumps(CPUSamplingDataFrameProcessor.java:240)
   at org.netbeans.lib.profiler.results.cpu.CPUSamplingDataFrameProcessor.doProcessDataFrame(CPUSamplingDataFrameProcessor.java:185)
   at org.netbeans.lib.profiler.results.AbstractDataFrameProcessor.processDataFrame(AbstractDataFrameProcessor.java:92)
Comment 1 Petr Cyhelsky 2012-03-26 13:44:17 UTC
Created attachment 117251 [details]
stacktrace
Comment 2 Petr Cyhelsky 2012-03-26 13:46:09 UTC
CPU sampling of NB platform app -> take snapshot -> stop app
Comment 3 J Bachorik 2012-03-30 15:12:54 UTC
fixed http://hg.netbeans.org/profiler-main/rev/60a258f321a6
Comment 4 Quality Engineering 2012-04-03 11:11:55 UTC
Integrated into 'main-golden', will be available in build *201204030400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/60a258f321a6
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #210108: Putting defensive try/catch in case of a mangled method signature; the offending signature is logged
Comment 5 Tomas Hurka 2015-04-04 15:04:51 UTC
*** Bug 251649 has been marked as a duplicate of this bug. ***