I am developing a mobile application in android using the Perst database in eclipse but when i try to run the database query, the logcat generates following error :

05-14 18:14:23.406: D/ddm-heap(2714): Got feature list request 05-14 18:14:25.836: I/dalvikvm(2714): Could not find method org.garret.perst.StorageFactory.getInstance, referenced from method sphinx.worlds.LimeNDine.convertToCelsius 05-14 18:14:25.836: W/dalvikvm(2714): VFY: unable to resolve static method 17: Lorg/garret/perst/StorageFactory;.getInstance ()Lorg/garret/perst/StorageFactory; 05-14 18:14:25.836: D/dalvikvm(2714): VFY: replacing opcode 0x71 at 0x0007 05-14 18:14:25.836: D/dalvikvm(2714): Making a copy of Lsphinx/worlds/LimeNDine;.convertToCelsius code (104 bytes) 05-14 18:14:27.755: D/AndroidRuntime(2714): Shutting down VM 05-14 18:14:27.766: W/dalvikvm(2714): threadid=3: thread exiting with uncaught exception (group=0x4001b188) 05-14 18:14:27.766: E/AndroidRuntime(2714): Uncaught handler: thread main exiting due to uncaught exception 05-14 18:14:27.776: E/AndroidRuntime(2714): java.lang.NoClassDefFoundError: org.garret.perst.StorageFactory 05-14 18:14:27.776: E/AndroidRuntime(2714): at sphinx.worlds.LimeNDine.convertToCelsius(LimeNDine .java:63) 05-14 18:14:27.776: E/AndroidRuntime(2714): at sphinx.worlds.LimeNDine.access$0(LimeNDine.java:60 ) 05-14 18:14:27.776: E/AndroidRuntime(2714): at sphinx.worlds.LimeNDine$ToCelsiusHandler.onClick(L imeNDine.java:56) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.view.View.performClick(View.java:2364) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.view.View.onTouchEvent(View.java:4179) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.widget.TextView.onTouchEvent(TextView.java :6541) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.view.View.dispatchTouchEvent(View.java:370 9) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:884) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:884) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:884) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:884) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.view.ViewGroup.dispatchTouchEvent(ViewGrou p.java:884) 05-14 18:14:27.776: E/AndroidRuntime(2714): at com.android.internal.policy.impl.PhoneWindow$Decor View.superDispatchTouchEvent(PhoneWindow.java:1659 ) 05-14 18:14:27.776: E/AndroidRuntime(2714): at com.android.internal.policy.impl.PhoneWindow.super DispatchTouchEvent(PhoneWindow.java:1107) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.app.Activity.dispatchTouchEvent(Activity.j ava:2061) 05-14 18:14:27.776: E/AndroidRuntime(2714): at com.android.internal.policy.impl.PhoneWindow$Decor View.dispatchTouchEvent(PhoneWindow.java:1643) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.view.ViewRoot.handleMessage(ViewRoot.java: 1691) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.os.Handler.dispatchMessage(Handler.java:99 ) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.os.Looper.loop(Looper.java:123) 05-14 18:14:27.776: E/AndroidRuntime(2714): at android.app.ActivityThread.main(ActivityThread.jav a:4363) 05-14 18:14:27.776: E/AndroidRuntime(2714): at java.lang.reflect.Method.invokeNative(Native Method) 05-14 18:14:27.776: E/AndroidRuntime(2714): at java.lang.reflect.Method.invoke(Method.java:521) 05-14 18:14:27.776: E/AndroidRuntime(2714): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:860) 05-14 18:14:27.776: E/AndroidRuntime(2714): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:618) 05-14 18:14:27.776: E/AndroidRuntime(2714): at dalvik.system.NativeStart.main(Native Method) 05-14 18:14:27.785: I/dalvikvm(2714): threadid=7: reacting to signal 3 05-14 18:14:27.785: E/dalvikvm(2714): Unable to open stack trace file '/data/anr/traces.txt': Permission denied 05-14 18:14:30.417: I/Process(2714): Sending signal. PID: 2714 SIG: 9

Here is the code :

import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView;

public class LimeNDine extends Activity {

private Button Button = null;
private TextView View1 = null;
private TextView txtViewEnd = null;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
View1 = new TextView(this);
txtViewEnd = new TextView(this);


Button = new Button(this);
Button.setText("Action");

LinearLayout row1 = new LinearLayout(this);
row1.addView(Button);

LinearLayout row2 = new LinearLayout(this);
row2.addView( View1);

LinearLayout row4 = new LinearLayout(this);
row4.addView(txtViewEnd);

LinearLayout mainLayout = new LinearLayout(this);
mainLayout.setOrientation(LinearLayout.VERTICAL);
mainLayout.addView(row1);
mainLayout.addView(row2);
mainLayout.addView(row4);

setContentView(mainLayout);

Button.setOnClickListener(new ToCelsiusHandler());
}

private class ToCelsiusHandler extends DatabaseQueries implements View.OnClickListener
{
public void onClick(View v)
{
convertToCelsius();
}
}

private void convertToCelsius()
{
View1.setText("Started...");
Storage storage = StorageFactory.getInstance().createStorage();
storage.open("pgTest.dbs");
View1.setText("DB Open...");
Database db = new Database(storage);
txtViewEnd.setText("End...");
storage.close();
}
}

PLease help me resolve this query