Highlighted

Air 27 Beta: Android NullPointerException: at com.adobe.air.AIRWindowSurfaceView.surfaceChanged

Advocate ,
Sep 05, 2017

Copy link to clipboard

Copied

Hi Adobe Air team!

we are seeing a new NullpointerException when publishing to live from Air SDK 27 Beta. I hope the following information helps to identify and fix the error (sorry for the German screen, I can't easily switch the language). This new exception is one of the most frequent exceptions we are currently seeing in the dashboard:

air27-nullpinter.jpg

Exemplary stack trace:

java.lang.NullPointerException:

  at com.adobe.air.AIRWindowSurfaceView.surfaceChanged (AIRWindowSurfaceView.java:735)

  at android.view.SurfaceView.updateWindow (SurfaceView.java:619)

  at android.view.SurfaceView.onWindowVisibilityChanged (SurfaceView.java:242)

  at android.view.View.dispatchWindowVisibilityChanged (View.java:8121)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1077)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1077)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1077)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1077)

  at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:1314)

  at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1062)

  at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:5996)

  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:761)

  at android.view.Choreographer.doCallbacks (Choreographer.java:574)

  at android.view.Choreographer.doFrame (Choreographer.java:544)

  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:747)

  at android.os.Handler.handleCallback (Handler.java:733)

  at android.os.Handler.dispatchMessage (Handler.java:95)

  at android.os.Looper.loop (Looper.java:136)

  at android.app.ActivityThread.main (ActivityThread.java:5590)

  at java.lang.reflect.Method.invokeNative (Native Method)

  at java.lang.reflect.Method.invoke (Method.java:515)

  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1268)

  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1084)

  at dalvik.system.NativeStart.main (Native Method)


Let me know if you have questions or need more info
TOPICS
Performance issues

Views

780

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Air 27 Beta: Android NullPointerException: at com.adobe.air.AIRWindowSurfaceView.surfaceChanged

Advocate ,
Sep 05, 2017

Copy link to clipboard

Copied

Hi Adobe Air team!

we are seeing a new NullpointerException when publishing to live from Air SDK 27 Beta. I hope the following information helps to identify and fix the error (sorry for the German screen, I can't easily switch the language). This new exception is one of the most frequent exceptions we are currently seeing in the dashboard:

air27-nullpinter.jpg

Exemplary stack trace:

java.lang.NullPointerException:

  at com.adobe.air.AIRWindowSurfaceView.surfaceChanged (AIRWindowSurfaceView.java:735)

  at android.view.SurfaceView.updateWindow (SurfaceView.java:619)

  at android.view.SurfaceView.onWindowVisibilityChanged (SurfaceView.java:242)

  at android.view.View.dispatchWindowVisibilityChanged (View.java:8121)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1077)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1077)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1077)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1077)

  at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:1314)

  at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1062)

  at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:5996)

  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:761)

  at android.view.Choreographer.doCallbacks (Choreographer.java:574)

  at android.view.Choreographer.doFrame (Choreographer.java:544)

  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:747)

  at android.os.Handler.handleCallback (Handler.java:733)

  at android.os.Handler.dispatchMessage (Handler.java:95)

  at android.os.Looper.loop (Looper.java:136)

  at android.app.ActivityThread.main (ActivityThread.java:5590)

  at java.lang.reflect.Method.invokeNative (Native Method)

  at java.lang.reflect.Method.invoke (Method.java:515)

  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1268)

  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1084)

  at dalvik.system.NativeStart.main (Native Method)


Let me know if you have questions or need more info
TOPICS
Performance issues

Views

781

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 05, 2017 0
Advocate ,
Sep 28, 2017

Copy link to clipboard

Copied

Hello,

can anyone help? We are seeing this exception on all our production apps with Air 27 and it is still a problem with Air 27.0.0.124. I see that 2 other people upvoted my question, can you share your experiences with the exception?

Is the Adobe Air team looking into this? Anything we can do to help fixing the issue?

Thanks in advance

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 28, 2017 0
New Here ,
Nov 29, 2017

Copy link to clipboard

Copied

Hi – yep we're seeing this error too, however we're using Air SDK 23.0, not 27. The error is happening on the exact same line number of AirWindowSurfaceView.java.

Did you have any luck solving the issue? We have no idea what's causing it at the moment.

Here's a typical stack trace:

java.lang.NullPointerException:

  at com.adobe.air.AIRWindowSurfaceView.surfaceChanged (AIRWindowSurfaceView.java:735)

  at android.view.SurfaceView.updateWindow (SurfaceView.java:731)

  at android.view.SurfaceView.onWindowVisibilityChanged (SurfaceView.java:322)

  at android.view.View.dispatchWindowVisibilityChanged (View.java:10459)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1330)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1330)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1330)

  at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1330)

  at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:1857)

  at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1544)

  at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:7616)

  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:911)

  at android.view.Choreographer.doCallbacks (Choreographer.java:686)

  at android.view.Choreographer.doFrame (Choreographer.java:622)

  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:897)

  at android.os.Handler.handleCallback (Handler.java:739)

  at android.os.Handler.dispatchMessage (Handler.java:95)

  at android.os.Looper.loop (Looper.java:148)

  at android.app.ActivityThread.main (ActivityThread.java:7406)

  at java.lang.reflect.Method.invoke (Native Method)

  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)

  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 29, 2017 0
Advocate ,
Dec 08, 2017

Copy link to clipboard

Copied

no idea how to fix this sorry. I assume this is an Air error and it should be fixed in the SDK.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 08, 2017 0
darriuk LATEST
New Here ,
Dec 11, 2017

Copy link to clipboard

Copied

There's a forum thread on Starling's github page discussing this. Currently quite active (Dec 2017):

Input dispatching timed out ANRs & ANR rate survey · Issue #29 · Gamua/Adobe-Runtime-Support · GitHu...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 11, 2017 1