[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Commented: (XMLBEANS-385) XQueryXPath example fails to run
From:       "Radu Preotiuc-Pietro (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2008-12-01 18:41:44
Message-ID: 1382722997.1228156904475.JavaMail.jira () brutus
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLBEANS-385?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652087#action_12652087 ] 

Radu Preotiuc-Pietro commented on XMLBEANS-385:
-----------------------------------------------

Isn't this a duplicate of XMLBEANS-383?


> XQueryXPath example fails to run
> --------------------------------
> 
> Key: XMLBEANS-385
> URL: https://issues.apache.org/jira/browse/XMLBEANS-385
> Project: XMLBeans
> Issue Type: Bug
> Affects Versions: Version 2.2
> Environment: Mac os 10.5
> Using Saxon8.6.1 and xmlbeans 2.2
> Reporter: Dirk Joosen
> Priority: Blocker
> 
> Gents.
> It seems that XQueryXPath isn't working with versions I used.
> I took exactly the same version described for version 2.2 of xmlbeans.
> In my onwn project I get the same Error as when I run the example wich I dowloaded \
>                 from your side.
> Buildfile: build.xml
> init:
> [echo] xmlbeans.home: /Users/dirkjoosen/Data/Downloads/xmlbeans-2.2.0
> [echo] xmlbeans.lib: /Users/dirkjoosen/Data/Downloads/xmlbeans-2.2.0/lib
> schemas.check:
> schemas.jar:
> XQueryXPath.classes:
> build:
> run:
> [echo] ============================== running XQueryXPath
> [java] Running ExecQuery.selectEmpsByStateCursor
> [java] 
> [java] Exception in thread "main" java.lang.NullPointerException
> [java]     at net.sf.saxon.query.StaticQueryContext.buildDocument(StaticQueryContext.java:412)
>  [java]     at org.apache.xmlbeans.impl.xquery.saxon.XBeansXQuery.execQuery(XBeansXQuery.java:74)
>  [java]     at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl$SaxonQueryEngine.cursorExecute(Query.java:345)
>  [java]     at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl.cursorExecute(Query.java:243)
>  [java]     at org.apache.xmlbeans.impl.store.Query.cursorExecQuery(Query.java:48)
> [java]     at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1336)
> [java]     at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1331)
> [java]     at org.apache.xmlbeans.impl.store.Cursor.execQuery(Cursor.java:3839)
> [java]     at org.apache.xmlbeans.samples.xquery.ExecQuery.updateWorkPhone(ExecQuery.java:74)
>  [java]     at org.apache.xmlbeans.samples.xquery.XQueryXPath.executeQueries(XQueryXPath.java:75)
>  [java]     at org.apache.xmlbeans.samples.xquery.XQueryXPath.main(XQueryXPath.java:54)
>  [java] Java Result: 1
> Please any advice
> Regards Dirk

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic