Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 247316

Summary: Error when launching midlet project with less than 3 chars
Product: [Tools] MTJ Reporter: Edwin Carlo Ribeiro Marinho <edwin.carlo>
Component: GeneralAssignee: Gustavo de Paula <wgp010>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: wds057
Version: 0.9   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Example MIDlet none

Description Edwin Carlo Ribeiro Marinho CLA 2008-09-15 13:20:03 EDT
Created attachment 112566 [details]
Example MIDlet

MTJ 0.9M1 Testing
Installation : eclipse-SDK-3.4.0 (I20080617-2000) 
MTJ install  : mtj-runtime
java.runtime : Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
os.name:     : Windows XP Professional, Service Pack 3


Overview: When the user creates a project with less the 3 characters, there is a problem when try to launch the midlet.

    

Steps to Reproduce: 

    1) Create a new project (J2ME MIDlet project) 

    2) Create a simple helloworld midlet (or use the one attached)

    3) Try to run the midlet by clicking with right button on midlet class and selecting the option Run as -> Emulated Java ME Midlet

Actual Results: 

    An error messaging is displayed: "An internal error occurred during: "Launching HelloWorldMIDlet (5)". Prefix string too short"


Expected Results:

    MIDlet should run normally.

Build Date & Platform:

    Build id: 200808291424 / Windows XP

Additional Information:

    Example midlet attached
Comment 1 Diego Madruga Sandin CLA 2008-09-15 14:48:26 EDT

*** This bug has been marked as a duplicate of bug 246206 ***
Comment 2 Gustavo de Paula CLA 2009-01-23 08:42:01 EST
close invalid, duplicated and wontfix bugs