directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Annapoorna Shanmugam <shanmugam.annapoo...@gmail.com>
Subject Apache Directory Ldap
Date Wed, 12 Feb 2014 10:33:47 GMT
Is Apache Directory Ldap api applicable to android applications that
connect and search ldap server? I tried to use apache ldap api in an
android app, and I got NoClassDefFound error for LdapNetworkConnection and
some errors like :

02-12 05:26:37.010: E/AndroidRuntime(1257):
java.lang.IllegalStateException: Could not execute method of the activity
02-12 05:26:37.010: E/AndroidRuntime(1257): at
android.view.View$1.onClick(View.java:3814)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
android.view.View.performClick(View.java:4424)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
android.view.View$PerformClick.run(View.java:18383)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
android.os.Handler.handleCallback(Handler.java:733)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
android.os.Handler.dispatchMessage(Handler.java:95)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
android.os.Looper.loop(Looper.java:137)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
android.app.ActivityThread.main(ActivityThread.java:4998)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
java.lang.reflect.Method.invokeNative(Native Method)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
java.lang.reflect.Method.invoke(Method.java:515)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
dalvik.system.NativeStart.main(Native Method)
02-12 05:26:37.010: E/AndroidRuntime(1257): Caused by:
java.lang.reflect.InvocationTargetException
02-12 05:26:37.010: E/AndroidRuntime(1257): at
java.lang.reflect.Method.invokeNative(Native Method)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
java.lang.reflect.Method.invoke(Method.java:515)
02-12 05:26:37.010: E/AndroidRuntime(1257): at
android.view.View$1.onClick(View.java:3809)
02-12 05:26:37.010: E/AndroidRuntime(1257): ... 11 more
02-12 05:26:37.010: E/AndroidRuntime(1257): Caused by:
java.lang.NoClassDefFoundError:
org.apache.directory.ldap.client.api.LdapNetworkConnection
02-12 05:26:37.010: E/AndroidRuntime(1257): at
com.example.apachetest.MainActivity.show(MainActivity.java:38)
02-12 05:26:37.010: E/AndroidRuntime(1257): ... 14 more
Thanks,
Annapoorna

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message