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 267469 - AssertionError: javax.activation.DataHandler$1C
Summary: AssertionError: javax.activation.DataHandler$1C
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-07 17:01 UTC by emiddio
Modified: 2016-08-11 01:57 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225660


Attachments
stacktrace (3.01 KB, text/plain)
2016-08-07 17:01 UTC, emiddio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2016-08-07 17:01:47 UTC
This bug was originally marked as duplicate of bug 267217, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201608060002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Windows 7

User Comments:
alexvsimon: start IDE with opened project (with claen cache)

alexvsimon: start IDE

GUEST: Starting NetBeans

emiddio: first startup from fresh install - new profile dir and cache dir

GUEST: I have clean build maven project then I got this error in a popup

mclaborn: Starting net beans (with empty cache directory)

emiddio: unknown

GUEST: AssertionError at org.netbeans.modules.java.source.usages.BinaryName.<init>

Rahul.khandelwal: Uninstalled older dev build completely and installed the new dev build, just opened two projects.

emiddio: unknown

prusinek74: First start of ide, having NB8.1 running in bckground, I got monit about importing founded setting of previous version - this error happend after that




Stacktrace: 
java.lang.AssertionError: javax.activation.DataHandler$1C
   at org.netbeans.modules.java.source.usages.BinaryName.<init>(BinaryName.java:65)
   at org.netbeans.modules.java.source.usages.BinaryName.create(BinaryName.java:173)
   at org.netbeans.modules.java.source.usages.BinaryAnalyser.analyse(BinaryAnalyser.java:674)
   at org.netbeans.modules.java.source.usages.BinaryAnalyser.access$800(BinaryAnalyser.java:140)
   at org.netbeans.modules.java.source.usages.BinaryAnalyser$ArchiveProcessor.executeImpl(BinaryAnalyser.java:1255)
   at org.netbeans.modules.java.source.usages.BinaryAnalyser$RootProcessor.execute(BinaryAnalyser.java:1145)
Comment 1 emiddio 2016-08-07 17:01:51 UTC
Created attachment 161585 [details]
stacktrace
Comment 2 Tomas Zezula 2016-08-09 15:37:57 UTC
All reports except of the the 827202 are duplicates of the fixed issue #267217.
The report 827202 is caused by wrong formed class file. Accroding to JVM spec: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.7.6

inner_name_index
If C is anonymous (JLS ยง15.9.5), the value of the inner_name_index item must be zero.
which is not a case it's an index to empty string.
Comment 3 Tomas Zezula 2016-08-09 15:39:17 UTC
Fixed jet-main ff697ca94f70
Comment 4 Quality Engineering 2016-08-11 01:57:11 UTC
Integrated into 'main-silver', will be available in build *201608110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ff697ca94f70
User: Tomas Zezula <tzezula@netbeans.org>
Log: #267469:AssertionError: javax.activation.DataHandler$1C