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 - NullPointerException at javax.swing.text.JTextComponent.getSelectedText
Summary: NullPointerException at javax.swing.text.JTextComponent.getSelectedText
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-15 19:38 UTC by gilbertoca
Modified: 2015-12-15 19:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219912


Attachments
stacktrace (1.44 KB, text/plain)
2015-12-15 19:38 UTC, gilbertoca
Details

Note You need to log in before you can comment on or make changes to this bug.
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