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 270097 - NullPointerException at com.sun.tools.javac.comp.Check.checkImportedPackagesObservable
Summary: NullPointerException at com.sun.tools.javac.comp.Check.checkImportedPackagesO...
Status: RESOLVED DUPLICATE of bug 256966
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-16 18:51 UTC by wshackle
Modified: 2017-09-22 10:45 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226865


Attachments
stacktrace (4.84 KB, text/plain)
2017-03-16 18:52 UTC, wshackle
Details
stacktrace (10.59 KB, text/plain)
2017-09-21 15:44 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wshackle 2017-03-16 18:51:57 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Linux

User Comments:
sajemam: Getting this error when trying to run the example download from yourwebsite (jdk-8u121-windows-i586-demos)

GUEST: While Opening Java Application project it was unable to open any form in desgn view. For all forms source view was available but design view was not.

GUEST: N/A

wshackle: fix imports




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Check.checkImportedPackagesObservable(Check.java:3679)
   at com.sun.tools.javac.comp.TypeEnter.finishImports(TypeEnter.java:235)
   at com.sun.tools.javac.comp.TypeEnter.ensureImportsChecked(TypeEnter.java:175)
   at com.sun.tools.javac.comp.Enter.complete(Enter.java:734)
   at com.sun.tools.javac.main.JavaCompiler.readSourceFile(JavaCompiler.java:795)
   at com.sun.tools.javac.main.JavaCompiler.readSourceFile(JavaCompiler.java:756)
Comment 1 wshackle 2017-03-16 18:52:00 UTC
Created attachment 163868 [details]
stacktrace
Comment 2 Exceptions Reporter 2017-04-21 08:19:12 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=226865
Comment 3 aldobrucale 2017-09-21 15:44:35 UTC
Created attachment 165156 [details]
stacktrace

Opening nb module project
Comment 4 Dusan Balek 2017-09-22 10:45:43 UTC

*** This bug has been marked as a duplicate of bug 256966 ***