Hi Jörg, Many thanks for you input on this issue. I think I will have to debug it with XSTREAM source. With your pointer I should be able.
The whole issue is quite odd to me as it affects only certain DEVICES/ROMS. Also the exception I gave in my first message was what I saw but somehow trying again on the 2 faulty devices gave me another exception less talkative somehow not sure if this is related to first exception I got to see. I will search further on this exception.... Anyway to be specific bellow the information I collected. NOTE this is for an APP that is FREE and not published except on XDA Here is the link http://forum.xda-developers.com/showthread.php?t=2290996 I do that more as an amateur :) though I know quite alright my way around it is the first time I feel blocked about an issue..generally always find solutions on the internet. Many thanks again Cheers Jean-Marc INFO Using Android 4.4.2 I've try with xstream-1.4.6 xstream-1.4.7 xstream-1.5.0-SNAPSHOT calling fs = new FileOutputStream(extStorageDirectory); xStream.toXML(serialize, fs); Gives me this exception bellow NOTE de-serializing is all fine.. :11.060: E/AndroidRuntime(8811): FATAL EXCEPTION: main 08-10 13:11:11.060: E/AndroidRuntime(8811): Process: com.PitonDEV.remoteGate, PID: 8811 08-10 13:11:11.060: E/AndroidRuntime(8811): java.lang.NoClassDefFoundError: [generic] 08-10 13:11:11.060: E/AndroidRuntime(8811): at dalvik.system.NativeStart.main(Native Method) Bellow the LogCat before the exception happen for OK devices and KO one. OK=>GS4 GT-I9505 Android 4.4.2 KERNEL 3.40 CUSTOM ROM Omega v34 - XXUGNG2 08-10 12:08:40.184: D/dalvikvm(8688): GC_FOR_ALLOC freed 1382K, 13% free 23491K/26920K, paused 20ms, total 21ms 08-10 12:08:40.645: D/dalvikvm(8688): GC_FOR_ALLOC freed 2119K, 13% free 23467K/26956K, paused 24ms, total 24ms 08-10 12:08:40.985: D/dalvikvm(8688): GC_FOR_ALLOC freed 2063K, 13% free 23493K/26956K, paused 24ms, total 24ms 08-10 12:08:41.956: D/dalvikvm(8688): GC_FOR_ALLOC freed 6237K, 25% free 23549K/31156K, paused 36ms, total 36ms 08-10 12:08:42.116: I/Choreographer(8688): Skipped 140 frames! The application may be doing too much work on its main thread. 08-10 12:08:42.136: E/ViewRootImpl(8688): sendUserActionEvent() mView == null KO=>NOTE 2 GT-N7100 Android 4.4.2 KERNEL 3.0.31 KOT49H.N7100XXUFNE1 08-10 11:34:25.796: D/dalvikvm(17802): GC_FOR_ALLOC freed 2080K, 18% free 14674K/17756K, paused 21ms, total 21ms 08-10 11:34:34.886: D/dalvikvm(17802): GC_FOR_ALLOC freed 2309K, 19% free 14725K/18036K, paused 23ms, total 23ms 08-10 11:34:42.876: D/dalvikvm(17802): GC_FOR_ALLOC freed 2375K, 19% free 14727K/18104K, paused 22ms, total 22ms 08-10 11:34:49.961: D/dalvikvm(17802): GC_FOR_ALLOC freed 2349K, 19% free 14757K/18108K, paused 23ms, total 24ms 08-10 11:34:56.461: D/dalvikvm(17802): GC_FOR_ALLOC freed 2318K, 19% free 14828K/18148K, paused 24ms, total 24ms 08-10 11:34:57.021: W/dalvikvm(17802): Unable to match class for part: 'Lorg/codeaurora/Performance;' 08-10 11:35:15.051: D/AndroidRuntime(17802): Shutting down VM 08-10 11:35:15.056: W/dalvikvm(17802): threadid=1: thread exiting with uncaught exception (group=0x41dd2c08) 08-10 11:35:15.061: E/AndroidRuntime(17802): FATAL EXCEPTION: main 08-10 11:35:15.061: E/AndroidRuntime(17802): Process: com.PitonDEV.remoteGate, PID: 17802 08-10 11:35:15.061: E/AndroidRuntime(17802): java.lang.NoClassDefFoundError: [generic] 08-10 11:35:15.061: E/AndroidRuntime(17802): at dalvik.system.NativeStart.main(Native Method) KO=>TAB S SM-T800 Android 4.4.2 KERNEL 3.4.39 BUILD KOT49H.T800XXU1ANFB 08-10 11:53:36.660: D/dalvikvm(3881): GC_FOR_ALLOC freed 2618K, 27% free 10485K/14280K, paused 18ms, total 18ms 08-10 11:53:43.260: D/dalvikvm(3881): GC_FOR_ALLOC freed 2093K, 27% free 10440K/14280K, paused 18ms, total 18ms 08-10 11:53:48.540: D/dalvikvm(3881): GC_FOR_ALLOC freed 2038K, 27% free 10449K/14280K, paused 17ms, total 17ms 08-10 11:53:53.675: D/dalvikvm(3881): GC_FOR_ALLOC freed 2026K, 27% free 10470K/14280K, paused 18ms, total 18ms 08-10 11:53:58.145: D/dalvikvm(3881): GC_FOR_ALLOC freed 2011K, 27% free 10507K/14280K, paused 17ms, total 17ms 08-10 11:54:01.660: W/dalvikvm(3881): Unable to match class for part: 'Lorg/codeaurora/Performance;' 08-10 11:54:11.555: D/AndroidRuntime(3881): Shutting down VM 08-10 11:54:11.555: W/dalvikvm(3881): threadid=1: thread exiting with uncaught exception (group=0x41759c08) 08-10 11:54:11.565: E/AndroidRuntime(3881): FATAL EXCEPTION: main 08-10 11:54:11.565: E/AndroidRuntime(3881): Process: com.PitonDEV.remoteGate, PID: 3881 08-10 11:54:11.565: E/AndroidRuntime(3881): java.lang.NoClassDefFoundError: [generic] 08-10 11:54:11.565: E/AndroidRuntime(3881): at dalvik.system.NativeStart.main(Native Method) Not sure what is org.codeaurora.Performance but got it from the working GS4 device in /system/framework and copied to the KO TAB s (it as not there), rebooted clearing dalvik cache yet still have the same logCat. Also checking the GALAXY S CM11 rom there is no such jar... > Hi Jean-Marc, > > gempe...@xs4all.nl wrote: > >> Hi All, >> >> I'm using XSTREAM for Android and since Samsung updated the NOTE 2 to >> 4.4.2 I have this error >> "Android XSTREAM W/dalvikvm no implementation found for native >> Ldalvik/system/VMRuntime;.pauseGc:(Ljava/lang/String;)I on Samsung >> device" >> >> This also happen with last GALAXY S 10.1 T-800 ! >> >> I don't have the issue on CUSTOM ROM such as OMEGA GS4 and on an OLD >> Galaxy S ROM with Cyanogenmod 11... >> >> Surely this is not an XSTREAM issue but probably a bug from Samsung on >> there latest ROM it seems from what I read on google which also >> redirected >> other people with same issue to Samsung...but nothing seems to happen on >> this front. >> >> The issue happen when I call XSTREAM toXML() to serialize, there is no >> problem at all to de-serialize. >> >> Basically I'm desperate for some kind of workaround... I looked at >> building XSTREAM for Android to see if I can figure out something >> debugging but failed... I did no really find easy pointer ( I might >> overlook things, sorry if this is the case) on how to build it using >> Eclipse. >> >> Any pointer, suggestion would be great. >> >> Many thanks for your great library > > Which version of XStream are you using? I have no idea why there should be > a > reference to dalvik.system.VMRuntime, XStream uses no such reference. > XStream tries to identify the supported functionality in c.t.x.core.JVM, > this included specific behavior for Dalvik. So, if we can identify what > triggers your reported error, we might be able to do something. > > For development you can simply checkout the source. XStream is > Maven-based. > Call > > mvn eclipse:eclipse > > from the project root to generate the Eclipse projects. > > However, personally I do no Android development, so any Android support in > XStream is based on user reports. > > Cheers, > Jörg > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email