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 180834 - NoSuchMethodError: org.apache.tools.ant.launch.Locator.fromJarURI(Ljava/lang/String;)Ljava/lang/String;
Summary: NoSuchMethodError: org.apache.tools.ant.launch.Locator.fromJarURI(Ljava/lang/...
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-17 05:56 UTC by misterm
Modified: 2010-02-17 12:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 165333


Attachments
stacktrace (703 bytes, text/plain)
2010-02-17 05:56 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2010-02-17 05:56:20 UTC
Build: NetBeans IDE Dev (Build 100217-122f55ff76bd)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP

Stacktrace: 
java.lang.NoSuchMethodError: org.apache.tools.ant.launch.Locator.fromJarURI(Ljava/lang/String;)Ljava/lang/String;
   at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:252)
   at org.apache.tools.ant.helper.ProjectHelper2.parseUnknownElement(ProjectHelper2.java:130)
   at org.apache.tools.ant.module.bridge.impl.NbAntlib.process(NbAntlib.java:73)
   at org.apache.tools.ant.module.bridge.impl.BridgeImpl.addCustomDefs(BridgeImpl.java:392)
   at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:196)
   at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:521)
Comment 1 misterm 2010-02-17 05:56:24 UTC
Created attachment 94224 [details]
stacktrace
Comment 2 Jesse Glick 2010-02-17 12:15:02 UTC
Can't be 68cat if you're using a dev build!
Comment 3 misterm 2010-02-17 12:16:09 UTC
The prefix is automatically inserted by the exception reporter. Sorry for that.
Comment 4 Jesse Glick 2010-02-17 12:19:03 UTC
Looks like you are running the bundled Ant 1.8.0 but still have java/ant/patches/ant-42275.jar in your IDE installation for some reason; it is no longer shipped as part of the Ant module, as it is unnecessary in (and incompatible with) 1.8.0.