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 236335 - IllegalArgumentException: bad position: 18
Summary: IllegalArgumentException: bad position: 18
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: JMX (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jean-francois Denise
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-24 17:42 UTC by skygo
Modified: 2013-09-25 09:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 204114


Attachments
stacktrace (4.84 KB, text/plain)
2013-09-24 17:42 UTC, skygo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skygo 2013-09-24 17:42:45 UTC
Build: NetBeans IDE Dev (Build 201309191137)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 8

User Comments:
skygo: This occurs during the tutorial  Adding Java Management Extensions (JMX) Instrumentation to a Java Application.

At the time I copy paste attribue Name to the attribute table cell.
If I type everything is ok




Stacktrace: 
java.lang.IllegalArgumentException: bad position: 18
   at javax.swing.text.JTextComponent.setCaretPosition(JTextComponent.java:1678)
   at org.netbeans.modules.jmx.mbeanwizard.listener.AttributeTextFieldKeyListener.keyTyped(AttributeTextFieldKeyListener.java:102)
   at java.awt.Component.processKeyEvent(Component.java:6460)
   at javax.swing.JComponent.processKeyEvent(JComponent.java:2828)
   at java.awt.Component.processEvent(Component.java:6282)
   at java.awt.Container.processEvent(Container.java:2229)
Comment 1 skygo 2013-09-24 17:42:47 UTC
Created attachment 140421 [details]
stacktrace