{"id":1909,"date":"2022-08-30T15:20:27","date_gmt":"2022-08-30T15:20:27","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/02\/nullpointer-exception-popupwindow-getmaxavailableheight-using-listpopupwindow-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:20:27","modified_gmt":"2022-08-30T15:20:27","slug":"nullpointer-exception-popupwindow-getmaxavailableheight-using-listpopupwindow-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/nullpointer-exception-popupwindow-getmaxavailableheight-using-listpopupwindow-collection-of-common-programming-errors\/","title":{"rendered":"NullPointer.Exception PopupWindow.getMaxAvailableHeight using ListPopupWindow-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m trying to use a PopupWindow with an adapter but this exception occurs. I tried to search for something that solve this problem but I didn&#8217;t found anything.<\/p>\n<p>Here is the Exception<\/p>\n<pre><code>07-18 10:58:27.600: D\/dalvikvm(15218): GC_FOR_ALLOC freed 56K, 3% free 6409K\/6595K, paused 40ms\n07-18 10:58:27.600: I\/dalvikvm-heap(15218): Grow heap (frag case) to 6.804MB for 513744-byte allocation\n07-18 10:58:27.669: D\/dalvikvm(15218): GC_FOR_ALLOC freed 8K, 3% free 6902K\/7111K, paused 41ms\n07-18 10:58:27.749: D\/dalvikvm(15218): GC_CONCURRENT freed<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2013-12-02 21:17:24. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m trying to use a PopupWindow with an adapter but this exception occurs. I tried to search for something that solve this problem but I didn&#8217;t found anything. Here is the Exception 07-18 10:58:27.600: D\/dalvikvm(15218): GC_FOR_ALLOC freed 56K, 3% free 6409K\/6595K, paused 40ms 07-18 10:58:27.600: I\/dalvikvm-heap(15218): Grow heap (frag case) to 6.804MB for 513744-byte allocation [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1909","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1909"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1909\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}