Symptom
The following error message occurs when generating MBO code that connects to a REST webservice:
java.lang.StackOverflowError
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:282)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at java.io.PrintStream.write(PrintStream.java:432)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
If the -Xss switch is applied to the java options the error will be as follows:
!ENTRY com.sybase.uep.common 4 0 2013-04-29 14:16:27.863
!MESSAGE Transaction is already closed
Read more...
Environment
Sybase Unwired Platform 2.1.3.
Product
Keywords
SUP, SUP 2.1.3, SUP 2.1.x, stackoverflowerror, RESTful , KBA , MOB-SDK-ET , SAP Mobile SDK MBO Eclipse Tooling , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.