Pardon my lack of caffeine this morning, but I am slightly wrong (well, 100% wrong in my analysis, but that doesn't help me much :) )
The Source Code appears logical, it does pass a string to to a method expecting a string. However the error I am getting complains about line 145 of TorqueObjectModelTask.java > at > org.apache.turbine.torque.TorqueObjectModelTask.initControlContext(To > rqueObjectModelTask.java:145) This line in the current source for tdk2.1 that I have is: 145: XmlToAppData xmlParser = new XmlToAppData(); It might be that the TDK pack is out of sync with the source, as I think the code has adjusted slightly. Help.. Paul -----Original Message----- From: Paul Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:23 AM To: 'Turbine Users List' Subject: RE: TDK error? java.lang.VerifyError No, sorry, not using Jikes, just using plain old JDK 1.3.1. :( -----Original Message----- From: Stephen Haberman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:10 AM To: 'Turbine Users List' Subject: RE: TDK error? java.lang.VerifyError Are you using Jikes 1.15? If so, it's a known bug in Jikes. Using Javac or Jikes 1.14 should fix the problem. - Stephen > -----Original Message----- > From: Paul Smith [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 10, 2002 6:04 PM > To: Turbine Users List (E-mail) > Subject: TDK error? java.lang.VerifyError > > Is there a known problem with the TDK 2.1 available to download? I can't > seem to use automatic Peer generation with the TDK. > > After getting a fresh copy of the TDK from the Jakarta site, and doing a > very simple test: > > * run ant from the tdk directory to generate the default 'newapp' app > * cd to the build directory of newapp, and use 'ant project-om' to execute > the Peer generation portion of the script (I know this bypasses a few other > steps, but I've proven that even if the prior steps run ok, this still > happens). > > I get the following error: > > java.lang.VerifyError: (class: > org/apache/turbine/torque/engine/database/transfo > rm/XmlToAppData, method: parseFile signature: > (Ljava/lang/String;)Lorg/apache/tu > rbine/torque/engine/database/model/AppData;) Incompatible object argument > for fu > nction call > at > org.apache.turbine.torque.TorqueObjectModelTask.initControlContext(To > rqueObjectModelTask.java:145) > at org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java) > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:104) > at org.apache.tools.ant.Task.perform(Task.java:217) > at org.apache.tools.ant.Target.execute(Target.java:184) > at org.apache.tools.ant.Target.performTasks(Target.java:202) > at org.apache.tools.ant.Project.executeTarget(Project.java:601) > at org.apache.tools.ant.Project.executeTargets(Project.java:560) > at org.apache.tools.ant.Main.runBuild(Main.java:454) > at org.apache.tools.ant.Main.start(Main.java:153) > at org.apache.tools.ant.Main.main(Main.java:176) > > Total time: 3 seconds > (class: org/apache/turbine/torque/engine/database/transform/XmlToAppData, > method > : parseFile signature: > (Ljava/lang/String;)Lorg/apache/turbine/torque/engine/dat > abase/model/AppData;) Incompatible object argument for function call > > I also note that someone has posted this same error on the list: > http://www.mail-archive.com/[email protected]/msg06715.htm l > > but I cannot see any resolution to the problem. The source code shows that > it is expecting a string, but getting an XmlToAppData object: > > TorqueObjectModelTask.java: > > 145: XmlToAppData xmlParser = new XmlToAppData(); > 146: > 147: app = xmlParser.parseFile(xmlFile); > > XmlToAppData.java > > 122: public AppData parseFile(String xmlFile) > > Can someone please help us here, otherwise we cannot use automatic Peer > generation. > > regards, > > Paul Smith > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
