Issue 392 in openintents: OI Shopping List: NullPointerException in ShoppingActivity.setSelectedListId()

1 view
Skip to first unread message

openi...@googlecode.com

unread,
Aug 25, 2011, 8:44:40 AM8/25/11
to openinten...@googlegroups.com
Status: New
Owner: ----
Labels: Type-DefectMarket Priority-Medium Market Stack-Shopping

New issue 392 by peli0...@googlemail.com: OI Shopping List:
NullPointerException in ShoppingActivity.setSelectedListId()
http://code.google.com/p/openintents/issues/detail?id=392

Crash:
OI Shopping List: NullPointerException in
ShoppingActivity.setSelectedListId()

Platforms:
Other

User messages:

Stack traces:
v1.4
25.08.2011 11:29:26

java.lang.RuntimeException: Unable to start activity
ComponentInfo{org.openintents.shopping/org.openintents.shopping.ShoppingActivity}:
java.lang.NullPointerException
at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
at android.app.ActivityThread.access$2300(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at
org.openintents.shopping.ui.ShoppingActivity.setSelectedListId(ShoppingActivity.java:2191)
at
org.openintents.shopping.ui.ShoppingActivity.onCreate(ShoppingActivity.java:586)
at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
... 11 more


openi...@googlecode.com

unread,
Aug 25, 2011, 10:41:01 AM8/25/11
to openinten...@googlegroups.com

Comment #1 on issue 392 by peli0...@googlemail.com: OI Shopping List:
NullPointerException in ShoppingActivity.setSelectedListId()
http://code.google.com/p/openintents/issues/detail?id=392

If this NullPointerException happens after onCreate, this means that the
query in fillListFilter() failed just before that call, which means that
something serious happened.

It is not very likely to fix the source of this problem by wrapping the
code line by "if (... != null)" - the exception will just be delayed to a
later point.


openi...@googlecode.com

unread,
Sep 8, 2013, 2:00:19 AM9/8/13
to openinten...@googlegroups.com

Comment #2 on issue 392 by Nikhil.J...@stu.upes.ac.in: OI Shopping List:
NullPointerException in ShoppingActivity.setSelectedListId()
http://code.google.com/p/openintents/issues/detail?id=392

If you allow then ,I would like to work on this piece of code



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages