Menu

#33 Namespace not supported by SAXParser

open
None
5
2004-07-01
2004-06-27
Anonymous
No

Using JBuilder4 Foundation 4.0.152.0 and Ant 1.6.1 with
AntRunner 2.2 no targets are listed for my projects.
When I reloade build.xml the following error is reported:

Die Buildatei '[Pfad]/build.xml' ist fehlerhaft
Cannot create parser for the given configuration:
Namespace not supported by SAXParser
Wollen Sie den Fehler jetzt korrigieren?
Ja Nein

The buildfile is correct, works fine with Ant on the
commandline and worked with AntRunner 1.2. I also
replaced build.xml with the example build.xml from
http://ant.apache.org/manual/using.html#example,
resulting in the same error.

AntRunner debug-file is attached.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Sorry, attachment of the file did not work.
    Here is the content of antrunnerdebug.log:

    2004-06-27 20:59:20,137 [main ] DEBUG
    org.antrunner.X ( ?) Detected JBuilder 4
    2004-06-27 20:59:20,157 [main ] DEBUG
    antrunner.ide.locale.IDELocale ( ?) set locale to: de_DE
    2004-06-27 20:59:20,357 [Thread-2 ] DEBUG
    org.antrunner.s ( ?) server is waiting for
    clients on port 9073
    2004-06-27 20:59:20,357 [Thread-2 ] DEBUG
    org.antrunner.s ( ?) notified all server
    listeners about start
    2004-06-27 20:59:20,377 [main ] DEBUG
    org.antrunner.aM ( ?) created resource for
    locale: de_DE
    2004-06-27 20:59:20,377 [main ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/antstart.gif
    2004-06-27 20:59:20,408 [main ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/antstop.gif
    2004-06-27 20:59:23,051 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/ant.gif
    2004-06-27 20:59:23,061 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/activenode.gif
    2004-06-27 20:59:23,071 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/antnotavailable.gif
    2004-06-27 20:59:23,081 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/antstart.gif
    2004-06-27 20:59:23,101 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/antreload.gif
    2004-06-27 20:59:23,111 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ide.OpenTool ( ?) found group Build at pos 3
    2004-06-27 20:59:23,111 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ide.OpenTool ( ?) found group Help at pos 7
    2004-06-27 20:59:23,121 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/antmanual.gif
    2004-06-27 20:59:23,131 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/anthelp.gif
    2004-06-27 20:59:23,141 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/ant.gif
    2004-06-27 20:59:23,151 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.ac ( ?) loading icon:
    /org/antrunner/resources/antgallery.gif
    2004-06-27 20:59:28,890 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.aa ( ?) opened project:
    file:///C%|/Projects/Fahrzeugverwaltung/Fahrzeugverwaltung.jpr
    2004-06-27 20:59:28,900 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.aa ( ?) Relative DIR:
    C:\Projects\Fahrzeugverwaltung\.AntRunner\Fahrzeugverwaltung
    2004-06-27 20:59:28,900 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.aa ( ?) ant configured for this
    project
    2004-06-27 20:59:28,900 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.aa ( ?) active buildfile:
    C:\Projects\Fahrzeugverwaltung\build.xml
    2004-06-27 20:59:28,910 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.Y ( ?) using ANT's parser
    2004-06-27 20:59:28,930 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.Y ( ?) using ANT's parser
    2004-06-27 20:59:29,070 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.av ( ?) Major version: 1
    2004-06-27 20:59:29,070 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.av ( ?) Major version: 1
    2004-06-27 20:59:29,070 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.av ( ?) Minor version: 5
    2004-06-27 20:59:29,080 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.aa ( ?) no need for an update.
    Version is newer or equal
    2004-06-27 20:59:29,080 [AWT-EventQueue-0 ] DEBUG
    ect.node.action.AntTargetGroup ( ?) no target. Trying
    to get default target.
    2004-06-27 20:59:31,694 [AWT-EventQueue-0 ] DEBUG
    ction.ReloadAntBuildfileAction ( ?) reload ant buildfile...
    2004-06-27 20:59:31,694 [AWT-EventQueue-0 ] DEBUG
    org.antrunner.Y ( ?) using ANT's parser
    2004-06-27 20:59:31,694 [AWT-EventQueue-0 ] DEBUG
    ect.node.action.AntTargetGroup ( ?) processing target
    map: AntTargetMap[]
    2004-06-27 20:59:31,704 [AWT-EventQueue-0 ] DEBUG
    ect.node.action.AntTargetGroup ( ?) no target. Trying
    to get default target.
    2004-06-27 20:59:31,724 [AWT-EventQueue-0 ] INFO
    org.antrunner.j ( ?) parse exception: Cannot
    create parser for the given configuration: Namespace not
    supported by SAXParser
    org.antrunner.exception.BuildfileParsingException: Cannot
    create parser for the given configuration: Namespace not
    supported by SAXParser
    at org.antrunner.aA.c(Unknown Source)
    at org.antrunner.av.F(Unknown Source)
    at
    org.antrunner.project.node.action.ReloadAntBuildfileAction.actionPerformed(Unknown
    Source)
    at
    com.borland.primetime.ide.BrowserAction.actionPerformed(Unknown
    Source)
    at com.borland.primetime.actions.ActionButton.fire(Unknown
    Source)
    at
    com.borland.primetime.actions.ActionButton.processMouseEvent(Unknown
    Source)
    at java.awt.Component.processEvent(Component.java:3539)
    at java.awt.Container.processEvent(Container.java:1159)
    at java.awt.Component.dispatchEventImpl(Component.java:2588)
    at java.awt.Container.dispatchEventImpl(Container.java:1208)
    at java.awt.Component.dispatchEvent(Component.java:2492)
    at
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
    at
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:2211)
    at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
    at java.awt.Container.dispatchEventImpl(Container.java:1195)
    at java.awt.Window.dispatchEventImpl(Window.java:921)
    at java.awt.Component.dispatchEvent(Component.java:2492)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
    at
    java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
    2004-06-27 20:59:32,745 [AWT-EventQueue-0 ] DEBUG
    ction.ReloadAntBuildfileAction ( ?) ...ant buildfile
    reloaded
    2004-06-27 20:59:34,037 [AWT-EventQueue-0 ] INFO
    org.antrunner.aa ( ?) project close not
    detected: Correcting...
    2004-06-27 20:59:34,137 [AWT-EventQueue-0 ] INFO
    org.antrunner.aa ( ?) project close not
    detected: Correcting...
    2004-06-27 20:59:34,177 [AWT-EventQueue-0 ] INFO
    org.antrunner.aa ( ?) project close not
    detected: Correcting...
    2004-06-27 20:59:34,217 [AWT-EventQueue-0 ] INFO
    org.antrunner.aa ( ?) project close not
    detected: Correcting...
    2004-06-27 20:59:34,267 [AWT-EventQueue-0 ] INFO
    org.antrunner.aa ( ?) project close not
    detected: Correcting...
    2004-06-27 20:59:34,348 [AWT-EventQueue-0 ] INFO
    org.antrunner.aa ( ?) project close not
    detected: Correcting...
    2004-06-27 20:59:34,418 [AWT-EventQueue-0 ] INFO
    org.antrunner.aa ( ?) project close not
    detected: Correcting...
    2004-06-27 20:59:34,448 [AWT-EventQueue-0 ] INFO
    org.antrunner.aa ( ?) project close not
    detected: Correcting...
    2004-06-27 21:02:57,550 [Thread-6 ] WARN
    org.antrunner.ag ( ?) Could not set active tab!
    Not trying anymore until the end of this session!
    java.lang.NoSuchMethodError
    at org.antrunner.ag.a(Unknown Source)
    at org.antrunner.ar.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:479)

     
  • Dirk Schnelle-Walka

    Logged In: YES
    user_id=192116

    Hi,

    seems to me that JBuilder 4's XML support is too old. Sorry
    that I did not check this carefully.

    Can you send me a mail that we can try to solve the problem?

    /Dirk

     
  • Dirk Schnelle-Walka

    • assigned_to: nobody --> schnelle
     
  • Dirk Schnelle-Walka

    Logged In: YES
    user_id=192116

    There seem to be some conflicts with the jaxp.jar within the
    $JBUILDER_HOME/lib directory.

    Moving this file to a secure place solved this problem. Hope
    there are no sideffects.

    /Dirk

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.