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 246512 - AssertionError: the result of hiddenInInternal() can't be null
Summary: AssertionError: the result of hiddenInInternal() can't be null
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal with 2 votes (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-18 09:59 UTC by bolsover
Modified: 2016-08-27 02:18 UTC (History)
14 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211271


Attachments
stacktrace (4.14 KB, text/plain)
2014-08-18 09:59 UTC, bolsover
Details
stacktrace (2.12 KB, text/plain)
2014-09-16 12:57 UTC, bolsover
Details
stacktrace (5.82 KB, text/plain)
2014-11-28 14:07 UTC, Michel Graciano
Details
stacktrace (4.30 KB, text/plain)
2014-11-29 12:43 UTC, Exceptions Reporter
Details
stacktrace (5.30 KB, text/plain)
2014-12-24 16:44 UTC, Vladimir Voskresensky
Details
stacktrace (5.30 KB, text/plain)
2014-12-24 16:47 UTC, Vladimir Voskresensky
Details
stacktrace (4.17 KB, text/plain)
2015-08-17 06:58 UTC, nleck
Details
stacktrace (4.66 KB, text/plain)
2015-11-10 09:34 UTC, bolsover
Details
stacktrace (5.18 KB, text/plain)
2016-07-18 15:33 UTC, IrianR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bolsover 2014-08-18 09:59:06 UTC
Build: NetBeans IDE 8.0.1 (Build 201408142300)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 8

User Comments:
bolsover: deleting some unused packages




Stacktrace: 
java.lang.AssertionError: the result of hiddenInInternal() can't be null
   at com.sun.tools.javac.util.Assert.error(Assert.java:133)
   at com.sun.tools.javac.util.Assert.check(Assert.java:94)
   at com.sun.tools.javac.code.Symbol.hiddenIn(Symbol.java:473)
   at com.sun.tools.javac.code.Symbol.isMemberOf(Symbol.java:457)
   at com.sun.tools.javac.code.Symbol$MethodSymbol.overrides(Symbol.java:1547)
   at com.sun.tools.javac.code.Types$ImplementationCache.implementationInternal(Types.java:2680)
Comment 1 bolsover 2014-08-18 09:59:07 UTC
Created attachment 148743 [details]
stacktrace
Comment 2 bolsover 2014-09-16 12:57:05 UTC
Created attachment 149257 [details]
stacktrace

Sorry - not detail, it happend when I was not looking!
Comment 3 Michel Graciano 2014-11-28 14:07:08 UTC
Created attachment 150768 [details]
stacktrace

Doing a lot of refactorings
Comment 4 Exceptions Reporter 2014-11-29 12:43:13 UTC
Created attachment 150782 [details]
stacktrace

On backgrown scanning
Comment 5 Vladimir Voskresensky 2014-12-24 16:44:35 UTC
Created attachment 151270 [details]
stacktrace

external regeneration of java file
Comment 6 Vladimir Voskresensky 2014-12-24 16:47:35 UTC
Created attachment 151271 [details]
stacktrace

regenerate class
Comment 7 nleck 2015-08-17 06:58:06 UTC
Created attachment 155381 [details]
stacktrace

using IVY
Comment 8 bolsover 2015-11-10 09:34:23 UTC
Created attachment 157254 [details]
stacktrace

Refactoring - moving class between packages
Comment 9 Peter Nabbefeld 2015-12-17 07:55:24 UTC
Don't know, but this has probably to do with this bug:
Since NB 8.1, I'm getting suspicious scanning behaviour.
1. Background scanning (BS) seems to be slower, checking for external changes has become a problem.
2. BS seems to be incomplete, getting red balloons for classes included in jar files (in classpath); does not happen with NB 8.0.2, so classpath is correct.
3. Incomplete BS sometimes changes the "ignored" jars, i.e. the missing imported classes are different from time to time.
IMHO, this altogether seems to point out as an error in filecache/indexing, probably the data is stored correctly, but in-memory structure is built erroneously from cache data when reading.

Kind regards
P.
Comment 10 IrianR 2016-07-18 15:33:56 UTC
Created attachment 160431 [details]
stacktrace

Editing a maven pom.xml file
Comment 11 petrk 2016-08-03 13:57:15 UTC
More than 20 exception reports => P2
Comment 13 Quality Engineering 2016-08-27 02:18:01 UTC
Integrated into 'main-silver', will be available in build *201608270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/16f93951723e
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #252312 and #246512 fixed.