• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to execute Thinlets in CrEme Emulator ? urgent....

 
ravi v kumar
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All...,

I'm new to Thinlets.
I developed a sample application in J2ME-CDC-PersonalProfile.
and I executed it with CrEme Emulator. Its working fine..

Then, I'm trying to execute a sample application developed in
Thinlets. But unfortunately I got "NullPointerException".

My Application : thinJar.jar
it contains : thin/Demo.class
thin/Demo.xml
thinlet/Thinlet.class
thinlet/FrameLauncher.class
and other resources...

D:\J2ME\NSIcom\CrEme V3.25\Demos\SwingSet>..\..\bin\pjscp.exe -Ob -classpath thinJar.jar thin.Demo

pJSCP J2ME(tm)
pJSCP V3.25 B080.040628 28-June-2004
(Win32 edition) MemoryLimit=32768Kb
java.lang.NullPointerException
at java.io.InputStreamReader.close()
at java.io.BufferedReader.close()
at thinlet.Thinlet.parse()
at thinlet.Thinlet.parse()
at thinlet.Thinlet.parse()
at thinlet.Thinlet.parse()
at thin.Demo.<init>()
at thin.Demo.main()


Please guide me to overcome this...

with regards,
ravi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic