[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6388) StringIndexOutOfBoundsException when moving java class to default package
Lukas Jungmann (JIRA)
jira-events at lists.jboss.org
Fri May 28 08:12:08 EDT 2010
StringIndexOutOfBoundsException when moving java class to default package
-------------------------------------------------------------------------
Key: JBIDE-6388
URL: https://jira.jboss.org/browse/JBIDE-6388
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: drools
Affects Versions: 3.1.1
Environment: JBDS-3.0.1.v201005270943R-H82-GA
Reporter: Lukas Jungmann
Assignee: Kris Verlaenen
-create new dynamic web project
-create new java class in some package
-use Refactor -> Move to move the class into default package
=>
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at org.drools.eclipse.refactoring.RuleIFileMoveParticipant.getNewName(RuleIFileMoveParticipant.java:181)
at org.drools.eclipse.refactoring.RuleIFileMoveParticipant.initialize(RuleIFileMoveParticipant.java:118)
at org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant.initialize(RefactoringParticipant.java:105)
at org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint.getParticipants(ParticipantExtensionPoint.java:100)
at org.eclipse.ltk.core.refactoring.participants.ParticipantManager.loadMoveParticipants(ParticipantManager.java:121)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list