(keitai-l) Scratch pad , please help

From: Dibyendu <dibyendu.bhattacharya_at_eximsoft.com>
Date: 04/12/02
Message-ID: <019701c1e22c$7fce4ef0$800a0a0a@exim.com>
Hi
I am writing a program like this ...

DataOutputStream out = Connector.openDataOutputStream("scratchpad:///0");
out.write(("Something").getBytes(),0,4);
out.close();

But when I execute the code using DOJA emulator , I am getting following
error ...


Exception: com/nttdocomo/io/ConnectionException
 com/nttdocomo/io/reference/scratchpad/ScratchpadOutputStream.write
(virtual) IP = 51
 java/io/DataOutputStream.write (virtual) IP = 8
 java/io/DataOutputStream.writeInt (virtual) IP = 12
 Example$ButtonCommand.saveScratchPad (virtual) IP = 20
 Example$ButtonCommand.componentAction (virtual) IP = 52
 com/nttdocomo/ui/PanelImpl.fireComponentEvent (virtual) IP = 29
 com/nttdocomo/ui/ButtonImpl.processEvent (virtual) IP = 82
 com/nttdocomo/ui/PanelImpl.processKey (virtual) IP = 39
 com/nttdocomo/ui/EventDispatcher.run (virtual) IP = 120
com.nttdocomo.io.ConnectionException

Can any body help me , why I am geetign this error  ?

When I try to view the scratchpad , I am getting following message ...

viewscratch

java.io.FileNotFoundException: C:\TEMP\<JAR FILE NAME >.jar.scr (The system
cannot find the file specified)

Please help ..

Regards ,
Dibyendu .
Received on Fri Apr 12 17:19:33 2002