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 163816

Summary: NoClassDefFoundError: Could not initialize class org.netbeans.lib.profiler.utils.StringUtils
Product: profiler Reporter: Ivan Sidorkin <ivansidorkin>
Component: BaseAssignee: issues@profiler <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker CC: jf4jbug, mvanek
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=150170
Issue Type: DEFECT Exception Reporter: 150170
Attachments: stacktrace

Description Ivan Sidorkin 2009-04-27 20:35:54 UTC
Build: NetBeans IDE Dev (Build 200904240201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments:
ivansidorkin: tried to profile AnagramGame



Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.lib.profiler.utils.StringUtils
        at org.netbeans.lib.profiler.classfile.ClassFileParser.classNameAtCPIndex(ClassFileParser.java:166)
        at org.netbeans.lib.profiler.classfile.ClassFileParser.readConstantPool(ClassFileParser.java:361)
        at org.netbeans.lib.profiler.classfile.ClassFileParser.parseClassFile(ClassFileParser.java:108)
        at org.netbeans.lib.profiler.classfile.DynamicClassInfo.<init>(DynamicClassInfo.java:97)
        at org.netbeans.lib.profiler.classfile.ClassPath.getClassInfoForClass(ClassPath.java:232)
        at org.netbeans.lib.profiler.classfile.ClassRepository.tryLoadRealClass(ClassRepository.java:727)
Comment 1 Ivan Sidorkin 2009-04-27 20:36:00 UTC
Created attachment 81010 [details]
stacktrace
Comment 2 Petr Cyhelsky 2009-04-28 06:33:32 UTC
Which locale were you using? Also please elaborate on steps to reproduce.
Comment 3 Ivan Sidorkin 2009-04-28 06:46:10 UTC
according to messages.log :  System Locale; Encoding = ja_JP (nb); MS932
Michal Vanek can provide more info about configuration (he provided VBox image)

I just tried to start profiling of java application
Comment 4 Petr Cyhelsky 2009-04-28 07:47:28 UTC
same problem as in Issue #163808 "��AAA�n" string is added to te beginnings of strings

*** This issue has been marked as a duplicate of 163808 ***
Comment 5 mvanek 2009-04-28 09:04:25 UTC
Masaki, can you look at this in pseudo-locale bundle for profiler?
thanks
Comment 6 Ivan Sidorkin 2009-07-09 15:51:48 UTC
verified