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 64371 - Exception from Go To Source
Summary: Exception from Go To Source
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 17:34 UTC by _ tboudreau
Modified: 2009-05-05 09:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2005-09-14 17:34:09 UTC
Unresolved ant var in arg to URI.

Open the source for
org.netbeans.modules.javacore.jmiimpl.javamodel.ImportImpl

Right click the StorableObject constructor argument and choose Go to Source -
the following exception occurs:

java.lang.IllegalArgumentException
	at java.net.URI.create(URI.java:842)
	at
org.netbeans.modules.java.project.ProjectSourceForBinaryQuery.findSourceRoots(ProjectSourceForBinaryQuery.java:37)
	at
org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots(SourceForBinaryQuery.java:64)
	at
org.netbeans.modules.javacore.classpath.FilterClassPathImplementation.createResources(FilterClassPathImplementation.java:115)
	at
org.netbeans.modules.javacore.classpath.FilterClassPathImplementation.<init>(FilterClassPathImplementation.java:57)
	at
org.netbeans.modules.javacore.classpath.FilterClassPathImplementation.createClassPath(FilterClassPathImplementation.java:206)
	at
org.netbeans.modules.javacore.ExclusiveMutex.setClassPath(ExclusiveMutex.java:407)
	at org.netbeans.modules.javacore.JMManager.setClassPath(JMManager.java:395)
	at org.netbeans.modules.javacore.JMManager.setClassPath(JMManager.java:452)
	at org.netbeans.modules.javacore.JMManager.setClassPath(JMManager.java:441)
	at org.netbeans.modules.javacore.JMManager.setClassPath(JMManager.java:403)
	at org.netbeans.modules.editor.java.JMIUtils.openElement(JMIUtils.java:710)
	at
org.netbeans.modules.editor.java.NbJavaJMISyntaxSupport.openSource(NbJavaJMISyntaxSupport.java:628)
	at
org.netbeans.modules.editor.java.JavaKit$JavaJMIGotoSourceAction.openSource(JavaKit.java:476)
	at
org.netbeans.modules.editor.java.JavaKit$JavaGotoSourceAction$1.run(JavaKit.java:421)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
Caused by: java.net.URISyntaxException: Illegal character in path at index 29:
file:/C:/space/nb_other/mdr/${basedir}/build/generated/wsclient/
	at java.net.URI$Parser.fail(URI.java:2809)
	at java.net.URI$Parser.checkChars(URI.java:2982)
	at java.net.URI$Parser.parseHierarchical(URI.java:3066)
	at java.net.URI$Parser.parse(URI.java:3014)
	at java.net.URI.<init>(URI.java:578)
	at java.net.URI.create(URI.java:840)
	... 17 more
Comment 1 Pavel Flaska 2005-09-21 16:03:31 UTC
Mdr is j2se project and it is hard to integrate it with netbeans project.
Invalid urls are caused by '$' items, e.g. '${mdr/jmi.dir}/modules/ext/jmi.jar'.
${mdr/jmi.dir} is not resolved.
Comment 2 Pavel Flaska 2009-05-05 09:41:07 UTC
No longer used and supported.