Blank Map in android studio app, app released two months ago and now stop work - api

I released an app two months ago with Gmaps service and it worked properly but from some days the app stopped doing its job! Now the map appears totally blank and I don't know what do... I tried to recompile and control api key but everything is ok! So when I compile now an error appears:
05-23 15:43:00.389 13762-13762/vs.realitycompany W/System: ClassLoader referenced unknown path: /data/app/vs.realitycompany-1/lib/arm
05-23 15:43:00.548 13762-13762/vs.realitycompany I/GMPM: App measurement is starting up, version: 8487
05-23 15:43:00.548 13762-13762/vs.realitycompany I/GMPM: To enable debug logging run: adb shell setprop log.tag.GMPM VERBOSE
05-23 15:43:00.560 13762-13762/vs.realitycompany E/GMPM: GoogleService failed to initialize, status: 10, Missing an expected resource: 'R.string.google_app_id' for initializing Google services. Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin.
05-23 15:43:00.560 13762-13762/vs.realitycompany E/GMPM: Scheduler not set. Not logging error/warn.
05-23 15:43:00.617 13762-14730/vs.realitycompany E/GMPM: Uploading is not possible. App measurement disabled
05-23 15:43:00.938 13762-14738/vs.realitycompany D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
05-23 15:43:00.981 13762-14738/vs.realitycompany I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8974_LA.BF.1.1.3_RB1__release_AU (Ia6c73e7530)
OpenGL ES Shader Compiler Version: E031.29.00.00
Build Date: 12/04/15 Fri
Local Branch: mybranch17080070
Remote Branch: quic/LA.BF.1.1.3_rb1.5
Local Patches: NONE
Reconstruct Branch: NOTHING
05-23 15:43:00.982 13762-14738/vs.realitycompany I/OpenGLRenderer: Initialized EGL, version 1.4
05-23 15:43:03.759 13762-13762/vs.realitycompany I/zzad: Making Creator dynamically
05-23 15:43:03.793 13762-13762/vs.realitycompany D/ChimeraCfgMgr: Reading stored module config
05-23 15:43:03.817 13762-13762/vs.realitycompany W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000001/n/armeabi-v7a
05-23 15:43:03.817 13762-13762/vs.realitycompany W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000001/n/armeabi
05-23 15:43:03.818 13762-13762/vs.realitycompany D/ChimeraFileApk: Primary ABI of requesting process is armeabi-v7a
05-23 15:43:03.819 13762-13762/vs.realitycompany D/ChimeraFileApk: Classloading successful. Optimized code found.
05-23 15:43:03.853 13762-13762/vs.realitycompany I/Google Maps Android API: Google Play services client version: 8487000
05-23 15:43:03.859 13762-13762/vs.realitycompany I/Google Maps Android API: Google Play services package version: 9083438
05-23 15:43:04.202 13762-13762/vs.realitycompany I/Choreographer: Skipped 32 frames! The application may be doing too much work on its main thread.
05-23 15:43:04.222 13762-14843/vs.realitycompany I/b: Sending API token request.
05-23 15:43:04.484 13762-14843/vs.realitycompany E/b: Authentication failed on the server.
05-23 15:43:04.484 13762-14843/vs.realitycompany E/Google Maps Android API: Authorization failure. Please see https://developers.google.com/maps/documentation/android-api/start for how to correctly set up the map.
05-23 15:43:04.485 13762-14843/vs.realitycompany E/Google Maps Android API: In the Google Developer Console (https://console.developers.google.com)
Ensure that the "Google Maps Android API v2" is enabled.
Ensure that the following Android Key exists:
API Key: AIzaSyCPsPVsNjqAizEyBzu1w8_6EGlZHKfSAbQ
Android Application (<cert_fingerprint>;<package_name>): 38:10:51:0C:63:CA:8E:34:84:EE:E5:9B:4F:72:AF:61:8A:5A:E3:15;vs.realitycompany
05-23 15:43:06.176 13762-14839/vs.realitycompany V/GoogleSignatureVerifier: com.google.android.gms signature not valid. Found:
MIIEQzCCAyugAwIBAgIJAMLgh0ZkSjCNMA0GCSqGSIb3DQEBBAUAMHQxCzAJBgNVBAYTAlVTMRMw
EQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29n
bGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDAeFw0wODA4MjEyMzEz
MzRaFw0zNjAxMDcyMzEzMzRaMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYw
FAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5k
cm9pZDEQMA4GA1UEAxMHQW5kcm9pZDCCASAwDQYJKoZIhvcNAQEBBQADggENADCCAQgCggEBAKtW
LgDYO6IIrgqWbxJOKdoR8qtW0I9Y4sypEwPpt1TTcvZApxsdyxMJZ2JORland2qSGT2y5b+3JKke
dxiLDmpHpDsz2WCbdxgxRczfey5YZnTJ4VZbH0xqWVW/8lGmPav5xVwnIiJS6HXk+BVKZF+JcWjA
sb/GEuq/eFdpuzSqeYTcfi6idkyugwfYwXFU1+5fZKUaRKYCwkkFQVfcAs1fXA5V+++FGfvjJ/Cx
URaSxaBvGdGDhfXE28LWuT9ozCl5xw4Yq5OGazvV24mZVSoOO0yZ31j7kYvtwYK6NeADwbSxDdJE
qO4k//0zOHKrUiGYXtqw/A0LFFtqoZKFjnkCAQOjgdkwgdYwHQYDVR0OBBYEFMd9jMIhF1Ylmn/T
gt9r45jk14alMIGmBgNVHSMEgZ4wgZuAFMd9jMIhF1Ylmn/Tgt9r45jk14aloXikdjB0MQswCQYD
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIG
A1UEChMLR29vZ2xlIEluYy4xEDAOBgNVBAsTB0FuZHJvaWQxEDAOBgNVBAMTB0FuZHJvaWSCCQDC
4IdGZEowjTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBAUAA4IBAQBt0lLO74UwLDYKqs6Tm8/y
zKkEu116FmH4rkaymUIE0P9KaMftGlMexFlaYjzmB2OxZyl6euNXEsQH8gjwyxCUKRJNexBiGcCE
yj6z+a1fuHHvkiaai+KL8W1EyNmgjmyy8AW7P+LLlkR+ho5zEHatRbM/YAnqGcFh5iZBqpknHf1S
KMXFh4dd239FJ1jWYfbMDMy3NS5CTMQ2XFI1MvcyUTdZPErjQfTbQe3aDQsQcafEQPD+nqActifK
Z0Np0IS9L9kR/wbNvyz6ENwPiTrjV2KRkEjH78ZMcUQXg0L3BYHJ3lc69Vs5Ddf9uUGGMYldX3Wf
MBEmh/9iFBDAaTCK
05-23 15:43:06.195 13762-14839/vs.realitycompany E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.android.gms.googlecertificates.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/vs.realitycompany-1/base.apk"],nativeLibraryDirectories=[/data/app/vs.realitycompany-1/lib/arm, /vendor/lib, /system/lib]]
05-23 15:43:06.201 13762-14839/vs.realitycompany I/DynamiteModule: Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:1
05-23 15:43:06.201 13762-14839/vs.realitycompany I/DynamiteModule: Selected remote version of com.google.android.gms.googlecertificates, version >= 1
05-23 15:43:06.212 13762-14839/vs.realitycompany W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000000/n/armeabi
05-23 15:43:06.213 13762-14839/vs.realitycompany D/ChimeraFileApk: Primary ABI of requesting process is armeabi-v7a
05-23 15:43:06.215 13762-14839/vs.realitycompany D/ChimeraFileApk: Classloading successful. Optimized code found.
05-23 15:43:06.219 13762-14839/vs.realitycompany D/GoogleCertificates: com.google.android.gms.googlecertificates module is loaded
05-23 15:43:06.298 13762-14839/vs.realitycompany D/GoogleCertificatesImpl: Fetched 154 Google release certificates
05-23 15:43:06.304 13762-14839/vs.realitycompany V/GoogleSignatureVerifier: vs.realitycompany signature not valid. Found:
MIIB3TCCAUYCAQEwDQYJKoZIhvcNAQEFBQAwNzEWMBQGA1UEAwwNQW5kcm9pZCBEZWJ1ZzEQMA4G
A1UECgwHQW5kcm9pZDELMAkGA1UEBhMCVVMwHhcNMTYwNTIyMjAyNzM5WhcNNDYwNTE1MjAyNzM5
WjA3MRYwFAYDVQQDDA1BbmRyb2lkIERlYnVnMRAwDgYDVQQKDAdBbmRyb2lkMQswCQYDVQQGEwJV
UzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAj+2RpluWlva2H85SRcYtZX7E4dQY/GSAgdEs
OaaZLP8yzPo0OOaGUdNz+ZI1uY7CaAX9i+EsOsUZXA0St9w7u7jUpAnt3DSBOLCjH+m/fc3QErBr
c3aDBQ7e34fzMr22d7grgIfe4Lje33qASiuAOYcs25wF8fK19qsFFrkkW/kCAwEAATANBgkqhkiG
9w0BAQUFAAOBgQAYPncLTg3aEIZVs94qrk+QiuugbBWrHcHDf68/fZvCZW0JIeYnCRo4KOHjSWzR
Ppv8DduDZUZs6rIK4Bo+MLts/G+5DqlV60tDAd8vUO0YEWKtTeiY4oIY5QE1TnVDPILBcy2OCBCP
6I7lG7DiJC3s+xuGx07HxV57j2TGtxlQ7w==
05-23 15:43:06.304 13762-14839/vs.realitycompany D/GoogleCertificatesImpl: Fetched 300 Google certificates
05-23 15:43:06.313 13762-14839/vs.realitycompany V/GoogleSignatureVerifier: vs.realitycompany signature not valid. Found:
MIIB3TCCAUYCAQEwDQYJKoZIhvcNAQEFBQAwNzEWMBQGA1UEAwwNQW5kcm9pZCBEZWJ1ZzEQMA4G
A1UECgwHQW5kcm9pZDELMAkGA1UEBhMCVVMwHhcNMTYwNTIyMjAyNzM5WhcNNDYwNTE1MjAyNzM5
WjA3MRYwFAYDVQQDDA1BbmRyb2lkIERlYnVnMRAwDgYDVQQKDAdBbmRyb2lkMQswCQYDVQQGEwJV
UzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAj+2RpluWlva2H85SRcYtZX7E4dQY/GSAgdEs
OaaZLP8yzPo0OOaGUdNz+ZI1uY7CaAX9i+EsOsUZXA0St9w7u7jUpAnt3DSBOLCjH+m/fc3QErBr
c3aDBQ7e34fzMr22d7grgIfe4Lje33qASiuAOYcs25wF8fK19qsFFrkkW/kCAwEAATANBgkqhkiG
9w0BAQUFAAOBgQAYPncLTg3aEIZVs94qrk+QiuugbBWrHcHDf68/fZvCZW0JIeYnCRo4KOHjSWzR
Ppv8DduDZUZs6rIK4Bo+MLts/G+5DqlV60tDAd8vUO0YEWKtTeiY4oIY5QE1TnVDPILBcy2OCBCP
6I7lG7DiJC3s+xuGx07HxV57j2TGtxlQ7w==
What I can do?
Only last thing, I've noticed that there isn't a google_maps_api.xml for release (there is only for debug). Could the issue be arising from missing google_maps_api.xml? What can be the solution for this?

I read through your error logs and found some issue like:
The application may be doing too much work on its main thread - what this means is that your code is taking long to process.
Fixing this requires identifying nodes where there is or possible can happen long duration of process. The best way is to do all the processing no matter how small or big in a thread separate from main UI thread.
Sending API token request Authentication failed on the server
Don't forgot to enable the map services in google console. Try uninstalling and reinstalling the application. Apparently if you make one mistake on the configuration the system caches the failed authentication and your maps won't work even after fixing your configuration.
Try following the docs and guides on configuring Google Maps API on Android but every time you change something on your configuration uninstall and reinstall. Ensure that the "Google Maps Android API" is enabled and ensure that the following Android Key exist.

05-23 15:43:03.853 13762-13762/vs.realitycompany I/Google Maps Android API: Google Play services client version: 8487000
05-23 15:43:03.859 13762-13762/vs.realitycompany I/Google Maps Android API: Google Play services package version: 9083438
These two lines indicate the current Google Play Service on the device is older than what you used, so it won't show any map.
check your developer console, and see if the api token is at the right place and nothing changed !

Related

Cannot make a deep link into a standalone app with no custom scheme defined, stack:

Getting this error after deploying my app to Alpha but Prod version works great on all the devices and platforms. found this from google play console crash report but couldn't find any possible reason and solution for this.
Exception com.facebook.react.common.JavascriptException: Error: Cannot make a deep link into a standalone app with no custom scheme defined, stack:
<unknown>#854:963
E#836:3496
<unknown>#836:567
<unknown>#460:2224
h#2:1585
<unknown>#6:57
h#2:1585
d#2:958
global code#1241:3
at com.facebook.react.modules.core.ExceptionsManagerModule.reportException (ExceptionsManagerModule.java:72)
at java.lang.reflect.Method.invoke
at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:188)
at com.facebook.react.bridge.queue.NativeRunnable.run
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:27)
at android.os.Looper.loopOnce (Looper.java:201)
at android.os.Looper.loop (Looper.java:288)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228)
at java.lang.Thread.run (Thread.java:920)

React Native Android debug build crashes on launch, iOS works fine

I'm trying to launch a fresh react-native init app,
launching with react-native run-android
Build passes, the APK is installed on a device, but it crashes on launch.
The logcat shows:
06-13 10:09:50.467 11106 11106 W System.err: java.lang.ClassNotFoundException: host.exp.exponent.ReactNativeStaticHelpers
06-13 10:09:50.469 11106 11106 W System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "host.exp.exponent.ReactNativeStaticHelpers" on path: DexPathList[[zip file "/data/app/com.dummy-o3c6RDZQ-kC_ECVFF6RNOQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.dummy-o3c6RDZQ-kC_ECVFF6RNOQ==/lib/x86, /data/app/com.dummy-o3c6RDZQ-kC_ECVFF6RNOQ==/base.apk!/lib/x86, /system/lib, /system/product/lib]]
06-13 10:09:50.470 11106 11106 E unknown:ReactNative: Bundle url format is invalid.
06-13 10:09:50.470 11106 11106 E unknown:ReactNative:
06-13 10:09:50.470 11106 11106 E unknown:ReactNative: java.net.MalformedURLException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
What's particularly interesting is I'm not using Expo on this project, but the error shows couldn't find host.exp.exponent.ReactNativeStaticHelpers, along with Bundle url format is invalid.
When ran on another Mac, it runs completely fine.
I've tried reinstalling react-native-cli, whole Android Studio and tools/SDK's, tried to run on multiple devices (both emulators and physical devices) to no avail.
- Most probably the problem is with the caching of this library as you were previously using expo:
Both of expo and react-native facebook libraries are similar in naming but different in code.
Expo:
https://github.com/expo/expo/blob/sdk-33/android/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java
React-native:
https://github.com/facebook/react-native/blob/0.60-stable/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java
Solution:
Remove the Facebook folder from "/home/$user/.m2/repository/com/facebook" then sync the project again to re-download the correct library.

Waze app not working after simple editing

I've used the APK Editor (app) to make a little change in the Waze app and when I run the app it crashes again and again. How can I fix this?
Here is Log Cat:
05-21 21:25:14.501 12765 12765 E AndroidRuntime: java.lang.SecurityException: Signature check failed for com.waze
05-21 21:25:14.506 2518 3410 W ActivityManager: Force finishing activity 1 com.waze/.MainActivity
you need a patch that will bypass signature check

React Native Android - "Could not get BatchedBridge, make sure your bundle is packaged properly"

Running on Android - I can no longer get my app to build. I've tried 15+ ideas on stack overflow with similar batchedbridge errors'.
Results - after packaging:
- Red error screen popups up with "Could not get BatchedBridge, make sure your bundle is packaged properly” (with no other callstack details) and then a second later get a blank white screen.
Results - after the error and then reloading from the app dev tools menu:
- Could not connect to development server
react-native version 0.40.0 npm=5.0.3 node=v7.4.0
The app was working previously for months so i'm guessing connected to a recent change, version problem, cache problem, npm version or reactnative version?
Tried adb reverse tcp:8081 tcp:8081
Tried npm cache clean
Tried on emulator and device - same issue
Tried closing all react packagers
Made sure no other react native apps/packagers running
Android app is building OK in Android Studio (without react native)
Looking in the logcat I seem some red flags but not sure if these problems are new or were previously there:
- Lots of 'ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.???????' etc
- React: The packager does not seem to be running as we got an IOException requesting its status: Connection reset
Here's the logcat snippet and stack trace from the app when it tries to start - if you need more of the logcat let me know (my attempt to add it here didn't work).
iceapp.challengeme ic=null D/FA: Connected to remote service W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.reactnative.androidsdk.FBLoginButtonManager V/FA: Processing queued up service tasks: 2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.reactnative.androidsdk.FBSendButtonManager W/art: Before Android 4.1, method boolean com.facebook.share.widget.ShareButtonBase.canShare() would have incorrectly overridden the package-private method in android.widget.TextView W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.reactnative.androidsdk.FBShareButtonManager
E/unknown:React: Exception in native call from JS
com.facebook.react.devsupport.JSException: Could not get BatchedBridge, make sure your bundle is packaged correctly
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:154)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
at java.lang.Thread.run(Thread.java:762)
Caused by: com.facebook.jni.CppException: Could not get BatchedBridge, make sure your bundle is packaged correctly
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) 
at android.os.Handler.handleCallback(Handler.java:751) 
at android.os.Handler.dispatchMessage(Handler.java:95) 
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) 
at android.os.Looper.loop(Looper.java:154) 
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) 
at java.lang.Thread.run(Thread.java:762)  W/unknown:React: Packager connection already open, nooping. W/unknown:React: Inspector connection already open, nooping. E/unknown:React: Exception in native call
java.lang.RuntimeException: Error calling function: RCTDeviceEventEmitter:emit
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:154)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
at java.lang.Thread.run(Thread.java:762)
Caused by: java.lang.RuntimeException: Empty Optional cannot be unwrapped
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) 
at android.os.Handler.handleCallback(Handler.java:751) 
at android.os.Handler.dispatchMessage(Handler.java:95) 
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) 
at android.os.Looper.loop(Looper.java:154) 
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) 
at java.lang.Thread.run(Thread.java:762)  E/unknown:React: Exception in native call
java.lang.RuntimeException: Error calling function: AppRegistry:runApplication
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:154)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
at java.lang.Thread.run(Thread.java:762)
Caused by: java.lang.RuntimeException: Empty Optional cannot be unwrapped
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) 
at android.os.Handler.handleCallback(Handler.java:751) 
at android.os.Handler.dispatchMessage(Handler.java:95) 
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) 
at android.os.Looper.loop(Looper.java:154) 
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) 
at java.lang.Thread.run(Thread.java:762) 

Worklight 6.2 - java.lang.NullPointerException

In Worklight 6.2, there is new method to deploy the Worklight Project, which is using IBM Worklight Server Configuration Tool
refer here :
http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.deploy.doc/deploy/c_using_server_config_tool.html
After setup Worklight admin, and deploy Worklight Project WAR through that. From my understanding, the worklight project will be called runtime
I found errors on the Websphere Logs as below:
[10/3/14 0:37:55:758 MYT] 0000007e FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /apps/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_6adbbbb2_14.10.03_00.37.55.7436943857084851194341.txt com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters -RE 1123
[10/3/14 0:37:55:758 MYT] 0000007e LocalTranCoor E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[10/3/14 0:37:55:769 MYT] 0000007e webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[ServletNameNotFound]: java.lang.NullPointerException
in the http://localhost:9080/worklightconsole/index.html#
Got display as below:
Below is the proof that runtime/worklight project is deployed successfully:
​Next action is to troubleshoot why the runtime/worklight project is not working.
How I can rectify this problem? Thanks.
The exception is in a web container class of WebSphere. You must look at the content of the ffdc file
/apps/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_6adbbbb2_14.10.03_00.37.55.7436943857084851194341.txt to see if there are more details in particular the servlet that cannot be found.
But it seems that something is wrong in the Worklight configuration under WAS (viewing the "Servlet not found" error).
The Worklight servlets are in the jar "worklight-jee-library.jar" that is configured as a shared library in WAS.
Without all the WAS logs it is not possible to find the real cause. So you can review the WAS configuration after the deployment by following :
http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/admin/t_configuring_websphere_application_server_for_wladmin_manually.html,
http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/admin/t_configuring_websphere_application_server_for_oracle_manually_for_wladmin.html,
http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.deploy.doc/admin/t_configuring_websphere_application_server_for_oracle_manually.html,
http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.deploy.doc/admin/t_configuring_websphere_application_server_manually.html
The other reason could be that your Worklight project is not a 6.2 project. How do you build you war file ?