EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Bad Address Exception Android Lib

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#25967
Posted: 08/05/2013 16:45:32
by Houman Mas (Basic support level)
Joined: 08/05/2013
Posts: 1

Hi

When i Try to open solFSStorage I got a wierd Exception Message: Bad Address without any detail.I'm sure the address is right as logged below.


Code
try {
                         eldos.solfs.SolFSStorage solfs=new SolFSStorage();
solfs.setRegistrationKey("LicenseKeyProvidedByEldos");
solfs.setFileName(Environment.getExternalStorageDirectory()+"/Yasna.st");
Log.d("SOLFS",Environment.getExternalStorageDirectory()+"/Yasna.st");
                         solfs.SetPageSize(512);
                         solfs.open(StorageOpenMode.CreateNew);
                    } catch (SolFSException solex) {
                        Log.d("SOLFS", solex.getMessage());
                        Log.d("SOLFS", solex.getStackTrace().toString());
                    }


Some where else of my class:
Code
static {
      System.loadLibrary("jnisolfs");
    }


08-06 02:04:53.985: D/dalvikvm(28653): Trying to load lib /data/data/yasna.com.anbargardani/lib/libjnisolfs.so 0x41cf5530
08-06 02:04:53.985: D/dalvikvm(28653): Shared lib '/data/data/yasna.com.anbargardani/lib/libjnisolfs.so' already loaded in same CL 0x41cf5530
It its successfully loaded!
08-06 02:04:54.080: D/SOLFS(28653): /storage/sdcard0/Yasna.st
08-06 02:04:54.095: D/SOLFS(28653): Bad address
08-06 02:04:54.095: D/SOLFS(28653): [Ljava.lang.StackTraceElement;@41d02450
#25972
Posted: 08/06/2013 01:08:29
by Alexander Plas (EldoS Corp.)

Moved to HelpDesk
#26002
Posted: 08/06/2013 16:51:02
by Hmn Mas (Basic support level)
Joined: 08/06/2013
Posts: 1

Thanks ;)

Reply

Statistics

Topic viewed 2538 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!