The "1.1" code in CVS has this issue fixed.
I submitted patches perhaps a couple months
ago that were checked in. The original XMLDB
exceptions are now carried in the exception chain
and, as I recall, displayed when Exception.toString()
is applied. I have no plans to backport those fixes
to 1.0. You can now get, for example, a clear
picture of invalid XUpdate commands whereas
before you got no hint of what was wrong.
-Terry
Lars Martin wrote:
On 15 Nov 2002 17:13:28 +0000
Mike Hearn <[EMAIL PROTECTED]> wrote:
Hi Lars,
Will this chained exceptions thing that's being worked on help with the
problem I'm seeing with an exception here?
I don't know this exception. But I hope that chanined exceptions will
help us to make application development and debugging easier. With
the current XML:DB API we have the problem that exceptions occurred
in Lexus or the API implementation are not be visible with stack
traces in Xindice or other applications. With chained exceptions the
original exception will be passed through to the application.
Vladimir, am I right?
Regards, Lars.
java.lang.NullPointerException
at
org.apache.xindice.core.DocumentCache$CacheKey.equals(DocumentCache.java:171)
thanks -mike
On Fri, 2002-11-15 at 16:41, Lars Martin wrote:
On Fri, 15 Nov 2002 15:07:08 +0100
"Tobias Maile" <[EMAIL PROTECTED]> wrote:
I'm using WIN2k, jdk1.4.0, and Xindice 1.0 (also Xindice 1.0rc2)
I have a problem with XUpdate in my application. Also the example code
is not running (org.apache.xindice.examples.XUpdate). Did anyone know
how to solve my problem?
org.apache.xindice.client.corba.db.APIException:
IDL:org/apache/xindice/client/corba/db/APIException:1.0
at
org.apache.xindice.client.corba.db.APIExceptionHelper.read(APIException
Helpe r.java:112)
at org.apache.xindice.client.corba.db_CollectionStub.queryCollection
(_CollectionStub.java:833)
at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update
Resul t
(XUpdateQueryServiceImpl.java:165)
at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.upda
te
(XUpdateQueryServiceImpl.java:185)
at org.apache.xindice.examples.XUpdate.main(XUpdate.java:91)
XML:DB Exception occured 1 Query Processing Error
If you think that this error belongs to XUpdate (either an error in
implementation or wrong XUpdate syntax) please execute your XUpdate
without the Xindice server. Lexus provides a command line interface
for testing.
Otherwise you have to wait until Vladimir B. has finised his impl.
of chained exceptions for XML:DB XAPI. :o)
--
______________________________________________________________________
Lars Martin mailto:[EMAIL PROTECTED]
SMB GmbH http://www.smb-tec.com
D-04347 Leipzig Rohrteichstrasse 18
Tel: +49-(0)341-699 46 04 Fax: +49-(0)341-699 47 04
Product Management BusinessServer BS1