title: Odd Android error: **** ERROR unknown type 0x73736572 (glSizeof,72)
body: <p>I'm facing a super weird situation and to be honest I will start crying soon.</p>
  
  <p>I have created a view - displaying an admob banner at the bottom. For me everything seems ok, but I noticed that </p>
  
  <ol>
  <li>it takes a long time to diplay the activity</li>
  <li>There is a strange errors looping all over the logcat console.</li>
  </ol>
  
  <p>Here the errors(repeating hundred times):</p>
  
  <pre><code>03-30 14:16:14.052: E/eglCodecCommon(999): glUtilsParamSize: unknow param 0x00000b44
  03-30 14:16:14.122: E/eglCodecCommon(999): glUtilsParamSize: unknow param 0x00000bd0
  03-30 14:16:14.252: E/eglCodecCommon(999): **** ERROR unknown type 0x73736572 (glSizeof,72)
  </code></pre>
  
  <p>When I press the back button and I'm out of the activity, everything stops.</p>
  
  <p>Here is my layout:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:ads="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      tools:context=".AllJokes" 
      android:background="@drawable/background"
      android:id="@+id/allJokesLo"&gt;
  
      &lt;ListView
                android:id="@+id/allJokesList"
                android:layout_width="fill_parent"
                android:layout_height="0dp"
                android:layout_weight="1"
                android:gravity="center"&gt;
      &lt;/ListView&gt;
  
  
      &lt;com.google.android.gms.ads.AdView android:id="@+id/adView"
  
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                ads:adUnitId="ca-app-pub-code/code"
                ads:adSize="BANNER"
      /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>And here is the java part:</p>
  
  <pre><code>public class AllJokes extends Activity {
  
      public static ArrayAdapter&lt;String&gt; adapter;
      public static ListView listView;
       private AdView adView;
  
        /* Your ad unit id. Replace with your actual ad unit id. */
        private static final String AD_UNIT_ID = "ca-app-pub-code/code";
  
      @SuppressLint("NewApi")
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_all_jokes);        
  
          adView = new AdView(this);
          adView.setAdSize(AdSize.BANNER);
          adView.setAdUnitId(AD_UNIT_ID);
  
          // Add the AdView to the view hierarchy. The view will have no size
          // until the ad is loaded.
          final ViewGroup adViewContainer = (ViewGroup) findViewById(R.id.adView);
          adViewContainer.addView(adView);
  
          // Create an ad request. Check logcat output for the hashed device ID to
          // get test ads on a physical device.
          AdRequest adRequest = new AdRequest.Builder()
            .addTestDevice("B3EEABB8EE11C2BE770B684D95219ECB")
              .build();
  
          // Start loading the ad in the background.
          adView.loadAd(adRequest);
  
          final GlobalsHolder globals = (GlobalsHolder)getApplication();
              new loadJson().execute();
          adapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, new ArrayList&lt;String&gt;());
          adapter.clear();
          adapter.addAll(globals.getMyStringArray());
  
          listView = (ListView) findViewById(R.id.allJokesList);
          listView.setAdapter(adapter);
          listView.setBackgroundColor(Color.WHITE);
  
          listView.setOnItemClickListener(new OnItemClickListener() {
              public void onItemClick(AdapterView&lt;?&gt; parent, View view,
                      int position, long id) {
                  globals.setClickedJokeName((String) ((TextView) view).getText());
                  openJokeBody(view);
  
                  globals.setClickedPosition(position);
  
                  // When clicked, shows a toast with the TextView text
                  Toast.makeText(getApplicationContext(),
                  ((TextView) view).getText(), Toast.LENGTH_SHORT).show();
              }
          });
  
      }
       @Override
        public void onResume() {
          super.onResume();
          if (adView != null) {
            adView.resume();
          }
        }
  
        @Override
        public void onPause() {
          if (adView != null) {
            adView.pause();
          }
          super.onPause();
        }
  
        /** Called before the activity is destroyed. */
        @Override
        public void onDestroy() {
          // Destroy the AdView.
          if (adView != null) {
            adView.destroy();
          }
          super.onDestroy();
        }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.all_jokes, menu);
          return true;
      }
  
      public class loadJson extends AsyncTask&lt;Void, Integer, String[]&gt;{
  
          private ProgressDialog Dialog = new ProgressDialog(AllJokes.this);
  
          @Override
          protected void onPreExecute()
          {
              Dialog.setMessage("Fetching the latest jokes!");
              Dialog.show();
          }
  
          @Override
          protected String[] doInBackground(Void... params) {
              /*Getting the joke names JSON string response from the server*/
              URL u;
              StringBuffer buffer = new StringBuffer();
              StringBuffer buffer2 = new StringBuffer();
              try {
                  u = new URL("https://site.com/android/Jokes/showJokes.php?JokeCat=allJokes");
                  URLConnection conn = u.openConnection();
                  BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
  
                  String inputLine;
                  while ((inputLine = in.readLine()) != null) 
                      buffer.append(inputLine);
                  in.close();         
              }catch(Exception e){
                  e.printStackTrace();
              }
              try {
                  u = new URL("https://site.com/android/britishJokes/JokesBody.php?JokeCat=allJokes");
                  URLConnection conn = u.openConnection();
                  BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
  
                  String inputLine;
                  while ((inputLine = in.readLine()) != null) 
                      buffer2.append(inputLine);
                  in.close();         
              }catch(Exception e){
                  e.printStackTrace();
              }
  //          return buffer.toString(); ako se naloji da vurna - da pogledna tva return4e
              return new String[]{buffer.toString(), buffer2.toString()};
          }
  
          @SuppressLint("NewApi")
          protected void onPostExecute(String[] buffer) {
              final GlobalsHolder globals = (GlobalsHolder)getApplication();
              JSONArray jsonArray = new JSONArray();
              JSONArray jsonArray1 = new JSONArray();
              try {
                  jsonArray = new JSONArray(buffer[0]);
                  jsonArray1 = new JSONArray(buffer[1]);
              } catch (JSONException e) {
                  e.printStackTrace();
              }           
         /*Looping trough the results and adding them to a list*/
          ArrayList&lt;String&gt; list = new ArrayList&lt;String&gt;();     
          ArrayList&lt;String&gt; list1 = new ArrayList&lt;String&gt;();   
          if (jsonArray != null) { 
             int len = jsonArray.length();
             for (int i=0;i&lt;len;i++){ 
              try {
                  list.add(jsonArray.get(i).toString());
                  globals.setJokeNamesList(list);
              } catch (JSONException e) {
                  e.printStackTrace();
              }
            } 
          }
  
          if (jsonArray != null) { 
                 int len = jsonArray1.length();
                 for (int i=0;i&lt;len;i++){ 
                  try {
                      list1.add(jsonArray1.get(i).toString());
                      globals.setList(list1);
                  } catch (JSONException e) {
                      e.printStackTrace();
                  }
                } 
              } 
             /* Redrwawing the view */
               adapter.clear();
               adapter.addAll(list);      
               Dialog.dismiss();
               globals.setLoaded(true);
           }
  
      }
  
      /*This method opens the new activity - TopJokesBody when a joke name from the list is clicked*/
      public void openJokeBody(View view) {
          Intent intent = new Intent(this, AllJokesBody.class);
          startActivity(intent);
      }   
  
  }
  </code></pre>
  
  <p>Here is a screenshot:
  <img src="https://i.stack.imgur.com/E1to4.png" alt="enter image description here"></p>
  
  <p>Have you ever faced the same issue? I really can't spot my mistake, even if it is a small one.</p>
  
  <p>Please, give me a clue!</p>