Bug 273720 - [fiximprove] : Launch of emulator produces an incorrect jar file
Summary: [fiximprove] : Launch of emulator produces an incorrect jar file
Status: NEW
Alias: None
Product: MTJ (Archived)
Classification: Tools
Component: Deployment (show other bugs)
Version: 0.9.1   Edit
Hardware: PC Windows Vista
: P3 major (vote)
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on: 278171
Blocks:
  Show dependency tree
 
Reported: 2009-04-26 09:29 EDT by Wolfgang Grossinger CLA
Modified: 2009-09-01 05:08 EDT (History)
4 users (show)

See Also:


Attachments
Error image (101.95 KB, image/jpeg)
2009-08-19 10:23 EDT, Renato Franca CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Grossinger CLA 2009-04-26 09:29:26 EDT
Build ID: M20090211-1700

Steps To Reproduce:
When you user S60 fp1 emulator and want to run a project on it, you frequently get the message 'Jar file could not be initialized' java.util.zip.ZipException: invalid entry compressed size (expected x but got y bytes). It seems that MTJ doesn't produce a valid jar file in most of the cases.

More information:
Comment 1 Gorkem Ercan CLA 2009-06-03 08:55:38 EDT
Are you even able to import this SDK? See bug 278171
Comment 2 Wolfgang Grossinger CLA 2009-06-03 09:31:55 EDT
Yes, I was, this worked in my version.
Comment 3 Renato Franca CLA 2009-08-18 08:21:21 EDT
Hello everyone,

I will fix this bug and send a patch soon.

Regards,

Renato Franca
Comment 4 Renato Franca CLA 2009-08-19 10:06:24 EDT
Hello All,

I was analyzing the bug and noticed that the error happens when the path to the MIDlet jar file is used as a classpath parameter:

emulator.exe -classpath "C:\Locale.jar" -Xdevice:S60Emulator -Xdescriptor:"C:\Locale.jad" TestMIDlet

Removing the classpath parameter the command works fine, until the “Launch session” step, when a new error happens (see attached image).

I was looking for this error on forums and seems that anyone know how to fix that bug. 

Does anyone know how to fix that error, or what causes that?
 
Regards,

Renato Franca
Comment 5 Renato Franca CLA 2009-08-19 10:23:30 EDT
Created attachment 144972 [details]
Error image

Error image
Comment 6 Pippo Cattaneo CLA 2009-09-01 05:08:24 EDT
(In reply to comment #5)
> Created an attachment (id=144972) [details]
> Error image
> 

If it can be of any help I had a similar error (cannot launch any application) after installing the nightly build to fix bug 278171 (http://download.eclipse.org/dsdp/mtj/downloads/drops/N-N20090820-200908200942/index.html) to import S60 3rd ed FP1 devices. This happens even when I select S60 5th ed emulator which normally works with the official MTJ 1.0 release.

Reinstalling the 1.0 release and removing 3ed FP1 devices it's OK. 

Any hope to have MTJ running with nokia S60 FP1 devices ?

bye

Pipp8