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 194770 - [70cat] NullPointerException at org.netbeans.modules.j2ee.common.project.hints.OptionalEE7APIsHint.run
Summary: [70cat] NullPointerException at org.netbeans.modules.j2ee.common.project.hint...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-27 13:09 UTC by mithridates
Modified: 2011-02-18 10:35 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176206


Attachments
stacktrace (4.74 KB, text/plain)
2011-01-27 13:09 UTC, mithridates
Details
stacktrace (7.41 KB, text/plain)
2011-02-08 09:44 UTC, averri
Details
stacktrace (5.09 KB, text/plain)
2011-02-08 22:24 UTC, misterm
Details
stacktrace (5.52 KB, text/plain)
2011-02-14 12:49 UTC, J Bachorik
Details
stacktrace (6.71 KB, text/plain)
2011-02-17 09:15 UTC, rcasha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mithridates 2011-01-27 13:09:52 UTC
Build: NetBeans IDE Dev (Build 201101250001)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
mithridates: Was editing @NamedQuery annotation in entity




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.common.project.hints.OptionalEE7APIsHint.run(OptionalEE7APIsHint.java:114)
   at org.netbeans.modules.java.hints.infrastructure.RulesManager$WorkerImpl.createErrors(RulesManager.java:406)
   at org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.runHint(HintsInvoker.java:685)
   at org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.access$000(HintsInvoker.java:103)
   at org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:552)
   at org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:571)
Comment 1 mithridates 2011-01-27 13:09:57 UTC
Created attachment 105401 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-02-07 11:41:33 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176206
Comment 3 averri 2011-02-08 09:44:35 UTC
Created attachment 105728 [details]
stacktrace
Comment 4 misterm 2011-02-08 22:24:49 UTC
Created attachment 105764 [details]
stacktrace

Typed @XmlJavaTypeAdapters{ and then hit ENTER - notice the use of { instead of (
Comment 5 Exceptions Reporter 2011-02-11 07:33:27 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176206
Comment 6 J Bachorik 2011-02-14 12:49:22 UTC
Created attachment 105976 [details]
stacktrace

Using code completion in an arbitrary annotation - 
@OnMethod(clazz="/java2d\\..*/", method<code completion invoked here>)
Comment 7 rcasha 2011-02-17 09:15:44 UTC
Created attachment 106103 [details]
stacktrace

I had just opened a java source file
Comment 8 Petr Hejl 2011-02-17 11:08:16 UTC
Fixed in web-main db33e56a4160.
Comment 9 Quality Engineering 2011-02-18 10:35:35 UTC
Integrated into 'main-golden', will be available in build *201102180501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/db33e56a4160
User: Petr Hejl <phejl@netbeans.org>
Log: #194770 [70cat] NullPointerException at org.netbeans.modules.j2ee.common.project.hints.OptionalEE7APIsHint.run