Opened 3 months ago

Last modified 3 months ago

#2389 open defect

Android: AbstractWizardModel bug

Reported by: meeh Owned by: meeh
Priority: minor Milestone: 0.9.39
Component: apps/android Version: 0.9.37
Keywords: Cc:
Parent Tickets:



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)

Subtickets (add)

Change History (4)

comment:1 Changed 3 months ago by zzz

  • Milestone changed from eventually to 0.9.38
  • Status changed from new to open

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

comment:2 Changed 3 months ago by zab

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

comment:3 Changed 3 months 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 months ago by zzz

  • Milestone changed from 0.9.38 to 0.9.39

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

Note: See TracTickets for help on using tickets.