0 Replies Latest reply: Aug 13, 2008 2:36 AM by 843851 RSS

    NullPointerException when run ServiceSelectionExample xlet

    843851
      Hello,

      The ServiceSelectionExample xlet from [http://www.interactivetvweb.org/resources/code_samples] gets compiled with javatv.jar set in classpath in console.
      However, when executed with xletview emulator, I get the following exception.

      -----------------------------------------------------------------------------------------------------------------------------------------
      ********************************************************
      XleTView, Copyright (C) 2003 - 2004 Martin Sveden
      XleTView comes with ABSOLUTELY NO WARRANTY.
      This is free software, and you are welcome to redistribute
      it under certain conditions;
      see license document for details.
      ********************************************************
      setting properties...
      free/used/total: 2070 K / 5425 K / 7496 K
      running gc...
      after gc...
      free/used/total: 3755 K / 4672 K / 8428 K
      [XleTView]-INFO->loading Xlet... [ServiceSelectionExample]
      [XleTView]-INFO->XLET started... [ServiceSelectionExample]
      java.lang.NullPointerException
      at ServiceSelectionExample.run(ServiceSelectionExample.java:155)
      at java.lang.Thread.run(Thread.java:595)
      error <<<<<
      ------------------------------------------------------------------------------------------------------------------------------------

      Can you please let me know the reason for the same? How to resolve it?

      Regards,
      vpat