on 12-30-2014 8:56 AM
HI,
We have developed the native application followed the blog,
When we test the application in our internal network it is working fine and able to get the data but
when we test in any external network like 3G and click on get data it throws an application stopped unexpectedly error
we are having the following logs in eclipse.
12-30 14:10:36.239: W/System.err(11791): javax.xml.parsers.ParserConfigurationException: http://xml.org/sax/features/external-general-entities
12-30 14:10:36.239: W/System.err(11791): at org.apache.harmony.xml.parsers.DocumentBuilderFactoryImpl.setFeature(DocumentBuilderFactoryImpl.java:101)
12-30 14:10:36.249: W/System.err(11791): at com.sap.smp.rest.SMPParser.parseXmlFile(SMPParser.java:24)
12-30 14:10:36.249: W/System.err(11791): at com.sap.smp.rest.UserManager.onSuccess(UserManager.java:643)
12-30 14:10:36.249: W/System.err(11791): at com.sap.mobile.lib.request.RequestManager$SuccessObject.execute(RequestManager.java:795)
12-30 14:10:36.249: W/System.err(11791): at com.sap.mobile.lib.request.RequestManager$SuccessThread.run(RequestManager.java:846)
12-30 14:10:38.499: W/System.err(11791): javax.xml.parsers.ParserConfigurationException: http://xml.org/sax/features/external-general-entities
12-30 14:10:38.499: W/System.err(11791): at org.apache.harmony.xml.parsers.DocumentBuilderFactoryImpl.setFeature(DocumentBuilderFactoryImpl.java:101)
12-30 14:10:38.499: W/System.err(11791): at com.sap.smp.rest.SMPParser.parseXmlFile(SMPParser.java:24)
12-30 14:10:38.499: W/System.err(11791): at com.sap.smp.rest.AppSettings.onSuccess(AppSettings.java:599)
12-30 14:10:38.499: W/System.err(11791): at com.sap.mobile.lib.request.RequestManager$SuccessObject.execute(RequestManager.java:795)
12-30 14:10:38.499: W/System.err(11791): at com.sap.mobile.lib.request.RequestManager$SuccessThread.run(RequestManager.java:846)
12-30 14:11:39.419: E/AndroidRuntime(11791): FATAL EXCEPTION: SocketConnectionHandler #3
12-30 14:11:39.419: E/AndroidRuntime(11791): java.lang.NullPointerException
12-30 14:11:39.419: E/AndroidRuntime(11791): at com.sap.mobile.lib.request.AbstractConnectionHandler.processRequestsFromQueue(AbstractConnectionHandler.java:167)
12-30 14:11:39.419: E/AndroidRuntime(11791): at com.sap.mobile.lib.request.SocketConnectionHandler.run(SocketConnectionHandler.java:142)
Try to ping on you SMP server and backend from outside your network.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we can ping SMP server from outside network by using the public IP and port 8080 . but SAP can't be pinged from outside network as it is private IP.
Can you check if you are able to hit http://smpserverip:8080 from external network?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.