2

I am trying to import a json in spoon. It works just fine with a file .json but when I try it from a URL I get the Unexpected Error, followed by the java null pointer exception, when executing the transformation.

I get the same error with "JSON input", and with "Get content" followed by "extract from stream" which seems to be very alike.

For the simple test I used for URL : http://echo.jsontest.com/name/James/age/25

I tried with the "Json INPUT", selected the checkbox field as an URL, tried with the URL above (with and without the http://). And in the fields parametre I used the same ones that worked well with a file input (instead of URL). So the JSONPATH are $.name and $.age

I also tried starting from the sample data "Json input - read incoming stream" and switching it to URL like it was described in this post : http://forums.pentaho.com/showthread.php?135741-Issues-with-JSON-Input-step

I am working on a distant server running on debian (jessie version). I use pentaho 6.1

I feel like I've tried everything but I might be missing something obvious.

I apologize for my poor level of english. If more information is needed just ask. Thank you.

4

1 回答 1

0

我又重新开始了。它现在有效,但我不知道为什么。

于 2016-06-17T11:57:41.573 回答