Opened 3 years ago

Closed 2 years ago

#2389 closed defect (fixed)

Android: AbstractWizardModel bug

Reported by: Meeh Owned by: Meeh
Priority: minor Milestone: 0.9.40
Component: apps/android Version: 0.9.37
Keywords: Cc:
Parent Tickets: Sensitive: no



at (ActivityThread?.java:2900)
at (ActivityThread?.java:2979)
at (ActivityThread?.java:4868)
at (Unknown Source)
at$H.handleMessage (ActivityThread?.java:1640)
at android.os.Handler.dispatchMessage (
at android.os.Looper.loop (
at (ActivityThread?.java:6673)
at java.lang.reflect.Method.invoke (Native Method)
at$MethodAndArgsCaller?.run (
at (ZygoteInit?.java:769)

Caused by: java.lang.NullPointerException?:

at (AbstractWizardModel?.java:70)
at (AbstractWizardActivity?.java:52)
at (
at (
at (ActivityThread?.java:2853)


Change History (5)

comment:1 Changed 3 years ago by zzz

Milestone: eventually0.9.38
Status: newopen

I think you could fix this by making mRootPageList final.
Looks like mListeners and mContext could be final also.

comment:2 Changed 3 years ago by Zlatin Balevsky

I'm not familiar with the threading model on Android, but I suggest we make extend CopyOnWriteArrayList

comment:3 Changed 3 years ago by Meeh

Expanded the code and hope this happens again so we can figure out where the NPE came from.

comment:4 Changed 3 years ago by zzz

Milestone: 0.9.380.9.39

Due to a misunderstanding? My recommendation in comment 1 was not implemented for 38. Please implement it for .39.

comment:5 Changed 2 years ago by zzz

Milestone: 0.9.390.9.40
Resolution: fixed
Status: openclosed

finals checked in for 0.9.40 as described in comment 1

Note: See TracTickets for help on using tickets.