You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Jason Vinson <vi...@charter.net> on 2004/12/22 16:28:03 UTC
[digester] Problems with Custom Rules
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
We have (what i think is) a complex digester problem, and I'm hoping
the Gurus here can help me fix it. I have the following code
http://rafb.net/paste/results/gUeCSw49.html
Which is supposed to parse the following XML
http://vinsonizer.dyndns.org/~jason/SampleBusinessKYCRequest.xml
into a list of objects. But i get the following error when I try to
run it:
com.semagix.apps.ciras.exception.CirasRuntimeException: Error at (1,
- -1: No such accessible method: add() on object:
com.semagix.apps.ciras.model.OrganizationKYCRequest
~ at
com.semagix.apps.ciras.util.KYCRequestDigester.parseKYCRequest(KYCRequestDigester.java:64)
~ at
com.semagix.apps.ciras.util.KYCRequestDigesterTest.testParseOrganizationKYCRequest(KYCRequestDigesterTest.java:65)
~ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~ at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
~ at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
~ at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
~ at java.lang.reflect.Method.invoke(Method.java:391)
~ at junit.framework.TestCase.runTest(TestCase.java:154)
~ at junit.framework.TestCase.runBare(TestCase.java:127)
~ at junit.framework.TestResult$1.protect(TestResult.java:106)
~ at junit.framework.TestResult.runProtected(TestResult.java:124)
~ at junit.framework.TestResult.run(TestResult.java:109)
~ at junit.framework.TestCase.run(TestCase.java:118)
~ at junit.framework.TestSuite.runTest(TestSuite.java:208)
~ at junit.framework.TestSuite.run(TestSuite.java:203)
~ at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
~ at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
~ at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
I want the add to take place on the ArrayList, not the KYCRequest object.
Anyone have any suggestions?
Thanks,
Jason
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFByZKDAQ71cZOfvEQRAgIXAJ9Pa7TfWtF0A3AVblh7P7T4X7CL8ACfQruj
zFcUgFrS4qhQhTbPrlg0m7I=
=CRrM
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org