- eclipse.buildId=3.0.0.201208091018-RELEASE-e42java.version=1.7.0_07java.vendor=Oracle CorporationBootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_USFramework arguments: -product org.springsource.sts.ideCommand-line arguments: -os linux -ws gtk -arch x86_64 -product org.springsource.sts.ideProblems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".org.eclipse.core.runtime.CoreException: Plug-in org.infinitest.eclipse was unable to load class org.infinitest.eclipse.ContinuousTestingStarter.Caused by: java.lang.ClassFormatError: Incompatible magic value 4022320623 in class file org/infinitest/eclipse/ContinuousTestingStarter
Can you build a jar successfully without your changes included?
Also, can you unzip the jar file, or is it just corrupted?
Failed to prepare partial IU: [R]org.infinitest.eclipse 5.1.105.
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]org.infinitest.eclipse 5.1.105, action=).
The bundle manifest could not be read: /usr/local/springsource/sts-3.0.0.RELEASE/plugins/org.infinitest.eclipse_5.1.105
org.eclipse.osgi.service.pluginconversion.PluginConversionException: Error parsing plugin manifest. Missing attribute "id" in element "plugin".at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:127)at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:714)at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.convertPluginManifest(BundlesAction.java:526)at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.basicLoadManifest(BundlesAction.java:624)at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.loadManifest(BundlesAction.java:562)at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.createBundleDescription(BundlesAction.java:555)at org.eclipse.equinox.internal.p2.touchpoint.eclipse.PublisherUtil.createBundleIU(PublisherUtil.java:29)at org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTouchpoint.prepareIU(EclipseTouchpoint.java:224)at org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTouchpoint.initializeOperand(EclipseTouchpoint.java:185)at org.eclipse.equinox.internal.p2.engine.Phase.initializeTouchpointParameters(Phase.java:223)at org.eclipse.equinox.internal.p2.engine.Phase.mainPerform(Phase.java:151)at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:92)at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47)at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:174)at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79)at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
ef bf bd ef bf bd ef bf bd ef bf bd 00 00 00 31 |...............1|00 ef bf bd 09 00 2c 00 63 09 00 2c 00 64 0a 00 |......,.c..,.d..|2d 00 65 08 00 66 09 00 2c 00 67 09 00 2c 00 68 |-.e..f..,.g..,.h|0a 00 2c 00 69 0b 00 6a 00 6b 0a 00 0b 00 6c 0a |..,.i..j.k....l.|00 0b 00 6d 07 00 6e 0a 00 0b 00 6f 07 00 70 0a |...m..n....o..p.|00 0d 00 65 09 00 0d 00 71 09 00 0d 00 72 09 00 |...e....q....r..|0d 00 73 0a 00 0b 00 74 0a 00 2c 00 75 0a 00 0b |..s....t..,.u...|00 76 07 00 77 0a 00 15 00 6f 0a 00 2c 00 78 0a |.v..w....o..,.x.|00 15 00 79 0a 00 7a 00 7b 0a 00 15 00 7c 0a 00 |...y..z.{....|..|15 00 7d 0a 00 15 00 7e 07 00 7f 0a 00 1d 00 65 |..}....~.......e|09 00 1d 00 ef bf bd 0a 00 ef bf bd 00 ef bf bd |................|07 00 ef bf bd 0a 00 21 00 ef bf bd 0a 00 ef bf |.......!........|bd 00 ef bf bd 07 00 ef bf bd 0a 00 24 00 ef bf |............$...|bd 07 00 ef bf bd 0a 00 26 00 ef bf bd 0a 00 ef |........&.......|bf bd 00 ef bf bd 0a 00 ef bf bd 00 69 07 00 ef |............i...|bf bd 0a 00 2a 00 ef bf bd 07 00 ef bf bd 07 00 |....*...........|ef bf bd 07 00 ef bf bd 01 00 00 01 00 0c 49 6e |..............In|6e 65 72 43 6c 61 73 73 65 73 01 00 09 63 6f 6d |nerClasses...com|70 6f 73 69 74 65 01 00 23 4c 6f 72 67 2f 65 63 |posite..#Lorg/ec|6c 69 70 73 65 2f 73 77 74 2f 77 69 64 67 65 74 |lipse/swt/widget|73 2f 43 6f 6d 70 6f 73 69 74 65 3b 01 00 0b 73 |s/Composite;...s|74 61 74 75 73 4c 61 62 65 6c 01 00 1f 4c 6f 72 |tatusLabel...Lor|67 2f 65 63 6c 69 70 73 65 2f 73 77 74 2f 77 69 |g/eclipse/swt/wi|64 67 65 74 73 2f 4c 61 62 65 6c 3b 01 00 0c 73 |dgets/Label;...s|74 61 74 75 73 53 74 72 69 6e 67 01 00 12 4c 6a |tatusString...Lj|61 76 61 2f 6c 61 6e 67 2f 53 74 72 69 6e 67 3b |ava/lang/String;|01 00 0f 62 61 63 6b 67 72 6f 75 6e 64 43 6f 6c |...backgroundCol|
ef bf bd: looks like an ut8 problem. Just to be sure, I committed a couple of fixes to the maven pom.xml to make sure we both use the exact same version of plugins.
[INFO] Using 'UTF-8' encoding to copy filtered resources.
Can you update and try again?
On Friday, September 28, 2012 9:50:39 AM UTC-7, David Gageot wrote:ef bf bd: looks like an ut8 problem. Just to be sure, I committed a couple of fixes to the maven pom.xml to make sure we both use the exact same version of plugins.I do see a seven info messages about this while building the project:[INFO] Using 'UTF-8' encoding to copy filtered resources.
I have only made a few changes to Java code and don't see how I'd affect this. On top of that the individual .class files are fine--just those in the JAR are messed up.Can you update and try again?No change. :( What version of Maven are you using? Mine (3.0.3) came bundled with STS.
3.0.3. On osx. Are you using Linux? I could try to build on a Linux box when I'm back home.
Since only the jar is broken it might be because of maven-jar-plugin. Could you try a more recent version ?with version 2.4Then run mvn clean install
The first ncoding messages all came before a message about copying a handful of files. The class files are fine, only those in the final plugin JAR are converted. I'll check your changes in an hour or so.
Thanks,
David