cxf-issues mailing list archives

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

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

Sergey Beryozkin commented on CXF-6545:
---------------------------------------

Hi Chris, np at all, 
in tika-server each CXF module (specifically cxf-core and cxf-rt-transports-http) has its
own bus-extensions resource, so it works, but with tika app I guess the last bus-extensions.txt
file 'wins' and possibly overrides the one added earlier, not 100% sure :-), but something
like that...

Cheers, Sergey 

> 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