Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#2481 closed defect (fixed)

android i2ptunnel NullPointerException

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



at (ActivityThread?.java:3558)
at (ActivityThread?.java:3598)
at (ActivityThread?.java:2830)
at (ActivityThread?.java)
at$H.handleMessage (ActivityThread?.java:1546)
at android.os.Handler.dispatchMessage (
at android.os.Looper.loop (
at (ActivityThread?.java:6351)
at java.lang.reflect.Method.invoke (Native Method)
at$MethodAndArgsCaller?.run (ZygoteInit?.java:896)
at (ZygoteInit?.java:786)

Caused by: java.lang.RuntimeException?:

at (ActivityThread?.java:4221)
at (ActivityThread?.java:3532)

Caused by: java.lang.NullPointerException?:

at (TunnelEntryAdapter?.java:68)
at (TunnelListFragment?.java:213)
at (TunnelsContainer?.java:221)
at (FragmentActivity?.java:160)
at (
at (ActivityThread?.java:4217)


Change History (2)

comment:1 Changed 2 years ago by Meeh

Resolution: fixed
Status: newclosed

Pushed a fix.

comment:2 Changed 2 years ago by zzz

Milestone: undecided0.9.40

you think there's a race in there where in TunnelListFragment?, addTunnel() is called before onLoadFinished() ?

I think the Loader is asynch. If it finishes later, then the addTunnel will be lost

at least it won't NPE now. Please close ticket but say there may be a race in there still

Note: See TracTickets for help on using tickets.