You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Jindřich Mynarz <my...@gmail.com> on 2016/06/29 09:25:31 UTC

riot --nocheck raises a NullPointerException

Hi,

executing "riot --nocheck file.ttl" raises a NullPointerException:

java.lang.NullPointerException
at java.util.Objects.requireNonNull(Objects.java:203)
at
org.apache.jena.riot.system.ParserProfileBase.<init>(ParserProfileBase.java:52)
at org.apache.jena.riot.system.RiotLib.profile(RiotLib.java:181)
at riotcmd.CmdLangParse.parseRIOT(CmdLangParse.java:277)
at riotcmd.CmdLangParse.parseFile(CmdLangParse.java:202)
at riotcmd.CmdLangParse.parseFile(CmdLangParse.java:192)
at riotcmd.CmdLangParse.exec$(CmdLangParse.java:164)
at riotcmd.CmdLangParse.exec(CmdLangParse.java:132)
at jena.cmd.CmdMain.mainMethod(CmdMain.java:93)
at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
at riotcmd.riot.main(riot.java:34)

Am I missing something in the command? I tried it on various files, so it
seems to be a generic problem.

riot --version:

Jena:       VERSION: 3.1.0
Jena:       BUILD_DATE: 2016-05-10T11:59:39+0000
RIOT:       VERSION: 3.1.0
RIOT:       BUILD_DATE: 2016-05-10T11:59:39+0000

- Jindřich

-- 
Jindřich Mynarz
http://mynarz.net/#jindrich

Re: riot --nocheck raises a NullPointerException

Posted by Andy Seaborne <an...@apache.org>.
Thanks for the report.

This is already fixed in the development master branch (commit b43dfcf) 
and should be in a dev build.

	Andy

On 29/06/16 10:25, Jind\u0159ich Mynarz wrote:
> Hi,
>
> executing "riot --nocheck file.ttl" raises a NullPointerException:
>
> java.lang.NullPointerException
> at java.util.Objects.requireNonNull(Objects.java:203)
> at
> org.apache.jena.riot.system.ParserProfileBase.<init>(ParserProfileBase.java:52)
> at org.apache.jena.riot.system.RiotLib.profile(RiotLib.java:181)
> at riotcmd.CmdLangParse.parseRIOT(CmdLangParse.java:277)
> at riotcmd.CmdLangParse.parseFile(CmdLangParse.java:202)
> at riotcmd.CmdLangParse.parseFile(CmdLangParse.java:192)
> at riotcmd.CmdLangParse.exec$(CmdLangParse.java:164)
> at riotcmd.CmdLangParse.exec(CmdLangParse.java:132)
> at jena.cmd.CmdMain.mainMethod(CmdMain.java:93)
> at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
> at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
> at riotcmd.riot.main(riot.java:34)
>
> Am I missing something in the command? I tried it on various files, so it
> seems to be a generic problem.
>
> riot --version:
>
> Jena:       VERSION: 3.1.0
> Jena:       BUILD_DATE: 2016-05-10T11:59:39+0000
> RIOT:       VERSION: 3.1.0
> RIOT:       BUILD_DATE: 2016-05-10T11:59:39+0000
>
> - Jind\u0159ich
>