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 148187 - [65cat] IllegalArgumentException: bad position: 2523
Summary: [65cat] IllegalArgumentException: bad position: 2523
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Shivanand Kini
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 10:55 UTC by rajivderas
Modified: 2015-02-04 03:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 117533


Attachments
stacktrace (1.47 KB, text/plain)
2008-09-24 10:55 UTC, rajivderas
Details
stacktrace (1.47 KB, text/plain)
2008-09-29 08:09 UTC, rajivderas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-09-24 10:55:50 UTC
Build: NetBeans IDE Dev (Build 200809231435)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b21
OS: Windows XP, 5.1, x86

User Comments:
rajivderas: Steps to reproduce:
1) Created a new WS in EJB module project
2) Add an operation to the WS in source editor mode 
3) View it in design mode and again switch to source mode and delete the operation and go again to design mode
4) Then refactor rename the service name
5) Then open the WS file in preview mode and goto the navigator and selet Services and right click it and select add service
6) In the newly added service right click and add new http service port



Stacktrace: 
java.lang.IllegalArgumentException: bad position: 2523
        at javax.swing.text.JTextComponent.setCaretPosition(JTextComponent.java:1650)
        at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLSourceMultiViewElement$2.show(WSDLSourceMultiViewElement.java:187)
        at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLMultiViewSupport.viewInSwingThread(WSDLMultiViewSupport.java:144)
        at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLMultiViewSupport.view(WSDLMultiViewSupport.java:103)
        at org.netbeans.modules.xml.wsdl.ui.actions.ActionHelper.selectNode(ActionHelper.java:59)
        at org.netbeans.modules.xml.wsdl.ui.actions.schema.ExtensibilityElementCreatorVisitor$1.run(ExtensibilityElementCreatorVisitor.java:535)
Comment 1 rajivderas 2008-09-24 10:55:56 UTC
Created attachment 70427 [details]
stacktrace
Comment 2 rajivderas 2008-09-29 08:07:39 UTC
Build: NetBeans IDE Dev (Build 200809281401)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b21
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.IllegalArgumentException: bad position: 2315
        at javax.swing.text.JTextComponent.setCaretPosition(JTextComponent.java:1650)
        at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLSourceMultiViewElement$2.show(WSDLSourceMultiViewElement.java:187)
        at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLMultiViewSupport.viewInSwingThread(WSDLMultiViewSupport.java:144)
        at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLMultiViewSupport.view(WSDLMultiViewSupport.java:103)
        at org.netbeans.modules.xml.wsdl.ui.actions.ActionHelper.selectNode(ActionHelper.java:59)
        at org.netbeans.modules.xml.wsdl.ui.actions.schema.ExtensibilityElementCreatorVisitor$1.run(ExtensibilityElementCreatorVisitor.java:535)
Comment 3 rajivderas 2008-09-29 08:09:10 UTC
Created attachment 70770 [details]
stacktrace
Comment 4 Sergey Lunegov 2008-10-01 15:57:25 UTC
Changed target milestone.
Comment 5 Quality Engineering 2015-02-04 03:37:34 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.