jaspermobile android

0

hi,

we installed japserserver 4.7.1 and we imported our production data to it from jasperserver 4.0.

when we try to run jaspermobile on any android device the application crashes, and we do not receive any error messages

dose any one have any idea why.

also dose anyone know where i can get the source code for the jaspermobile android app

thanks

 

najjareng's picture
Joined: Feb 14 2011 - 8:54am
Last seen: 6 years 5 months ago

4 Answers:

0

To get the source code for the APP, download the Android SDK http://community.jaspersoft.com/project/mobile-sdk-android

As far as the problem you are having, does the jasperserver log show something? Once you get the SDK you can try running the app in debug mode and see exactly what is happening. I've never run into the issue so I'm not sure what may be the cause.

marianol's picture
4575
Joined: Sep 13 2011 - 8:04am
Last seen: 10 months 3 weeks ago
I already downloaded the SDK, and i can not find the source code for the app, if you can be more specific where to find the source code inside the SDK and how to import it to eclipse i would be greatfull. as for the problem, we just receive that jasperserver stopped responding and the app closes
najjareng - 6 years 10 months ago
0

You could download sources for the app here: http://community.jaspersoft.com/project/jaspermobile-android/releases
I
t's a maven project, so if you have installed maven you can build it easily with 'mvn clean install'.

Regarding app craches, marianol is right, it would be more informative if you could show your jasperserver log and/or take us more detailed steps to reproduce.

igadzhega's picture
104
Joined: Jan 16 2011 - 3:44am
Last seen: 5 years 5 months ago
0

Sorry, my bad. The source code for the android app is no longer included in the SDK is now in it's own project here: http://community.jaspersoft.com/project/jaspermobile-android/releases

You will also find a compiled .apk file there. This new site is way better than the old forge!!

marianol's picture
4575
Joined: Sep 13 2011 - 8:04am
Last seen: 10 months 3 weeks ago
0

Hello

Same issue, however I download and installed the latest android-mobile sdk, +jaspermobile so I have now some log files 

What I see here : switching to our jasperserver (jasperserver CE 5) , after clicking any report (I have tried an empty report also) the jaspermobile is being stopped and the following errors can be seen in log

 

01-07 15:37:25.692: E/(18248): Can't open file for reading
01-07 15:37:25.692: E/(18248): Can't open file for reading
01-07 15:38:54.692: E/AndroidRuntime(18248): FATAL EXCEPTION: main
01-07 15:38:54.692: E/AndroidRuntime(18248): java.lang.RuntimeException: org.springframework.http.converter.HttpMessageNotReadableException: Could not read [class com.jaspersoft.android.sdk.client.oxm.server.ServerInfo]; nested exception is org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.Element(data=false, name=, required=true, type=void) on field 'editionName' private java.lang.String com.jaspersoft.android.sdk.client.oxm.server.ServerInfo.editionName for class com.jaspersoft.android.sdk.client.oxm.server.ServerInfo at line 1
01-07 15:38:54.692: E/AndroidRuntime(18248): at com.jaspersoft.android.jaspermobile.activities.async.AsyncTaskExceptionHandler.handle(AsyncTaskExceptionHandler.java:93)
01-07 15:38:54.692: E/AndroidRuntime(18248): at com.jaspersoft.android.jaspermobile.activities.ReportOptionsActivity.onTaskException(ReportOptionsActivity.java:426)
01-07 15:38:54.692: E/AndroidRuntime(18248): at com.jaspersoft.android.sdk.client.async.JsAsyncTaskManager.onException(JsAsyncTaskManager.java:149)
01-07 15:38:54.692: E/AndroidRuntime(18248): at com.jaspersoft.android.sdk.client.async.task.JsAsyncTask.onPostExecute(JsAsyncTask.java:151)
01-07 15:38:54.692: E/AndroidRuntime(18248): at android.os.AsyncTask.finish(AsyncTask.java:602)
01-07 15:38:54.692: E/AndroidRuntime(18248): at android.os.AsyncTask.access$600(AsyncTask.java:156)
01-07 15:38:54.692: E/AndroidRuntime(18248): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:615)
01-07 15:38:54.692: E/AndroidRuntime(18248): at android.os.Handler.dispatchMessage(Handler.java:99)
01-07 15:38:54.692: E/AndroidRuntime(18248): at android.os.Looper.loop(Looper.java:137)
01-07 15:38:54.692: E/AndroidRuntime(18248): at android.app.ActivityThread.main(ActivityThread.java:4441)
01-07 15:38:54.692: E/AndroidRuntime(18248): at java.lang.reflect.Method.invokeNative(Native Method)
01-07 15:38:54.692: E/AndroidRuntime(18248): at java.lang.reflect.Method.invoke(Method.java:511)
01-07 15:38:54.692: E/AndroidRuntime(18248): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:823)
01-07 15:38:54.692: E/AndroidRuntime(18248): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:590)
01-07 15:38:54.692: E/AndroidRuntime(18248): at dalvik.system.NativeStart.main(Native Method)
01-07 15:38:54.692: E/AndroidRuntime(18248): Caused by: org.springframework.http.converter.HttpMessageNotReadableException: Could not read [class com.jaspersoft.android.sdk.client.oxm.server.ServerInfo]; nested exception is org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.Element(data=false, name=, required=true, type=void) on field 'editionName' private java.lang.String com.jaspersoft.android.sdk.client.oxm.server.ServerInfo.editionName for class com.jaspersoft.android.sdk.client.oxm.server.ServerInfo at line 1
01-07 15:38:54.692: E/AndroidRuntime(18248): at org.springframework.http.converter.xml.SimpleXmlHttpMessageConverter.readInternal(SimpleXmlHttpMessageConverter.java:115)
 

 

Maybe this help ...
 

Kr

 

laszloschaffer's picture
Joined: Jan 7 2013 - 6:51am
Last seen: 4 years 3 weeks ago
Feedback
randomness