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
Depends on:
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

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

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

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