Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: Fw: [Fwd: [pde-dev] Build error]

I can not reproduce this on a smaller scale.
the exception I am getting now is :

        [java] [p2.generator] location=org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar
[java] [p2.generator] java.net.MalformedURLException: invalid url: org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar!/ (java.net.MalformedURLException: no protocol: org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar)
        [java] [p2.generator] 	at java.net.URL.<init>(Unknown Source)
        [java] [p2.generator] 	at java.net.URL.<init>(Unknown Source)
        [java] [p2.generator] 	at java.net.URL.<init>(Unknown Source)
        [java] [p2.generator] 	at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getOSGiManifest(Utils.java:222)
        [java] [p2.generator] 	at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getManifestMainAttributes(Utils.java:208)
[java] [p2.generator] at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getClausesManifestMainAttributes(Utils.java:204) [java] [p2.generator] at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.isSystemBundle(EquinoxBundlesState.java:149) [java] [p2.generator] at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.getSystemBundleFromBundleInfos(EquinoxBundlesState.java:115) [java] [p2.generator] at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.getSystemBundleFromBundleInfos(EquinoxBundlesState.java:124) [java] [p2.generator] at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:288) [java] [p2.generator] at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:273) [java] [p2.generator] at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.initialize(EquinoxBundlesState.java:519) [java] [p2.generator] at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.<init>(EquinoxBundlesState.java:237) [java] [p2.generator] at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:335) [java] [p2.generator] at org.eclipse.equinox.internal.provisional.p2.metadata.generator.EclipseInstallGeneratorInfoProvider.initialize(EclipseInstallGeneratorInfoProvider.java:539) [java] [p2.generator] at org.eclipse.equinox.internal.p2.metadata.generator.EclipseGeneratorApplication.initialize(EclipseGeneratorApplication.java:88) [java] [p2.generator] at org.eclipse.equinox.internal.p2.metadata.generator.EclipseGeneratorApplication.run(EclipseGeneratorApplication.java:343) [java] [p2.generator] at org.eclipse.equinox.internal.provisional.p2.metadata.generator.IncrementalGenerator.run(IncrementalGenerator.java:43) [java] [p2.generator] at org.eclipse.equinox.internal.p2.metadata.generator.ant.GeneratorTask.execute(GeneratorTask.java:40)

this is the code it is executing (file: org.eclipse.equinox.internal.frameworkadmin.utils.Utils.java)
			URL url = new URL("jar:" + location.toString() + "!/");
			JarURLConnection jarConnection = (JarURLConnection) url.openConnection();
			ZipFile jar = jarConnection.getJarFile();

as you can see from the above the value of location is org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar.

Do you have any idea which directory the code is going in to find this plugin jar file?

How do I validate that this plugin exists on disk?

thanks for ALL of you help so far.

Any help would be great

Andrew Niefer wrote:

Mark,
I started looking at this, but am having a hard time seeing how it would happen. Do you have a small example that reproduces the problem that you can put on a bug?

-Andrew


From: 	Mark Russell <mark_russell@xxxxxxxxxxxxxxxxxx>
To: 	"Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>
Date: 	08/25/2009 12:54 PM
Subject: 	Re: Fw: [Fwd: [pde-dev] Build error]
Sent by: 	pde-dev-bounces@xxxxxxxxxxx


------------------------------------------------------------------------



thank You :->
Darin Wright wrote:
 > Posting to p2-dev in case anyone can help.
 >
 > Darin
 > ----- Forwarded by Darin Wright/Ottawa/IBM on 08/25/2009 10:44 AM -----
 >
 > From:
 > Mark Russell <mark_russell@xxxxxxxxxxxxxxxxxx>
 > To:
 > "Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>, Lisa Jett
 > <ljett@xxxxxxxx>
 > Date:
 > 08/24/2009 08:00 AM
 > Subject:
 > [Fwd: [pde-dev] Build error]
 > Sent by:
 > pde-dev-bounces@xxxxxxxxxxx
 >
 >
 >
 > I have not hear from anyone.  Am I posting this to the wrong list?
 >
 > Which list should I post to to get an answer to this?
 >
 > -------- Original Message --------
 > Subject: [pde-dev] Build error
 > Date: Tue, 18 Aug 2009 08:36:15 -0400
 > From: Mark Russell <mark_russell@xxxxxxxxxxxxxxxxxx>
 > Reply-To: Eclipse PDE general developers list. <pde-dev@xxxxxxxxxxx>
 > Organization: Instantiations, Inc.
 > To: Eclipse PDE general developers list. <pde-dev@xxxxxxxxxxx>
 > CC: Lisa Jett <ljett@xxxxxxxx>
 >
 > I sent this last week.
 >
 > Can anyone give me any help on this?  It is blocking me.
 >
 >> First off thanks for the help getting PDE under debug.  That has helped
 > me solve several issues.
 >> I have made some progress.
 >>
 >> First I have converted the build to use the eclipse 3.5 PDE.
 >>
 >> I'm still passing this data to the PDE build:
 >> [echoproperties] generate.p2.metadata=true
 >> [echoproperties] p2.artifact.repo=file\:/f\:/build/openArbor/temp/repo/
 >> [echoproperties] p2.artifact.repo.name=OpenArbor Artifact Repo
 >> [echoproperties] p2.flavor=tooling
 >> [echoproperties] p2.metadata.repo=file\:/f\:/build/openArbor/temp/repo/
 >> [echoproperties] p2.metadata.repo.name=OpenArbor Meta Repo
 >> [echoproperties]
 > p2.metadata.repository.location=f\:\\build\\openArbor\\temp\\repo
 >> [echoproperties] p2.publish.artifacts=true
 >>
 >> now it runs the build and eventually gets to line 566 in
 >> org.eclipse.equinox.internal.provisional.p2.metadata.generator.Generate
 >> it is trying to execute this block:
 >>     if (bundle.getSymbolicName().equals(ORG_ECLIPSE_EQUINOX_LAUNCHER)) {
 >>         bundle = EclipseInstallGeneratorInfoProvider.createLauncher();
 >>     }
>> it throws the null pointer exception because the getSymbolicName returns
 > null on plugin
 >> BundleInfo(, ,
 > location=org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar,
 > startLevel=1, toBeStarted=true, resolved=false, id=-1,no manifest,
 > this.specialConfigCommands=null)
 >>
 >> Why would the plugin org.eclipse.equinox.simpleconfigurator return null
 > for getSymbolicName()?
 >>
 >> I also tried to take org.eclipse.equinox.simpleconfigurator out of my
 > product file then the PDE fails with a NPE at line 1177 in
 > getBundleDescriptions.
 >> any help would be great.
 >
 >


--
Mark Russell
Build Master
Instantiations, Inc.
+1 724-368-3331 (land line)
http://www.instantiations.com <http://www.instantiations.com/>
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev



------------------------------------------------------------------------

_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev


--
Mark Russell
Build Master
Instantiations, Inc.
+1 724-368-3331 (land line)
http://www.instantiations.com


Back to the top