Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

This question already has an answer here:

I'm facing a stack overflow problem. What does below message mean?

Any hints greatly appreciated. Regards,

01-02 00:00:14.679 [XAP_Android][I][dalvikvm] threadid=13: stack overflow on call to Ljava/lang/Class;.(null):(null)
01-02 00:00:14.679 [XAP_Android][I][dalvikvm]   method requires 65600+20+0=65620 bytes, fp is 0x455323a0 (8352 left)
01-02 00:00:14.679 [XAP_Android][I][dalvikvm]   expanding stack end (0x45530300 to 0x45530000)
01-02 00:00:14.679 [XAP_Android][I][dalvikvm] Shrank stack (to 0x45530300, curFrame is 0x45532478)
01-02 00:00:14.679 [XAP_Android][W][dalvikvm] Exception Ljava/lang/StackOverflowError; thrown while initializing Lorg/joda/time/DateTimeZone;
01-02 00:00:14.679 [XAP_Android][W][dalvikvm] Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lorg/joda/time/chrono/GregorianChronology;
01-02 00:00:14.679 [XAP_Android][W][dalvikvm] Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lorg/joda/time/chrono/ISOChronology;
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws] Interal error creating DataTypeBase object instance
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws] java.lang.reflect.InvocationTargetException
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.lang.reflect.Method.invokeNative(Native Method)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.lang.reflect.Method.invoke(Method.java:507)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.DataTypeBase$DataTypeBaseUtil.create(DataTypeBase.java:49)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.CreatorFromJson.extractOneValue(CreatorFromJson.java:168)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.CreatorFromJson.extractField(CreatorFromJson.java:272)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.v1.eventmgt.Event.extractFields(Event.java:338)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.CreatorFromJson.populateCompoundObject(CreatorFromJson.java:293)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.v1.eventmgt.Event.create(Event.java:163)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.lang.reflect.Method.invokeNative(Native Method)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.lang.reflect.Method.invoke(Method.java:507)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.DataTypeBase$DataTypeBaseUtil.create(DataTypeBase.java:49)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.CreatorFromJson.extractOneValue(CreatorFromJson.java:168)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.CreatorFromJson.extractField(CreatorFromJson.java:262)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.v1.eventmgt.EventList.extractFields(EventList.java:87)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.CreatorFromJson.populateCompoundObject(CreatorFromJson.java:293)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.v1.eventmgt.EventList.create(EventList.java:39)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.lang.reflect.Method.invokeNative(Native Method)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.lang.reflect.Method.invoke(Method.java:507)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.DataTypeBase$DataTypeBaseUtil.create(DataTypeBase.java:49)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.CreatorFromJson.extractOneValue(CreatorFromJson.java:168)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.CreatorFromJson.extractField(CreatorFromJson.java:272)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.v1.eventmgt.eventqueue.EventQueueGetWSReturn.extractFields(EventQueueGetWSReturn.java:186)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.CreatorFromJson.populateCompoundObject(CreatorFromJson.java:293)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.v1.eventmgt.eventqueue.EventQueueGetWSReturn.create(EventQueueGetWSReturn.java:74)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.lang.reflect.Method.invokeNative(Native Method)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.lang.reflect.Method.invoke(Method.java:507)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.DataTypeBase$DataTypeBaseUtil.create(DataTypeBase.java:49)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.JsonSupport.createDataTypeFromJsonNode(JsonSupport.java:95)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.JsonSupport.createFromJsonNode(JsonSupport.java:176)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.JsonSupport.createFromJsonString(JsonSupport.java:285)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ui.local.android.up.client.XupResponse.getContentAsObject(XupResponse.java:233)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ui.local.android.daemon.EventManager.run(EventManager.java:223)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws] Caused by: java.lang.ExceptionInInitializerError
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at org.joda.time.DateTimeUtils.getChronology(DateTimeUtils.java:231)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at org.joda.time.format.DateTimeFormatter.selectChronology(DateTimeFormatter.java:746)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:667)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.JodaPointInTimeHelper.createPointInTimeFor(JodaPointInTimeHelper.java:57)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.JsonSupport.createPointInTimeFor(JsonSupport.java:533)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.converters.json.CreatorFromJson.getPointInTime(CreatorFromJson.java:329)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at net.xoaframework.ws.PointInTime.create(PointInTime.java:107)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     ... 32 more
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws] Caused by: java.lang.ExceptionInInitializerError
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at org.joda.time.chrono.ISOChronology.(ISOChronology.java:66)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     ... 39 more
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws] Caused by: java.lang.ExceptionInInitializerError
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at org.joda.time.chrono.GregorianChronology.(GregorianChronology.java:71)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     ... 40 more
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws] Caused by: java.lang.StackOverflowError
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.util.TreeMap$Node.next(TreeMap.java:798)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.util.TreeMap$MapIterator.stepForward(TreeMap.java:886)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.util.TreeMap$KeySet$1.next(TreeMap.java:959)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.util.AbstractCollection.addAll(AbstractCollection.java:77)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.util.TreeSet.addAll(TreeSet.java:132)
01-02 00:00:14.789 [XAP_Android][E][net.xoaframework.ws]     at java.util.TreeSet.(T
share|improve this question

marked as duplicate by Raedwald, rgettman, skuntsel, Tom, TryTryAgain Jun 19 '13 at 22:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3  
stack overflow problems are usually caused by functions that call themselves recersively infinitely many times, but we need to see the actual code to tell for sure. –  Richard Tingle Jun 19 '13 at 15:21
2  
The stack trace is not going to help us without any code. –  PandaBearSoup Jun 19 '13 at 15:23

2 Answers 2

Without the code it's hard to tell but I looks like you are trying to read a date from a JSON string using Joda and a converter has got stuck in a loop repeatedly calling itself. If I had to guess I'd say that you have something listening for a conversion event which is, itself, firing an event. That event is than making it's way back to the listener which causes another event to be fired etc etc.

share|improve this answer

It means that this method is being called recursively, to the point that the call stack overflows.

net.xoaframework.ws.DataTypeBase$DataTypeBaseUtil.create(DataTypeBase.java:49)

This is being called over and over again in DataTypeBase.java on line 49. Without seeing your code, this is all we can tell you.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.