Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 2
Registered: ‎10-16-2008
My Device: Not Specified
Accepted Solution

ESS: failed to create udppacket / fileNotFoundException

[ Edited ]

Hello Everybody,

I've been searching this forum but didn't find anything of any help.


I tried to test email-newsletters using the new BlackBerry JDE 4.6.0 and its bundled ESS and Device Simulator.

I started the ESS in Standalone Mode and used Outlook Express to send and receive Messages.

Sending an email from the simulated device to Outlook works just fine but as soon as i try to send an email from Outlook, the ESS replies with


<Thu Oct 16 09:44:41 CEST 2008>: [42] :<DEBUG>:<LAYER = UDP, EVENT = Sending, SIZE = 217, SOURCE = , DESTINATION = localhost:19780>
failed to create udp packet
java.io.FileNotFoundException: c:\temp\udppacket.0.bin (The system cannot find the specified path)


(translated from german "Das System kann den angegebenen Pfad nicht finden")


Yesterday I tested the same with the ESS from BlackBerry Email and MDS Services Simulators 4.1.4 and the Device Simulator from BlackBerry JDE 4.2.1. which worked perfectly well. But the BlackBerry Models in this JDE do not support HTML Email yet.


Can anybody give me a hint on what I missed? Does the MDS have to run too?

Or even better:

Is there a way to simulate 8800 and 8707 Devices with the device software updated to 4.5?


I am thankful for any kind of assistance.



Message Edited by RaunoSchaal on 10-16-2008 04:09 AM
BlackBerry Development Advisor
Posts: 15,852
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: ESS: failed to create udppacket / fileNotFoundException

This is generally caused by a Windows permission or environment issue where the ESS is unable to write to the default Windows temporary folder and is trying to write to c:\temp instead.  An easy work around is to create a temp folder in the root of your c drive.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
New Developer
Posts: 2
Registered: ‎10-16-2008
My Device: Not Specified

Re: ESS: failed to create udppacket / fileNotFoundException

Thanks a lot, that worked of course.