You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/01/07 18:29:59 UTC

[jira] [Commented] (MARMOTTA-410) KiWi not initialized without network

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

ASF subversion and git services commented on MARMOTTA-410:
----------------------------------------------------------

Commit 31b83be3adc1c1de4a0abb091e6de325a508f265 in branch refs/heads/develop from [~wastl]
[ https://git-wip-us.apache.org/repos/asf?p=marmotta.git;h=31b83be ]

fix MARMOTTA-410


> KiWi not initialized without network
> ------------------------------------
>
>                 Key: MARMOTTA-410
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-410
>             Project: Marmotta
>          Issue Type: Bug
>          Components: KiWi Triple Store
>    Affects Versions: 3.1-incubating
>            Reporter: Sergio Fernández
>            Assignee: Sebastian Schaffert
>            Priority: Minor
>             Fix For: 3.2
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> During this Christmas break I've doing some work completely offline, when I detected that KiWi cannot correctly initialize without network:
> {quote}
> 09:47:58.447 INFO o.a.m.k.l.KiWiLoader - Initializing KiWiLoader for jdbc:postgresql://localhost:5432/marmotta?prepareThreshold=3; user: marmotta, password:        *
> 09:47:59.429 INFO o.a.m.k.c.KiWiCacheManager - initialised cache manager (single host)
> Exception in thread "main" java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at com.simontuffs.onejar.Boot.run(Boot.java:340)
> 	at com.simontuffs.onejar.Boot.main(Boot.java:166)
> Caused by: java.lang.NullPointerException
> 	at org.apache.marmotta.kiwi.generator.SnowflakeIDGenerator.getDatacenterId(SnowflakeIDGenerator.java:106)
> 	at org.apache.marmotta.kiwi.generator.SnowflakeIDGenerator.<init>(SnowflakeIDGenerator.java:66)
> 	at org.apache.marmotta.kiwi.persistence.KiWiPersistence.initialise(KiWiPersistence.java:121)
> 	at org.apache.marmotta.kiwi.sail.KiWiStore.initializeInternal(KiWiStore.java:112)
> 	at org.openrdf.sail.helpers.SailBase.initialize(SailBase.java:154)
> 	at org.openrdf.repository.sail.SailRepository.initializeInternal(SailRepository.java:97)
> 	at org.openrdf.repository.base.RepositoryBase.initialize(RepositoryBase.java:37)
> 	at org.apache.marmotta.kiwi.loader.KiWiLoader.initialize(KiWiLoader.java:457)
> 	at org.apache.marmotta.kiwi.loader.KiWiLoader.main(KiWiLoader.java:263)
> 	... 6 more
> {quote}
> I got the issue working with KiWi Loader, but I'd expect the whole KiWi Triplestore would be affected by such issue.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)