[Solved] issue:Null Pointer Exception In Android


Try doing something like this…

done.setOnClickListener(new View.OnClickListener() 
{
@Override
public void onClick(View v) 
  {
    ClassB b = new ClassB();

    ClassB.SimpleThread sx = b.new SimpleThread();

    sx.start();
  }

0

solved issue:Null Pointer Exception In Android