Comments (5)
I'll see if I can add a check around it for the existence of that method.
from eve.
Can you check the latest commit to the release branch? It should protect against this issue...
from eve.
Thank you for the quick fix. The updated version of EVE does (still) work on the Nexus 5 and now also the Samsung SII, but for Android 2.2 it's still broken. This may be due to our use of Proguard, I'll take a look at that right now. If that doesn't work, I'll let you know.
FYI the current error on a HTC Wildfire running Android 2.2.1.
04-02 13:55:46.219 1013-1021/com.askcs.standby E/AndroidRuntime﹕ FATAL EXCEPTION: com.askcs.standby.common.MainService_fg
java.lang.NoSuchMethodError: java.io.IOException.<init>
at com.almende.eve.transport.xmpp.AgentConnection.connect(AgentConnection.java:161)
at com.almende.eve.transport.xmpp.XmppService.connect(XmppService.java:307)
at com.almende.eve.transport.xmpp.XmppService.reconnect(XmppService.java:564)
at com.almende.eve.agent.Agent.signalAgent(Agent.java:254)
at com.almende.eve.agent.AgentHostDefImpl.signalAgents(AgentHostDefImpl.java:111)
at com.almende.eve.agent.AgentHostDefImpl.addTransportService(AgentHostDefImpl.java:757)
at com.askcs.standby.common.MainService$2.run(MainService.java:409)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:143)
at android.os.HandlerThread.run(HandlerThread.java:60)
Update:
I guess it's unrelated to our use of Proguard, because that should have caused the same issues on Android 4.4 devices, which it doesn't.
Instant update:
Seems like it was a Proguard problem for some reason.
I've added these two Proguard exceptions in our configuration. Not sure if they are both necessary (in our configuration the second one is probably already kept):
-keep class java.util.concurrent.ConcurrentNavigableMap.** { *; }
-keep class com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.** { *; }
from eve.
@ludost I updated my previous comment. For now it seems like the fix solved our problem. Thank you!
Although the error is still displayed in logcat, the app does not crash:
04-02 14:19:29.649 1328-1338/com.askcs.standby E/dalvikvm﹕ Could not find class 'java.util.concurrent.ConcurrentNavigableMap', referenced from method com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.<clinit>
from eve.
Thanks!
from eve.
Related Issues (20)
- URL selection change to Map HOT 2
- Several classes not found when running on older Android (I am trying 2.2 / api 8) HOT 1
- getMethods gives null pointer HOT 2
- getServletRegistrations() no such method HOT 1
- Eve-Java: Parameter with a confusing name in Scheduler.createTask
- Plans for a Ruby implementation? HOT 2
- JAVA: Possible bug with @Required(false) parameters HOT 2
- Http Calls fail HOT 1
- christos HOT 1
- UUID NoClassDefFoundError exceptions HOT 2
- JSONRPCException: Couldn't handle XMPP return causing Android ANR errors HOT 4
- Share one xmpp connection (address) over multiple agents HOT 1
- Adding External Jars HOT 2
- Platform shutdown method HOT 1
- Release 2.2.1 HOT 2
- IllegalStateException in JSONRPC.init() HOT 8
- Create/Destroy eve agents through methods HOT 1
- @Name for methods? HOT 1
- Obtain the access tag value via JSON-RPC HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eve.