You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Tobias Maile <me...@haus-wg.de> on 2002/11/15 15:07:08 UTC
XUpdate Exception: XML:DB Exception occured 1 Query Processing Error
Hello,
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(APIExceptionHelpe
r.java:112)
at org.apache.xindice.client.corba.db_CollectionStub.queryCollection
(_CollectionStub.java:833)
at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResul
t
(XUpdateQueryServiceImpl.java:165)
at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update
(XUpdateQueryServiceImpl.java:185)
at org.apache.xindice.examples.XUpdate.main(XUpdate.java:91)
XML:DB Exception occured 1 Query Processing Error
yours Tobias
Re: XUpdate Exception: XML:DB Exception occured 1 Query Processing
Error
Posted by "Vladimir R. Bossicard" <vl...@bossicard.com>.
> With chained exceptions the
> original exception will be passed through to the application.
> Vladimir, am I right?
You're absolutely right. I'm submitted the patch to the xapi-dev ml and
as soon as it is committed, I have the modifications for Xindice ready
to be committed.
-Vladimir
--
Vladimir R. Bossicard
www.bossicard.com
Re: XUpdate Exception: XML:DB Exception occured 1 Query Processing
Error
Posted by Terry Rosenbaum <Te...@amicas.com>.
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 <m....@signal.qinetiq.com> 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" <me...@haus-wg.de> 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:Lars.Martin@smb-tec.com
>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
>
>
>
Re: XUpdate Exception: XML:DB Exception occured 1 Query Processing Error
Posted by Lars Martin <La...@smb-tec.com>.
On 15 Nov 2002 17:13:28 +0000
Mike Hearn <m....@signal.qinetiq.com> 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" <me...@haus-wg.de> 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:Lars.Martin@smb-tec.com
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
Re: XUpdate Exception: XML:DB Exception occured 1 Query Processing
Error
Posted by Mike Hearn <m....@signal.qinetiq.com>.
Hi Lars,
Will this chained exceptions thing that's being worked on help with the
problem I'm seeing with an exception here?
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" <me...@haus-wg.de> 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)
>
> Regards.
> --
> ______________________________________________________________________
> Lars Martin mailto:Lars.Martin@smb-tec.com
> 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
--
Mike Hearn <m....@signal.qinetiq.com>
QinetiQ
Re: XUpdate Exception: XML:DB Exception occured 1 Query Processing Error
Posted by Lars Martin <La...@smb-tec.com>.
On Fri, 15 Nov 2002 15:07:08 +0100
"Tobias Maile" <me...@haus-wg.de> 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)
Regards.
--
______________________________________________________________________
Lars Martin mailto:Lars.Martin@smb-tec.com
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