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 270169

Summary: ArrayIndexOutOfBoundsException: 0
Product: platform Reporter: Alexander Simon <alexvsimon>
Component: TemplatesAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228512
Attachments: stacktrace

Description Alexander Simon 2017-03-22 13:49:25 UTC
Build: NetBeans IDE 8.2 (Build 20170322-f627da514ab0)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: SunOS

User Comments:
alexvsimon: try to duplicate template




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 0
   at org.netbeans.modules.templates.ui.TemplatesPanel$RenameTemplateAction.actionPerformed(TemplatesPanel.java:978)
   at org.netbeans.modules.templates.ui.TemplatesPanel$TemplateTreeView.invokeInplaceEditing(TemplatesPanel.java:213)
   at org.netbeans.modules.templates.ui.TemplatesPanel$TemplateTreeView.access$3000(TemplatesPanel.java:197)
   at org.netbeans.modules.templates.ui.TemplatesPanel$20.run(TemplatesPanel.java:1410)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
Comment 1 Alexander Simon 2017-03-22 13:49:27 UTC
Created attachment 163918 [details]
stacktrace