G***@apcc.com
2002-06-04 16:56:02 UTC
I'm using cvs from this morning. Middlegen built and ran fine the first
time. Successive runs produce the following error. Deleting the
preferences file fixes the problem.
middlegen:
[middlegen] java.lang.ClassCastException:
org.apache.xerces.dom.DeferredCommentImpl
[middlegen] at
java.util.prefs.XmlSupport.importPreferences(XmlSupport.java:182)
[middlegen] at
java.util.prefs.Preferences.importPreferences(Preferences.java:1138)
[middlegen] at middlegen.Prefs.init(Prefs.java:132)
[middlegen] at middlegen.MiddlegenTask.execute(MiddlegenTask.java:337)
[middlegen] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:171)
[middlegen] at org.apache.tools.ant.Task.perform(Task.java:313)
[middlegen] at org.apache.tools.ant.Target.execute(Target.java:309)
[middlegen] at
org.apache.tools.ant.Target.performTasks(Target.java:334)
[middlegen] at
org.apache.tools.ant.Project.executeTarget(Project.java:1216)
[middlegen] at
org.apache.tools.ant.Project.executeTargets(Project.java:1160)
[middlegen] at org.apache.tools.ant.Main.runBuild(Main.java:605)
[middlegen] at org.apache.tools.ant.Main.start(Main.java:195)
[middlegen] at org.apache.tools.ant.Main.main(Main.java:234)
BUILD FAILED
C:\middlegen4\samples\build.xml:129: middlegen.MiddlegenException: Couldn't
initialise preferences system:org.apache.xerces.dom.DeferredCommentImpl
Thanks,
Greg
time. Successive runs produce the following error. Deleting the
preferences file fixes the problem.
middlegen:
[middlegen] java.lang.ClassCastException:
org.apache.xerces.dom.DeferredCommentImpl
[middlegen] at
java.util.prefs.XmlSupport.importPreferences(XmlSupport.java:182)
[middlegen] at
java.util.prefs.Preferences.importPreferences(Preferences.java:1138)
[middlegen] at middlegen.Prefs.init(Prefs.java:132)
[middlegen] at middlegen.MiddlegenTask.execute(MiddlegenTask.java:337)
[middlegen] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:171)
[middlegen] at org.apache.tools.ant.Task.perform(Task.java:313)
[middlegen] at org.apache.tools.ant.Target.execute(Target.java:309)
[middlegen] at
org.apache.tools.ant.Target.performTasks(Target.java:334)
[middlegen] at
org.apache.tools.ant.Project.executeTarget(Project.java:1216)
[middlegen] at
org.apache.tools.ant.Project.executeTargets(Project.java:1160)
[middlegen] at org.apache.tools.ant.Main.runBuild(Main.java:605)
[middlegen] at org.apache.tools.ant.Main.start(Main.java:195)
[middlegen] at org.apache.tools.ant.Main.main(Main.java:234)
BUILD FAILED
C:\middlegen4\samples\build.xml:129: middlegen.MiddlegenException: Couldn't
initialise preferences system:org.apache.xerces.dom.DeferredCommentImpl
Thanks,
Greg