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.
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
Created attachment 41261 [details] exception
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.
*** This issue has been marked as a duplicate of 101551 ***
Reorganization of java component