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 257160

Summary: NullPointerException at javax.swing.text.JTextComponent.getSelectedText
Product: javaee Reporter: gilbertoca <gilbertoca>
Component: JSF EditorAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219912
Attachments: stacktrace

Description gilbertoca 2015-12-15 19:38:21 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Linux

User Comments:
GUEST: dsf

gilbertoca: editing pom.xml

GUEST: I was working on a Maven based project. JavaEE project with JSF




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.JTextComponent.getSelectedText(JTextComponent.java:1716)
   at org.netbeans.modules.web.jsf.editor.refactoring.actions.ConvertToCCAction.enable(ConvertToCCAction.java:76)
   at org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:615)
   at sun.reflect.GeneratedMethodAccessor41.invoke(GeneratedMethodAccessor41.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:497)
Comment 1 gilbertoca 2015-12-15 19:38:22 UTC
Created attachment 157802 [details]
stacktrace