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 269620 - NullPointerException: The toOpen parameter cannot be null
Summary: NullPointerException: The toOpen parameter cannot be null
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Progress (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-21 19:32 UTC by h.narendrakumar
Modified: 2017-01-21 19:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 215815


Attachments
stacktrace (760 bytes, text/plain)
2017-01-21 19:33 UTC, h.narendrakumar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description h.narendrakumar 2017-01-21 19:32:58 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: OpenJDK 64-Bit Server VM, 25.111-b14, OpenJDK Runtime Environment, 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14
OS: Linux

User Comments:
GUEST: insert code
call enterprise bean in a manage bean

GUEST: Alt+Insert to add EJB into class.
The EJB code is added inline 'messed up'

GUEST: no idea

GUEST: Insert code > Injection bean

GUEST: <Please provide a description of the problem or the steps to reproduce>???

h.narendrakumar: se

GUEST: Press Save and crash on deploy




Stacktrace: 
java.lang.NullPointerException: The toOpen parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:172)
   at org.netbeans.api.java.source.ui.ElementOpen.access$100(ElementOpen.java:73)
   at org.netbeans.api.java.source.ui.ElementOpen$2.run(ElementOpen.java:155)
   at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:169)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
Comment 1 h.narendrakumar 2017-01-21 19:33:00 UTC
Created attachment 163448 [details]
stacktrace