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.
Ant is broken (on my machine) i.e., I get an error message when I try to create an Ant template and/or when I try add a build.xml (ant build file) to my project. In fact I now get an error message when I startup Netbeans. ========================================= Thu Jul 25 15:35:42 PDT 2002: java.lang.VerifyError: <no message> Nested annotation: (class: org/apache/tools/ant/module/xml/AntProjectSupport, method: parseDocument signature: ()V) Incompatible object argument for function call java.io.IOException at org.openide.loaders.DataLoader.findDataObject (DataLoader.java:230) at org.openide.loaders.DataLoaderPool.findDataObject (DataLoaderPool.java:363) at org.openide.loaders.FolderList.createBoth (FolderList.java:576) at org.openide.loaders.FolderList.getObjects (FolderList.java:395) at org.openide.loaders.FolderList.access$200 (FolderList.java:43) at org.openide.loaders.FolderList$ListTask.run (FolderList.java:743) at org.openide.util.Task.run(Task.java:152) [catch] at org.openide.util.RequestProcessor$ProcessorThread.run (RequestProcessor.java:622) Thu Jul 25 15:35:42 PDT 2002: java.lang.VerifyError: (class: org/apache/tools/ant/module/xml/AntProjectSupport, method: parseDocument signature: ()V) Incompatible object argument for function call java.lang.VerifyError: (class: org/apache/tools/ant/module/xml/AntProjectSupport, method: parseDocument signature: ()V) Incompatible object argument for function call at org.apache.tools.ant.module.loader.AntProjectDataObject.<in it>(AntProjectDataObject.java:44) at org.apache.tools.ant.module.loader.AntProjectDataLoader.cre ateMultiObject(AntProjectDataLoader.java:161) at org.openide.loaders.MultiFileLoader.handleFindDataObject (MultiFileLoader.java:73) at org.openide.loaders.DataLoader.findDataObject (DataLoader.java:220) at org.openide.loaders.DataLoaderPool.findDataObject (DataLoaderPool.java:363) at org.openide.loaders.FolderList.createBoth (FolderList.java:576) at org.openide.loaders.FolderList.getObjects (FolderList.java:395) at org.openide.loaders.FolderList.access$200 (FolderList.java:43) at org.openide.loaders.FolderList$ListTask.run (FolderList.java:743) at org.openide.util.Task.run(Task.java:152) [catch] at org.openide.util.RequestProcessor$ProcessorThread.run (RequestProcessor.java:622)
*** This issue has been marked as a duplicate of 11020 ***
Larry adds FYI: Here is additional information you may or may not know. My problem stemmed from have these .jar files in JDK 1.4.0 jre ... lib ... endorsed xalan-2.3.1.jar xercesImpl-2.0.0.jar xml-apis.jar
I have verified that I no longer receive an error message at startup and ant appears to function (normally) as it does in other circumstances. Further I have verified that no errors occur when the other files, described in the bug report, are present in the jre/lib/endorsed directory.