Hi Oscar,

this error is related to the mapdb journal plugin (which is not an official part of akka-persistence). Please try using the LevelDB Java port (which is part of akka-persistence) i.e. make sure you have the following setting in application.conf:

akka.persistence.journal.leveldb.native = false

(and remove the mapdb plugin configuration). The LevelDB Java port doesn't use any native libs.

Does that help?

BTW why do you copy&paste settings from reference.conf into your application.conf file?

Cheers,
Martin

On 26.04.14 02:26, Oscar Vargas Torres wrote:
I think I'm getting closer, but still see the error at https://github.com/Optrak/akkaPersistenceWithAndroid/blob/master/errorMsg5.txt

On Friday, April 25, 2014 5:18:45 PM UTC-5, Oscar Vargas Torres wrote:

    As usually happens, Perry Nguyen has helped me and taught me
    something. He told me on irc channel #sbt-android that

    
https://github.com/Optrak/akkaPersistenceWithAndroid/blob/master/errorMsg2.txt#L203
    
<https://github.com/Optrak/akkaPersistenceWithAndroid/blob/master/errorMsg2.txt#L203>
    shows the guilty guy:

    pfn: can see what exactly is null there
    pfn: *public static final int CPU_DATA_MODEL =
    Integer.getInteger("sun.arch.data.model");*
    pfn:
    
https://github.com/dain/leveldb/blob/master/leveldb/src/main/java/org/iq80/leveldb/impl/Iq80DBFactory.java#L32
    
<https://github.com/dain/leveldb/blob/master/leveldb/src/main/java/org/iq80/leveldb/impl/Iq80DBFactory.java#L32>
    pfn: there you go
    pfn: *leveldb won't even work on android*
    pfn: there is no system property sun.arch.data.model
    pfn: so it returns null, unboxing to int => nullpointer

    So what are the alternatives?


--
Martin Krasser

blog:    http://krasserm.blogspot.com
code:    http://github.com/krasserm
twitter: http://twitter.com/mrt1nz

--
     Read the docs: http://akka.io/docs/
     Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
     Search the archives: https://groups.google.com/group/akka-user
--- You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to