Bug 246206 - MTJ Fails to run MIDlet from projects with less than 3 characters as name
Summary: MTJ Fails to run MIDlet from projects with less than 3 characters as name
Status: CLOSED FIXED
Alias: None
Product: MTJ (Archived)
Classification: Tools
Component: MTJ projects (show other bugs)
Version: 0.9   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.1   Edit
Assignee: Hugo Raniere CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, core
: 247316 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-04 08:31 EDT by Diego Madruga Sandin CLA
Modified: 2009-05-29 11:33 EDT (History)
4 users (show)

See Also:


Attachments
internal error trace (1.44 KB, text/plain)
2008-09-04 08:31 EDT, Diego Madruga Sandin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Madruga Sandin CLA 2008-09-04 08:31:29 EDT
Created attachment 111666 [details]
internal error trace

MTJ Fails to run a MIDlet from a project with less than 3 characters as name.

This error occur in the createTempDirectory method of the org.eclipse.mtj.core.internal.utils.TemporaryFileManager class on the org.eclipse.mtj.core plug-in.

The method File.createTempFile(prefix, suffix, directory) throws 
IllegalArgumentException if the prefix argument contains fewer than three characters.
Comment 1 Diego Madruga Sandin CLA 2008-09-15 14:48:26 EDT
*** Bug 247316 has been marked as a duplicate of this bug. ***
Comment 2 Hugo Raniere CLA 2008-09-17 14:32:23 EDT
Bug fixed. While creating the temp dir, the project name is feed with '_' characters until its length reach 3.
Comment 3 Gustavo de Paula CLA 2009-05-29 11:33:42 EDT
change to closed.