cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6545) NPE in WebClient post / response.readEntity
Date Mon, 17 Aug 2015 15:44:45 GMT

    [ https://issues.apache.org/jira/browse/CXF-6545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699709#comment-14699709
] 

Chris A. Mattmann commented on CXF-6545:
----------------------------------------

Hey Sergey thanks. It seems to be the same issue though as in the mail-archives above, that
is, how CXF is packaged. The odd thing is that it's just a transitive dependency in Tika app
(same as Tika Server where it works). I'll comment over on TIKA-1712 thanks man.

> NPE in WebClient post / response.readEntity
> -------------------------------------------
>
>                 Key: CXF-6545
>                 URL: https://issues.apache.org/jira/browse/CXF-6545
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Chris A. Mattmann
>            Assignee: Sergey Beryozkin
>
> I seem to be having the same problem as this person:
> http://mail-archives.apache.org/mod_mbox/cxf-users/201408.mbox/%3C53E9D5DD.7060602@gmail.com%3E
> For whatever reason CXF cxf-rt-rs-client 3.0.3 works fine in Tika-Server (our JAX-RS
rest App); however when I run it in tika-app i get a failure very similar to that described
above:
> {noformat}
> [chipotle:~/src/tika-app] mattmann% java -classpath $HOME/git/grobidparser-resources/:target/tika-app-1.11-SNAPSHOT.jar
org.apache.tika.cli.TikaCLI --config=$HOME/git/grobidparser-resources/tika-config.xml -J $HOME/git/grobid/papers/ICSE06.pdf
> REST URL STRING IS http://localhost:8080
> java.lang.NullPointerException
> 	at org.apache.cxf.jaxrs.client.AbstractClient.setupOutInterceptorChain(AbstractClient.java:847)
> 	at org.apache.cxf.jaxrs.client.AbstractClient.createMessage(AbstractClient.java:924)
> 	at org.apache.cxf.jaxrs.client.WebClient.finalizeMessage(WebClient.java:1109)
> 	at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1082)
> 	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:883)
> 	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:854)
> 	at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:320)
> 	at org.apache.cxf.jaxrs.client.WebClient.post(WebClient.java:329)
> 	at org.apache.tika.parser.journal.GrobidRESTParser.parse(GrobidRESTParser.java:69)
> 	at org.apache.tika.parser.journal.JournalParser.parse(JournalParser.java:67)
> 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:177)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> 	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
> 	at org.apache.tika.parser.RecursiveParserWrapper.parse(RecursiveParserWrapper.java:158)
> 	at org.apache.tika.cli.TikaCLI.handleRecursiveJson(TikaCLI.java:504)
> 	at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:484)
> 	at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:139)
> java.lang.NullPointerException
> 	at org.apache.tika.parser.journal.GrobidRESTParser.parse(GrobidRESTParser.java:76)
> 	at org.apache.tika.parser.journal.JournalParser.parse(JournalParser.java:67)
> 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:177)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> 	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
> 	at org.apache.tika.parser.RecursiveParserWrapper.parse(RecursiveParserWrapper.java:158)
> 	at org.apache.tika.cli.TikaCLI.handleRecursiveJson(TikaCLI.java:504)
> 	at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:484)
> 	at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:139)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message