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 198668 - NullPointerException at org.netbeans.modules.web.beans.actions.InterceptorFactory.create
Summary: NullPointerException at org.netbeans.modules.web.beans.actions.InterceptorFac...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords: REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2011-05-17 10:49 UTC by Jiri Skrivanek
Modified: 2011-05-18 11:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 178889


Attachments
stacktrace (5.93 KB, text/plain)
2011-05-17 10:49 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2011-05-17 10:49:54 UTC
Build: NetBeans IDE Dev (Build 201105160400)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows XP

User Comments:
jskrivanek: To reproduce:

- create java web project
- create new servlet in this project
- call "Insert Code..." popup in processRequest method and exception is thrown




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.beans.actions.InterceptorFactory.create(InterceptorFactory.java:97)
   at org.netbeans.modules.editor.codegen.NbGenerateCodeAction$Task.run(NbGenerateCodeAction.java:181)
   at org.netbeans.modules.java.editor.codegen.ContextProvider$1.run(ContextProvider.java:74)
   at org.netbeans.modules.java.editor.codegen.ContextProvider$1.run(ContextProvider.java:69)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:482)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:635)
Comment 1 Jiri Skrivanek 2011-05-17 10:49:59 UTC
Created attachment 108350 [details]
stacktrace
Comment 2 Denis Anisimov 2011-05-17 14:30:46 UTC
It's not P1.
Comment 3 Denis Anisimov 2011-05-17 14:33:07 UTC
we-main
changeset:   194107:9dae5f34825d
Comment 4 Quality Engineering 2011-05-18 08:50:09 UTC
Integrated into 'main-golden', will be available in build *201105180400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9dae5f34825d
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#198668 - NullPointerException at org.netbeans.modules.web.beans.actions.InterceptorFactory.create.
Comment 5 Jiri Skrivanek 2011-05-18 11:55:31 UTC
Thank you for quick response. Anyway according to bug priority guidelines it is
P1 because every regression in functionality is critical.
http://wiki.netbeans.org/BugPriorityGuidelines

Verified in NetBeans IDE Dev (Build 201105180400).