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 101793

Summary: StringIndexOutOfBoundsException when creating session bean
Product: java Reporter: Radim Roska <rroska>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: madamek
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: exception

Description Radim Roska 2007-04-19 14:58:08 UTC
NetBeans IDE Dev (Build 070418)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Linux version 2.6.17-11-generic running on i386
en_US (nb); UTF-8

1. create EAR project
2. create session bean in ear-ejb project
3. StringIndexOutOfBoundsException: String index out of range: -11
         occurs if length of (ejb name + package name) < 25 chars
Comment 1 Radim Roska 2007-04-19 15:00:57 UTC
Created attachment 41261 [details]
exception
Comment 2 Martin Adamek 2007-04-19 15:37:22 UTC
I am able to reproduce, but unfortunately there is stack trace only from
java/source, so I am reassigning. If you will find that it is caused by j2ee
code, please provide some pointer and reassign back.
Comment 3 Jan Lahoda 2007-04-19 17:27:50 UTC

*** This issue has been marked as a duplicate of 101551 ***
Comment 4 Quality Engineering 2007-09-20 12:05:35 UTC
Reorganization of java component