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 26025 - Ant is broken; missing UI components; Error messages at startup and activation
Summary: Ant is broken; missing UI components; Error messages at startup and activation
Status: VERIFIED DUPLICATE of bug 11020
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@projects
URL: http://ant.netbeans.org/faq.html
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-25 23:40 UTC by ldevo
Modified: 2003-07-11 20:16 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 ldevo 2002-07-25 23:40:37 UTC
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)
Comment 1 Jesse Glick 2002-07-26 07:49:19 UTC

*** This issue has been marked as a duplicate of 11020 ***
Comment 2 Jesse Glick 2002-07-29 00:30:36 UTC
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
Comment 3 ldevo 2003-07-11 20:16:32 UTC
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.