Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Problems with eclipse update site

Moderators: Vladimir Kondratyev, Anton Katilin

Problems with eclipse update site

Postby suag » Wed Jun 10, 2020 1:55 pm

Hello,

I'm trying to install eclipse plugin but getting error
Code: Select all
org.eclipse.equinox.p2.core.ProvisionException: Unexpected exception while loading http://www.yourkit.com/download/yjp2019_8_for_eclipse/


Is it OK?
suag
 
Posts: 11
Joined: Wed Jun 10, 2020 1:48 pm

Re: Problems with eclipse update site

Postby Anton Katilin » Wed Jun 10, 2020 2:16 pm

Hi,

Please change http to https in the URL. Does it help?
Anton Katilin
 
Posts: 5951
Joined: Wed Aug 11, 2004 8:37 am

Re: Problems with eclipse update site

Postby suag » Wed Jun 10, 2020 2:37 pm

now I get
Code: Select all
No repository found at https://www.yourkit.com/download/yjp2019_8_for_eclipse/.
suag
 
Posts: 11
Joined: Wed Jun 10, 2020 1:48 pm

Re: Problems with eclipse update site

Postby Vladimir Kondratyev » Wed Jun 10, 2020 2:54 pm

Please make sure that you are using 2019.8b139
Vladimir Kondratyev
 
Posts: 1518
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Re: Problems with eclipse update site

Postby suag » Wed Jun 10, 2020 3:05 pm

Vladimir Kondratyev wrote:Please make sure that you are using 2019.8b139


Vladimir, I cannot install plugins in Eclipse. How it can be related with YourKit version?
suag
 
Posts: 11
Joined: Wed Jun 10, 2020 1:48 pm

Re: Problems with eclipse update site

Postby Anton Katilin » Wed Jun 10, 2020 3:32 pm

Are there any additional error detail in Eclipse log?

What happens if you open https://www.yourkit.com/download/yjp2019_8_for_eclipse/ in your web browser? The page should show the text:

"You should not open this URL in a browser.
Instead, please specify it when Eclipse asks to provide the plugin repository location."
Anton Katilin
 
Posts: 5951
Joined: Wed Aug 11, 2004 8:37 am

Re: Problems with eclipse update site

Postby suag » Wed Jun 10, 2020 3:52 pm

Anton Katilin wrote:Are there any additional error detail in Eclipse log?

What happens if you open https://www.yourkit.com/download/yjp2019_8_for_eclipse/ in your web browser? The page should show the text:

"You should not open this URL in a browser.
Instead, please specify it when Eclipse asks to provide the plugin repository location."




Yes. In browser it is OK.

In Eclipse I get

org.eclipse.equinox.p2.core.ProvisionException: Unexpected exception while loading https://www.yourkit.com/download/yjp2019_8_for_eclipse/.
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:68)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:63)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:775)
at jdk.internal.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:117)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:423)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:214)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:495)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:498)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:138)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getRepository(MetadataRepositoryElement.java:127)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getQueryable(MetadataRepositoryElement.java:120)
at org.eclipse.equinox.internal.p2.ui.QueryProvider.getQueryDescriptor(QueryProvider.java:93)
at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetchChildren(QueriedElement.java:104)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:86)
at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:38)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:219)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.NullPointerException
at java.base/sun.security.pkcs.SignerInfo.getTimestamp(SignerInfo.java:565)
at java.base/sun.security.util.SignatureFileVerifier.getSigners(SignatureFileVerifier.java:730)
at java.base/sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:301)
at java.base/sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:269)
at java.base/java.util.jar.JarVerifier.processEntry(JarVerifier.java:316)
at java.base/java.util.jar.JarVerifier.update(JarVerifier.java:230)
at java.base/java.util.jar.JarFile.initializeVerifier(JarFile.java:757)
at java.base/java.util.jar.JarFile.getInputStream(JarFile.java:838)
at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:91)
at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.parseFeature(UpdateSite.java:306)
at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeaturesFromSite(UpdateSite.java:601)
at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeatures(UpdateSite.java:496)
at org.eclipse.equinox.internal.p2.updatesite.RemoteFeaturesAction.perform(RemoteFeaturesAction.java:45)
at org.eclipse.equinox.internal.p2.updatesite.RemoteUpdateSiteAction.perform(RemoteUpdateSiteAction.java:54)
at org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:213)
at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:243)
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.generateMetadata(UpdateSiteMetadataRepositoryFactory.java:124)
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.initializeRepository(UpdateSiteMetadataRepositoryFactory.java:109)
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:61)
... 21 more
suag
 
Posts: 11
Joined: Wed Jun 10, 2020 1:48 pm

Re: Problems with eclipse update site

Postby Anton Katilin » Wed Jun 10, 2020 3:57 pm

If it opens in browser, the problem is with Eclipse.
Do you use proxy configuration in Eclipse?

From this help page: https://www.yourkit.com/docs/java/help/ ... ipse35.jsp

Important: Eclipse update manager needs the Internet access. If your computer sits behind a proxy server, you will need to configure Eclipse accordingly: use Window | Preferences in Eclipse's main menu, select General -> Network Connections and enter the host name or IP and port of your proxy server.

If there is no Internet access, use the bundled update site archive:
<Profiler Installation Directory>/lib/eclipse-plugin/yjp<version>_for_eclipse.zip
Anton Katilin
 
Posts: 5951
Joined: Wed Aug 11, 2004 8:37 am

Re: Problems with eclipse update site

Postby suag » Wed Jun 10, 2020 4:23 pm

Anton Katilin wrote:If it opens in browser, the problem is with Eclipse.
Do you use proxy configuration in Eclipse?

From this help page: https://www.yourkit.com/docs/java/help/ ... ipse35.jsp

Important: Eclipse update manager needs the Internet access. If your computer sits behind a proxy server, you will need to configure Eclipse accordingly: use Window | Preferences in Eclipse's main menu, select General -> Network Connections and enter the host name or IP and port of your proxy server.

If there is no Internet access, use the bundled update site archive:
<Profiler Installation Directory>/lib/eclipse-plugin/yjp<version>_for_eclipse.zip



Anton, I am getting the same issues while installing from local repo

Code: Select all
org.eclipse.equinox.p2.core.ProvisionException: Unexpected exception while loading file:/Users/masofcon/tmp/yjp2019_8_for_eclipse/.
   at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:68)
   at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:63)
   at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:775)
   at jdk.internal.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:117)
   at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:423)
   at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:214)
   at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:495)
   at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
   at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
   at org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:498)
   at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:138)
   at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getRepository(MetadataRepositoryElement.java:127)
   at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getQueryable(MetadataRepositoryElement.java:120)
   at org.eclipse.equinox.internal.p2.ui.QueryProvider.getQueryDescriptor(QueryProvider.java:93)
   at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetchChildren(QueriedElement.java:104)
   at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:86)
   at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:38)
   at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:219)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.NullPointerException
   at java.base/sun.security.pkcs.SignerInfo.getTimestamp(SignerInfo.java:565)
   at java.base/sun.security.util.SignatureFileVerifier.getSigners(SignatureFileVerifier.java:730)
   at java.base/sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:301)
   at java.base/sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:269)
   at java.base/java.util.jar.JarVerifier.processEntry(JarVerifier.java:316)
   at java.base/java.util.jar.JarVerifier.update(JarVerifier.java:230)
   at java.base/java.util.jar.JarFile.initializeVerifier(JarFile.java:757)
   at java.base/java.util.jar.JarFile.getInputStream(JarFile.java:838)
   at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:91)
   at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.parseFeature(UpdateSite.java:276)
   at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeaturesFromSite(UpdateSite.java:601)
   at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeatures(UpdateSite.java:496)
   at org.eclipse.equinox.internal.p2.updatesite.RemoteFeaturesAction.perform(RemoteFeaturesAction.java:45)
   at org.eclipse.equinox.internal.p2.updatesite.RemoteUpdateSiteAction.perform(RemoteUpdateSiteAction.java:54)
   at org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:213)
   at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:243)
   at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.generateMetadata(UpdateSiteMetadataRepositoryFactory.java:124)
   at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.initializeRepository(UpdateSiteMetadataRepositoryFactory.java:109)
   at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:61)
   ... 21 more
suag
 
Posts: 11
Joined: Wed Jun 10, 2020 1:48 pm

Re: Problems with eclipse update site

Postby Anton Katilin » Wed Jun 10, 2020 5:40 pm

The path /Users/masofcon/tmp/yjp2019_8_for_eclipse/ looks strange.

Did you specify exactly the .zip file <Profiler Installation Directory>/lib/eclipse-plugin/yjp<version>_for_eclipse.zip in Eclipse as a local update site archive? Even if you moved the .zip elsewhere, please don't unzip it.

Please try running Eclipse in clean mode:
https://stackoverflow.com/questions/203 ... f-we-do-so
Anton Katilin
 
Posts: 5951
Joined: Wed Aug 11, 2004 8:37 am

Re: Problems with eclipse update site

Postby suag » Wed Jun 10, 2020 6:41 pm

Anton Katilin wrote:The path /Users/masofcon/tmp/yjp2019_8_for_eclipse/ looks strange.

Did you specify exactly the .zip file <Profiler Installation Directory>/lib/eclipse-plugin/yjp<version>_for_eclipse.zip in Eclipse as a local update site archive? Even if you moved the .zip elsewhere, please don't unzip it.

Please try running Eclipse in clean mode:
https://stackoverflow.com/questions/203 ... f-we-do-so



Anton, I've tried every possible way :)

with clean and install from zip

Code: Select all
org.eclipse.equinox.p2.core.ProvisionException: Unexpected exception while loading jar:file:/Applications/YourKit-Java-Profiler-2019.8.app/Contents/Resources/lib/eclipse-plugin/yjp2019_8_for_eclipse.zip!/.
   at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:68)
   at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:63)
   at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:775)
   at jdk.internal.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:117)
   at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:423)
   at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:214)
   at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:495)
   at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
   at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
   at org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:498)
   at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:138)
   at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getRepository(MetadataRepositoryElement.java:127)
   at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getQueryable(MetadataRepositoryElement.java:120)
   at org.eclipse.equinox.internal.p2.ui.QueryProvider.getQueryDescriptor(QueryProvider.java:93)
   at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetchChildren(QueriedElement.java:104)
   at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:86)
   at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:38)
   at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:219)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.NullPointerException
   at java.base/sun.security.pkcs.SignerInfo.getTimestamp(SignerInfo.java:565)
   at java.base/sun.security.util.SignatureFileVerifier.getSigners(SignatureFileVerifier.java:730)
   at java.base/sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:301)
   at java.base/sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:269)
   at java.base/java.util.jar.JarVerifier.processEntry(JarVerifier.java:316)
   at java.base/java.util.jar.JarVerifier.update(JarVerifier.java:230)
   at java.base/java.util.jar.JarFile.initializeVerifier(JarFile.java:757)
   at java.base/java.util.jar.JarFile.getInputStream(JarFile.java:838)
   at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:91)
   at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.parseFeature(UpdateSite.java:306)
   at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeaturesFromSite(UpdateSite.java:601)
   at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeatures(UpdateSite.java:496)
   at org.eclipse.equinox.internal.p2.updatesite.RemoteFeaturesAction.perform(RemoteFeaturesAction.java:45)
   at org.eclipse.equinox.internal.p2.updatesite.RemoteUpdateSiteAction.perform(RemoteUpdateSiteAction.java:54)
   at org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:213)
   at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:243)
   at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.generateMetadata(UpdateSiteMetadataRepositoryFactory.java:124)
   at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.initializeRepository(UpdateSiteMetadataRepositoryFactory.java:109)
   at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:61)
   ... 21 more
suag
 
Posts: 11
Joined: Wed Jun 10, 2020 1:48 pm

Re: Problems with eclipse update site

Postby Anton Katilin » Wed Jun 10, 2020 6:53 pm

What Eclipse flavor/distribution do you use?

Please try installing an new copy of Eclipse to a new directory. Does integration work with it?
Anton Katilin
 
Posts: 5951
Joined: Wed Aug 11, 2004 8:37 am

Re: Problems with eclipse update site

Postby suag » Thu Jun 11, 2020 6:33 am

Anton Katilin wrote:What Eclipse flavor/distribution do you use?

Please try installing an new copy of Eclipse to a new directory. Does integration work with it?


Anton, I've tried with different Eclipse version. The same error.
I think something wrong with https://www.yourkit.com/download/yjp2019_8_for_eclipse/ update site,
because with https://www.yourkit.com/download/yjp2019_1_for_eclipse/ everything is fine, I can install plugin from it.
suag
 
Posts: 11
Joined: Wed Jun 10, 2020 1:48 pm

Re: Problems with eclipse update site

Postby Anton Katilin » Thu Jun 11, 2020 8:24 am

Anton Katilin
 
Posts: 5951
Joined: Wed Aug 11, 2004 8:37 am

Re: Problems with eclipse update site

Postby suag » Thu Jun 11, 2020 8:57 am

Anton Katilin wrote:Does the link for the version EAP ( https://www.yourkit.com/eap/ ) work?

https://www.yourkit.com/download/yjp2020_7_for_eclipse/


Yes, if I open it in browser, I see

"
You should not open this URL in a browser.
Instead, please specify it when Eclipse asks to provide the plugin repository location.
"
suag
 
Posts: 11
Joined: Wed Jun 10, 2020 1:48 pm

Next

Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.