[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6388) StringIndexOutOfBoundsException when moving java class to default package
Kris Verlaenen (JIRA)
jira-events at lists.jboss.org
Thu Jun 17 18:48:46 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kris Verlaenen resolved JBIDE-6388.
-----------------------------------
Resolution: Done
fixed issue with default package
> 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
> Fix For: 3.2.x
>
>
> -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