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 196265 - java.lang.IllegalArgumentException: Unterminated quote
Summary: java.lang.IllegalArgumentException: Unterminated quote
Status: RESOLVED FIXED
Alias: None
Product: nblocalization
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: issues@nblocalization
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 21:57 UTC by Alexander Simon
Modified: 2011-03-07 00:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177235


Attachments
stacktrace (1.72 KB, text/plain)
2011-03-03 21:57 UTC, Alexander Simon
Details
stacktrace (2.98 KB, text/plain)
2011-03-06 08:28 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2011-03-03 21:57:52 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
alexvsimon: open npss file




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.lib.profiler.utils.StringUtils
   at org.netbeans.modules.profiler.SnapshotInfoPanel.updateInfo(SnapshotInfoPanel.java:207)
   at org.netbeans.modules.profiler.SnapshotInfoPanel.<init>(SnapshotInfoPanel.java:182)
   at org.netbeans.modules.profiler.CPUSnapshotPanel.<init>(CPUSnapshotPanel.java:372)
   at org.netbeans.modules.profiler.SnapshotResultsWindow.displayCPUResults(SnapshotResultsWindow.java:341)
   at org.netbeans.modules.profiler.SnapshotResultsWindow.<init>(SnapshotResultsWindow.java:177)
   at org.netbeans.modules.profiler.snaptracer.impl.TracerView$8.run(TracerView.java:344)
Comment 1 Alexander Simon 2011-03-03 21:57:56 UTC
Created attachment 106678 [details]
stacktrace
Comment 2 Alexander Simon 2011-03-03 22:09:27 UTC
P2 because cannot open hotspot in .npss file.
Comment 3 Tomas Hurka 2011-03-04 12:15:53 UTC
The real problem is this one:
java.lang.IllegalArgumentException: Unterminated quote
	at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:783)
	at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:576)
	at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:501)
	at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:476)
	at org.netbeans.lib.profiler.utils.StringUtils.<clinit>(StringUtils.java:83)

and is caused by incorrect Russian localization of StringUtils_YesterdayFormat. Use English locale an a workaround.
Comment 4 Alexander Simon 2011-03-06 08:28:23 UTC
Created attachment 106759 [details]
stacktrace

open npss
Comment 5 Masaki Katakai 2011-03-07 00:29:28 UTC
Thank you very much Alexander and  Tomas!

I have integrate the fix.

http://hg.netbeans.org/releases/l10n/rev/da9e5be64016