title: glUtilsParamSize error when opening new activity
body: <p>I have one problem. When i run my app, i want to open new activity with button. That works with one activity,but the other activity(two buttons in main menu,one works other not) just closes the app. Here is the code of that activity,and the logcat of errors. Logcat says there is problem with glutilsparamsize</p>
  
  <p>My problem is that it doesn't want to open activity pronadi. My buttons Opis and Izlaz work and they open activity opis and izlaz button exits,but button pronadi says "com.example.shromid. stopped" and closes the app. I want to open activity pronadi.</p>
  
  <p><strong>LOGCAT errors</strong></p>
  
  <pre><code> 01-31 09:49:47.351 4576-4596/com.example.shromid E/eglCodecCommon: 
   glUtilsParamSize: unknow param 0x00008cdf
   01-31 09:49:47.352 4576-4596/com.example.shromid E/eglCodecCommon: 
   glUtilsParamSize: unknow param 0x00008cdf
   01-31 09:49:47.360 4576-4596/com.example.shromid E/eglCodecCommon: 
   glUtilsParamSize: unknow param 0x00008824
   01-31 09:49:47.360 4576-4596/com.example.shromid E/eglCodecCommon: 
   glUtilsParamSize: unknow param 0x00008824
  </code></pre>
  
  <p>Activity that i want to open</p>
  
  <pre><code>package com.example.shromid;
  
  import android.app.Activity;
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.view.View;
  import android.widget.AdapterView;
  import android.widget.ArrayAdapter;
  import android.widget.Spinner;
  import android.widget.Toast;
  import java.util.ArrayList;
  import java.util.List;
  
  public class Pronadi extends Activity {
      Spinner kboja;
      Spinner ktekstura;
      Spinner koblik;
      ArrayAdapter&lt;String&gt; adapter;
      ArrayAdapter&lt;String&gt; adapter1;
      ArrayAdapter&lt;String&gt; adapter2;
      DatabaseHelper db;
      List&lt;String&gt;gljive=new ArrayList&lt;&gt;();
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_pronadi);
          kboja = (Spinner) findViewById(R.id.kboja);
          ktekstura = (Spinner) findViewById(R.id.ktekstura);
          koblik = (Spinner) findViewById(R.id.koblik);
          db = new DatabaseHelper(Pronadi.this);
          prepareData();
          prepareData1();
          prepareData2();
  
          kboja.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
              @Override
              public void onItemSelected(AdapterView&lt;?&gt; parent, View view, int position, long id) {
                  Toast.makeText(getApplicationContext(), "" + parent.getItemAtPosition(position).toString(), Toast.LENGTH_SHORT);
              }
  
              @Override
              public void onNothingSelected(AdapterView&lt;?&gt; parent) {
  
              }
          });
          koblik.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
              @Override
              public void onItemSelected(AdapterView&lt;?&gt; parent, View view, int position, long id) {
                  Toast.makeText(getApplicationContext(),""+parent.getItemAtPosition(position).toString(),Toast.LENGTH_SHORT);
              }
  
              @Override
              public void onNothingSelected(AdapterView&lt;?&gt; parent) {
  
              }
          });
          ktekstura.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
              @Override
              public void onItemSelected(AdapterView&lt;?&gt; parent, View view, int position, long id) {
                  Toast.makeText(getApplicationContext(),""+parent.getItemAtPosition(position).toString(),Toast.LENGTH_SHORT);
              }
  
              @Override
              public void onNothingSelected(AdapterView&lt;?&gt; parent) {
  
              }
          });
      }
  
          public void prepareData() {
          gljive=db.getKlobuk_Boja();
          adapter=new ArrayAdapter&lt;String&gt;(Pronadi.this,android.R.layout.simple_spinner_dropdown_item,android.R.id.text1,gljive);
          kboja.setAdapter(adapter);
      }
  
          public void prepareData1() {
          gljive=db.getKlobuk_Oblik();
          adapter1=new ArrayAdapter&lt;String&gt;(Pronadi.this,android.R.layout.simple_spinner_dropdown_item,android.R.id.text1,gljive);
          koblik.setAdapter(adapter1);
      }
      public void prepareData2(){
          gljive=db.getKlobuk_Tekstura();
          adapter2=new ArrayAdapter&lt;String&gt;(Pronadi.this,android.R.layout.simple_spinner_dropdown_item,android.R.id.text1,gljive);
          ktekstura.setAdapter(adapter2);
      }
  }
  </code></pre>
  
  <p>Activity with buttons to open activity </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>package com.example.shromid;
  
  import android.content.Intent;
  import android.os.Handler;
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.view.View;
  import android.widget.Button;
  
  public class MainActivity extends AppCompatActivity{
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          izlaz();
          otvoriopis();
          otvoripronadi();
      }
      public Button btnopis;
          public void otvoriopis(){
              btnopis=(Button)findViewById(R.id.btnopis);
              btnopis.setOnClickListener(new Button.OnClickListener() {
                  @Override
                  public void onClick(View v) {
                      Intent otvoriopis= new Intent(MainActivity.this,Opis.class);
                      startActivity(otvoriopis);
                  }
              });
  
          }
      public Button btnpronadi;
          public void otvoripronadi(){
              btnpronadi=(Button)findViewById(R.id.btnpronadi);
              btnpronadi.setOnClickListener(new Button.OnClickListener() {
              @Override
              public void onClick(View v) {
                      Intent otvoripronadi= new Intent(MainActivity.this,Pronadi.class);
                      startActivity(otvoripronadi);
              }
          });
      }
      public Button btnizlaz;
          public void izlaz(){
              btnizlaz=(Button)findViewById(R.id.btnizlaz);
              btnizlaz.setOnClickListener(new Button.OnClickListener() {
                  @Override
                  public void onClick(View v) {
                      finish();
                      System.exit(0);
                  }
              });
          }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>android manifest </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.shromid"&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/app_ikona"
          android:roundIcon="@mipmap/app_icon_round"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;activity android:name=".SplashScreen"
              android:label="ShromID"
              android:screenOrientation="portrait"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity android:name=".MainActivity"/&gt;
          &lt;activity android:name=".Opis" /&gt;
          &lt;activity android:name=".Pronadi"&gt;&lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Main activity xml</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="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:background="@drawable/pozadina2"
      android:orientation="vertical"
      tools:context="com.example.shromid.MainActivity"&gt;
  &lt;!-- Gumbovi u glavnom meniju --&gt;
      &lt;Button
          android:id="@+id/btnpronadi"
          android:layout_width="183dp"
          android:layout_height="56dp"
          android:layout_marginBottom="11dp"
          android:background="@drawable/gumbpronadi"
          android:visibility="visible"
          app:layout_constraintBottom_toTopOf="@+id/btnopis"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/imageView3" /&gt;
  
      &lt;Button
          android:id="@+id/btnopis"
          android:layout_width="183dp"
          android:layout_height="56dp"
          android:layout_marginBottom="11dp"
          android:background="@drawable/gumbopis"
          app:layout_constraintBottom_toTopOf="@+id/btnizlaz"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/btnpronadi" /&gt;
  
      &lt;Button
          android:id="@+id/btnizlaz"
          android:layout_width="183dp"
          android:layout_height="56dp"
          android:layout_marginBottom="106dp"
          android:background="@drawable/gumbizlaz"
          app:layout_constraintBottom_toBottomOf="parent"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/btnopis" /&gt;
      &lt;!-- Kraj gumbova u glavnom meniju --&gt;
      &lt;!-- Logo u glavnom meniju --&gt;
      &lt;ImageView
          android:id="@+id/imageView3"
          android:layout_width="0dp"
          android:layout_height="0dp"
          android:layout_marginBottom="4dp"
          android:layout_marginEnd="30dp"
          android:layout_marginStart="30dp"
          android:layout_marginTop="16dp"
          android:src="@drawable/gljiveprobna"
          app:layout_constraintBottom_toTopOf="@+id/btnpronadi"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toTopOf="parent" android:contentDescription="@string/todo" /&gt;
  &lt;/android.support.constraint.ConstraintLayout&gt;</code></pre>
  </div>
  </div>
  </p>