title: NullPointerException - What to do?
body: <p>I'm experiencing a NullpointerException with this code:</p>
  
  <pre><code>kuglebutton.setOnClickListener(new OnClickListener() {
  
          @Override
          public void onClick(View v) {
  
              if(toggle.isChecked())
              {                   
                  counter1 = counter1 + 10;
                  column1tv.setText("" + counter1);                   
              }
              else
              {           
                  counter1 = counter1 - 2;
                  column1tv.setText("" + counter1);           
              }
          }                   
  });
  </code></pre>
  
  <p>Can anyone tell me what i'm doing wrong, and maybe how to fix it?</p>