I am tryng to use lambdaj 2.4 with dependencies in my android application. However when I try to use following select statement:
List<MOExpectedIncidentData> list = select(listExpectedIncidentData,
having(on(MOExpectedIncidentData.class).TRAVELWAY_ID,
equalTo(travelWayId)));
I get following exception:
java.lang.VerifyError: net.sf.cglib.core.ReflectUtils
Here is the stack trace:
[ch.lambdaj.proxy.ProxyUtil.createEnhancer(ProxyUtil.java:89),ch.lambdaj.proxy.ProxyUtil.createProxy(ProxyUtil.java:49),ch.lambdaj.function.argument.ArgumentsFactory.createPlaceholder(ArgumentsFactory.java:68),ch.lambdaj.function.argument.ArgumentsFactory.registerNewArgument(ArgumentsFactory.java:58),ch.lambdaj.function.argument.ArgumentsFactory.createArgument(ArgumentsFactory.java:50),ch.lambdaj.function.argument.ArgumentsFactory.createArgument(ArgumentsFactory.java:39),ch.lambdaj.Lambda.on(Lambda.java:63),gov.mo.dot.timm.model.MODataManager.getAllIncidentCount(MODataManager.java:100),gov.mo.dot.timm.InterstateListActivity.handleDataParsed(InterstateListActivity.java:75),java.lang.reflect.Method.invokeNative(Native Method),java.lang.reflect.Method.invoke(Method.java:507),roboguice.event.eventListener.ObserverMethodListener.onEvent(ObserverMethodListener.java:32),roboguice.event.EventManager.fire(EventManager.java:130),gov.mo.dot.timm.model.MODataManager.getExpectedIncidentData(MODataManager.java:150),gov.mo.dot.timm.model.MODataManager.handleDataDownload(MODataManager.java:172),java.lang.reflect.Method.invokeNative(Native Method),java.lang.reflect.Method.invoke(Method.java:507),roboguice.event.eventListener.ObserverMethodListener.onEvent(ObserverMethodListener.java:32),roboguice.event.EventManager.fire(EventManager.java:130),gov.mo.dot.timm.tasks.DataDownloadTask.onSuccess(DataDownloadTask.java:70),gov.mo.dot.timm.tasks.DataDownloadTask.onSuccess(DataDownloadTask.java:29),roboguice.util.SafeAsyncTask$Task$2.call(SafeAsyncTask.java:210),roboguice.util.SafeAsyncTask$Task$6.run(SafeAsyncTask.java:275),android.os.Handler.handleCallback(Handler.java:587),android.os.Handler.dispatchMessage(Handler.java:92),android.os.Looper.loop(Looper.java:150),android.app.ActivityThread.main(ActivityThread.java:4263),java.lang.reflect.Method.invokeNative(Native Method),java.lang.reflect.Method.invoke(Method.java:507),com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839),com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597),dalvik.system.NativeStart.main(Native Method)]
Any idea on this will be very very helpful. I have already spent so much time to resolve this.
Thanks
Apurva
Related
I tried to create a new project in my android studio on my linux and it keeps giving me this error "Fatal error initializing plugin com.android.tools.ndk" please I need help
I restarted my pc
Fatal error initializing plugin com.android.tools.ndk
Ahhh this can be niggly sometimes!
Trying checking for updates, sometimes that can fix the problem.
It will be under file... Check for updates.. or something similar - i'm unfamiliar with the Linux layout.
When i use Espresso to test Android UI, I followed by https://google.github.io/android-testing-support-library/docs/espresso/setup/index.html,but it cannot work for me, and when I run the test, caused this error! But the android-testing samples (espresso/BasicSample)work's ok, when i change the applicationId, it doesn't work,
also caused this error.
Follow this documentation setup android UI test with Espresso: https://google.github.io/android-testing-support-library/docs/espresso/setup/index.html
This is my problem, I typed "Runner" to "Ruuner"...enter image description here
In my latest project , I use two native libraries.Some time it shows an error code in log cat
"05-13 14:00:09.930: A//system/bin/app_process(5774): stack corruption detected: aborted",
But sometimes it work properly.I dont know how to solve this problem any one please help me.
I updated my Phonegap (Cordova) project from 1.9 to 2.0 and am receiving the following two new errors:
Web Console
JSCallback Error: Request failed. at file file://android_assets/www/js/cordova-2.0.0.js:3698
and
dalvikvm
Could not find class 'android.webkit.WebResourceResponse', referenced from method org.apache.cordova.CordovaWebViewClient.generatedWebResourceResponse
Is this a known problem? I have searched but can't find a solution that addresses these issues. I have tried creating a new blank project and I am getting the same errors. I have also ensured Eclipse and the SDK manager are up to date.
Any help would be much appreciated.
Thank you.
Not sure about the first question as I need to know what you are doing when that log appears.
Regarding the second question:
https://stackoverflow.com/a/12043959/41679
Alright, I have been messing with this for a few hours now, and I can't figure out why I'm having issues.
I have been following the example from
http://xebee.xebia.in/2010/08/31/exploring-android-charting-and-graphs-solutions/
AND
I have already tried to create a fix using this link:
Android achartengine simple pie chart
AND
I have tried using the demo that achartengine provides Here.
But that project crashed immediately after selecting a chart type on my android device.
I am new to android, and have followed those two resources almost exactly, and I'm getting this:
Conversion to Dalvik format failed with error 1
None of my src files are showing up with errors, and I have added the new activity in AndroidManifest.xml and achartengine-1.0.0.jar into my libs folder
I am using Android 4.0.3 API Level 15
I can't believe I am having this much trouble with such a seemingly simple task, but I appreciate your help.
EDIT:
this is a snippit from my log:
07-04 17:03:58.650: E/AndroidRuntime(21611): FATAL EXCEPTION: main
07-04 17:03:58.650: E/AndroidRuntime(21611): java.lang.RuntimeException: Unable to start activity ComponentInfo{axiodesigns.com.caffeinezone2/axiodesigns.com.caffeinezone2.CzMain}: android.content.ActivityNotFoundException: Unable to find explicit activity class {axiodesigns.com.caffeinezone2/org.achartengine.GraphicalActivity}; have you declared this activity in your AndroidManifest.xml?
I have no activity called GraphicalActivity, and even after i added:
<activity android:name="GraphicalActivity"></activity>
I received the exact same error
quite a headscratcher
Found the fix, my build path was not recognizing that I had the .jar in my libs folder.
This fixed it:
The application AChartengine has stopped unexpectedly. Please try again
Thanks for the help all