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.
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)
Created attachment 163448 [details] stacktrace