Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6677289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:06:02+00:00 2026-05-26T04:06:02+00:00

The code: http://pastebin.com/5bhKULGd the problem: When you click an item in the gridview, OCLGenre

  • 0

The code: http://pastebin.com/5bhKULGd

the problem:
When you click an item in the gridview, OCLGenre (OnItemClickListener for Genre view)
fires an nullPointer at line 123. I’m trying to understand where the nullPointer comes from but can’t find it.

The stack:

ERROR/AndroidRuntime(10511): FATAL EXCEPTION: main
 java.lang.NullPointerException
 at com.MMWeb.MMWeb$browse$1.onItemClick(MMWeb.java:123)
 at android.widget.AdapterView.performItemClick(AdapterView.java:284)
 at android.widget.AbsListView$PerformClick.run(AbsListView.java:1812)
 at android.os.Handler.handleCallback(Handler.java:587)
 at android.os.Handler.dispatchMessage(Handler.java:92)
 at android.os.Looper.loop(Looper.java:123)
 at android.app.ActivityThread.main(ActivityThread.java:3683)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:507)
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
 at dalvik.system.NativeStart.main(Native Method)

Anyone got a pointer to where to find the source of this nullPointer?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:06:02+00:00Added an answer on May 26, 2026 at 4:06 am

    Oke i found my problem By moving the ImageAdapter out of the “browse” class, the “browse” class did not have any reference to the ArrayList ‘items’. I could find the problem because, after all, i defined the ArrayList at line 112. However, showGenres() uses a local ArrayList, and the ImageAdapter would put it in “browser.items”. Fixed it by removing the local decleration of items on line 145, 154 and 162

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having problem with implementing custom session handler in php. The code: http://pastebin.com/9QV9f22Q
i have a problem with displaying GoogleMap. Here is the website source code: http://pastebin.com/LjhVbEF7
Code: http://pastebin.com/h8WuYbJn Full error: Fatal error : Call to undefined function AddUser() in C:\xampp\htdocs\scripts\steam.php
i am porting opera recovery from alredy existed c++ code http://pastebin.com/ViPf0yn6 i struck at
I am porting opera recovery from already existing C++ code http://pastebin.com/ViPf0yn6 I struck at
I am trying to learn Flex and now i have the next code: http://pastebin.com/rZwxF7w1
First of all, here's the full source code: http://pastebin.com/5teGNrPC *> IDENTIFICATION DIVISION. PROGRAM-ID. CAddress.
I have simple front controller plugin which contains this code: http://pastebin.com/m155c59b0 When session expire
I have this code http://pastebin.com/hCFk0FJg Server starts and listens normally, but then when I
i have the following simple grid960 HTML code: http://pastebin.com/m1SYMH5S but it looks verry different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.