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.
Build: NetBeans IDE Dev (Build 201609050002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14 OS: SunOS User Comments: GUEST: ------------------------------------------------------------------------------- >Log Session: Wednesday, September 7, 2016 1:05:44 PM JST >System Info: Product Version = NetBeans IDE Dev (Build 201609060002) (#e7b5245f4d87) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.8.0_102; Java HotSpot(TM) Client VM 25.102-b14; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0_102-b14 Java Home = D:\jdk\jre System Locale; Encoding = ja_JP (nb); MS932 Home Directory = C:\Users\smt-ct048 Current Directory = D:\NetBeans\bin User Directory = C:\Users\smt-ct048\AppData\Roaming\NetBeans\dev Cache Directory = C:\Users\smt-ct048\AppData\Local\NetBeans\Cache\dev Installation = D:\NetBeans\nb D:\NetBeans\ide D:\NetBeans\extide D:\NetBeans\webcommon GUEST: crashy, crashy soldatov: I launched IDE only GUEST: ------------------------------------------------------------------------------- >Log Session: Wednesday, September 7, 2016 9:43:20 AM JST >System Info: Product Version = NetBeans IDE Dev (Build 201609060002) (#e7b5245f4d87) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.8.0_102; Java HotSpot(TM) Client VM 25.102-b14; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0_102-b14 Java Home = D:\jdk\jre System Locale; Encoding = ja_JP (nb); MS932 Home Directory = C:\Users\smt-ct048 Current Directory = D:\NetBeans\bin User Directory = C:\Users\smt-ct048\AppData\Roaming\NetBeans\dev Cache Directory = C:\Users\smt-ct048\AppData\Local\NetBeans\Cache\dev Installation = D:\NetBeans\nb D:\NetBeans\ide D:\NetBeans\extide D:\NetBeans\webcommon GUEST: crashy, crashy GUEST: Restarted Netbeans with 3 Web projects open GUEST: Fat, drunk, and stupid is no way to go through development. GUEST: Loaded GUEST: ? GUEST: dammit GUEST: ------------------------------------------------------------------------------- >Log Session: Wednesday, September 7, 2016 6:24:11 PM JST >System Info: Product Version = NetBeans IDE Dev (Build 201609060002) (#e7b5245f4d87) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.8.0_102; Java HotSpot(TM) Client VM 25.102-b14; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0_102-b14 Java Home = D:\jdk\jre System Locale; Encoding = ja_JP (nb); MS932 Home Directory = C:\Users\smt-ct048 Current Directory = D:\NetBeans\bin User Directory = C:\Users\smt-ct048\AppData\Roaming\NetBeans\dev Cache Directory = C:\Users\smt-ct048\AppData\Local\NetBeans\Cache\dev Installation = D:\NetBeans\nb D:\NetBeans\ide D:\NetBeans\extide D:\NetBeans\webcommon Stacktrace: java.lang.AssertionError: 5 tokens for org.netbeans.modules.javascript2.react|JavaScript2 JSX | React|0.1|0.2| at org.netbeans.modules.autoupdate.ui.wizards.LazyInstallUnitWizardIterator$LazyUnit.parseLazyUnit(LazyInstallUnitWizardIterator.java:226) at org.netbeans.modules.autoupdate.ui.wizards.LazyInstallUnitWizardIterator$LazyUnit.loadLazyUnits(LazyInstallUnitWizardIterator.java:178) at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$7.run(AutoupdateCheckScheduler.java:480) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
Created attachment 161944 [details] stacktrace
Absolutely stable exception on my Solaris 11.3 machine. I use NetBeans 8.2 (Build 201609050002) and fresh userdir.
I have tried to fix it by this : http://hg.netbeans.org/web-main/rev/02027e127832 Could you try next daily dev build and let me know, whether it helps?
Integrated into 'main-silver', will be available in build *201609100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/02027e127832 User: Petr Pisl <ppisl@netbeans.org> Log: #267923 - AssertionError: 5 tokens for org.netbeans.modules.javascript2.react|JavaScript2 JSX | React|0.1|0.2|
Created attachment 162015 [details] stacktrace started IDE
Created attachment 162034 [details] stacktrace started NB
Created attachment 162241 [details] stacktrace strt IDE
Created attachment 162264 [details] stacktrace start IDE
The problem is in LazyInstallUnitWizardIterator$LazyUnit.parseLazyUnit() where is tokenized string and as delimiter is char '|'. If a code name or display name contains '|' then the parsing is broken. There is the assertion that checks whether after there is just 5 tokens. The workarround for this is simple. Just changing the display name of Javascript 2 JSX module to not contain char '|'. I pushed it to the web-main. http://hg.netbeans.org/web-main/rev/8a84f58d55a0 But the problem is still there. If somebody will use char '|' in module name or display module name, we will have still the same problem => leaving open and assigning back to Libor.
Marking also as patch candidate.
Integrated into 'main-silver', will be available in build *201610040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8a84f58d55a0 User: Petr Pisl <ppisl@netbeans.org> Log: #267923 - AssertionError: 5 tokens for org.netbeans.modules.javascript2.react|JavaScript2 JSX | React|0.1|0.2|
Created attachment 162390 [details] stacktrace start IDE
Created attachment 163020 [details] stacktrace starting NB