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 - StringIndexOutOfBoundsException when creating session bean
Summary: StringIndexOutOfBoundsException when creating session bean
Status: RESOLVED DUPLICATE of bug 101551
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-19 14:58 UTC by Radim Roska
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (1.58 KB, text/plain)
2007-04-19 15:00 UTC, Radim Roska
Details

Note You need to log in before you can comment on or make changes to this bug.
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