Bug 92759 - Error launching application in AspectJ project
Summary: Error launching application in AspectJ project
Status: RESOLVED DUPLICATE of bug 98547
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 1.2.0 M3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 07:51 EDT by Matthew Webster CLA
Modified: 2005-08-05 05:58 EDT (History)
0 users

See Also:


Attachments
Testcase (3.71 KB, application/octet-stream)
2005-04-26 07:54 EDT, Matthew Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Webster CLA 2005-04-26 07:51:44 EDT
Install the attached project. Right-mouse click on "test-src" -> "Run As" -
> "Java/AspectJ Application", "Java Appication" or "JUnit Test". In a Java 
project you should be presented with a list of appropriate classes however in 
an AspectJ prject you get an error an possibly an entry in the log:

Error 2005-04-26 12:28:19.405 An internal error occurred during: "Launching".
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1444)
	at 
org.eclipse.jdt.internal.core.util.Util.getNameWithoutJavaLikeExtension
(Util.java:890)
	at 
org.eclipse.jdt.internal.core.search.matching.PossibleMatch.getQualifiedName
(PossibleMatch.java:101)
	at org.eclipse.jdt.internal.core.search.matching.PossibleMatch.<init>
(PossibleMatch.java:41)
	at 
org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches
(MatchLocator.java:1079)
	at 
org.eclipse.jdt.internal.core.search.JavaSearchParticipant.locateMatches
(JavaSearchParticipant.java:94)
	at org.eclipse.jdt.internal.core.search.BasicSearchEngine.findMatches
(BasicSearchEngine.java:208)
	at org.eclipse.jdt.internal.core.search.BasicSearchEngine.search
(BasicSearchEngine.java:394)
	at org.eclipse.jdt.core.search.SearchEngine.search
(SearchEngine.java:532)
	at org.eclipse.jdt.internal.junit.util.TestSearchEngine.searchMethod
(TestSearchEngine.java:106)
	at org.eclipse.jdt.internal.junit.util.TestSearchEngine.searchMethod
(TestSearchEngine.java:97)
	at 
org.eclipse.jdt.internal.junit.util.TestSearchEngine.searchSuiteMethods
(TestSearchEngine.java:245)
	at org.eclipse.jdt.internal.junit.util.TestSearchEngine.collectTypes
(TestSearchEngine.java:182)
	at org.eclipse.jdt.internal.junit.util.TestSearchEngine.doFindTests
(TestSearchEngine.java:144)
	at 
org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration.findTestsI
nContainer(JUnitBaseLaunchConfiguration.java:144)
	at 
org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration.getTestTyp
es(JUnitBaseLaunchConfiguration.java:131)
	at 
org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration.launch
(JUnitBaseLaunchConfiguration.java:75)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch
(LaunchConfiguration.java:590)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch
(LaunchConfiguration.java:515)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch
(DebugUIPlugin.java:731)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run
(DebugUIPlugin.java:929)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
Comment 1 Matthew Webster CLA 2005-04-26 07:54:44 EDT
Created attachment 20356 [details]
Testcase
Comment 2 Sian January CLA 2005-08-05 05:58:36 EDT
This is the same issue as 98547 - closing this entry because 98547 has more 
information

*** This bug has been marked as a duplicate of 98547 ***