I am getting below exception when tried to scan the project in Eclipse IDE for Java developers Version: 2021-12 (4.22.0) Build id: 20211202-1639
Starting SonarLint for Eclipse 7.2.0.42510
Started security hotspot handler on port 64120
SonarLint analysis of project FrontEndIssuesReporterV2 (22 files processed)...
Starting standalone SonarLint engine 7.2.0.42510...
Unable to load plugin bundleentry://427.fwk1108469971/plugins/sonar-python-plugin-3.9.0.9230.jar
Unable to load plugin bundleentry://427.fwk1108469971/plugins/sonar-python-plugin-3.9.0.9230.jar
java.nio.file.FileSystemNotFoundException
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getFileSystem(ZipFileSystemProvider.java:156)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getPath(ZipFileSystemProvider.java:142)
at java.base/java.nio.file.Path.of(Path.java:208)
at java.base/java.nio.file.Paths.get(Paths.java:98)
at org.sonarlint.eclipse.core.internal.engine.StandaloneEngineFacade.toPath(StandaloneEngineFacade.java:96)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at org.sonarlint.eclipse.core.internal.engine.StandaloneEngineFacade.getOrCreateEngine(StandaloneEngineFacade.java:64)
at org.sonarlint.eclipse.core.internal.engine.StandaloneEngineFacade.withEngine(StandaloneEngineFacade.java:104)
at org.sonarlint.eclipse.core.internal.engine.StandaloneEngineFacade.runAnalysis(StandaloneEngineFacade.java:115)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeStandaloneProjectJob.runAnalysis(AnalyzeStandaloneProjectJob.java:62)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeStandaloneProjectJob.runAnalysis(AnalyzeStandaloneProjectJob.java:1)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.run(AbstractAnalyzeProjectJob.java:393)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.runAnalysisAndUpdateMarkers(AbstractAnalyzeProjectJob.java:201)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.doRun(AbstractAnalyzeProjectJob.java:157)
at org.sonarlint.eclipse.core.internal.jobs.AbstractSonarProjectJob.run(AbstractSonarProjectJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Solution is to upgrade SonarLint for Eclipse plugin to 7.2.1
References in SonarSouce community:
Error message Unable to load plugin bundleentry at opening a file in eclipse
SonarLint for Eclipse 7.2.0.42510 fails
If your Eclipse installation path contains some space (ex: C:\Program files\), the solution is to downgrade SonarLint for Eclipse plugin to 7.1 or upgrade to 7.3:
Unable to load plugin …/sonar-secrets-plugin-1.1.0.36766.jar when Eclipse is installed in a directory with a whitespace
SLE-501
Related
After I updated 'Vaadin Plug-in for Eclipse' from version 4.1.6 to version 4.1.7 (and Vaadin Designer from 4.6.18 to 4.6.20) something broke.
I started to get constant error when oppened Vaadin design (LitTamplate) java file:
An internal error occurred during: "Requesting Java AST from selection".
'boolean com.ibm.icu.text.UTF16.isSurrogate(char)'
This error does not happen when using Eclipse 2022-12 with Vaadin Plug-in 4.1.7 and Vaadin Designer 4.6.20.
But there is other issues there:
https://github.com/vaadin/designer/issues/2443
I was using Eclipse 2021-12 with 'Vaadin Plug-in for Eclipse' 4.1.6 and 'Vaadin Designer' 4.6.18 before update. Now I can not install old versions back into the Eclipse.
Vaadin plugin guide will always offer only the latest version.
https://vaadin.com/eclipse
It would be nice to have version links for installing older versions.
Something like this:
https://vaadin.com/eclipse/2021-12/plugin/4.1.6/designer/4.6.18
When importing a maven project into Eclipse (after installing the maven plugin) I get the following errors:
UNKNOWN HOST: http://releases.liferay.com/tools/ide/latest/stable/compositeContent.xml
softlayer-ams.dl.sourceforge.net
Error installing m2e connector for liferay-maven-plugin contacting repository http://releases.liferay.com/tools/ide/latest/stable/
Should I install Liferay IDE? liferay - http://releases.liferay.com/tools/ide/latest/milestone/
Any ideas?
I installed liferay plugin now I get
Cannot complete the install because of a conflicting dependency.
m2e connector for jaxb2 3.0.0.20130330-0126
m2e connector for mavenarchiver pom properties 0.16.0.201401211452
m2e-liferay - Maven Integration for Liferay IDE 2.0.1.201401270944-ga2
I was able to import the project but now it says:
The container 'Maven Dependencies' references non existing library jnlp-1.6.jar
Solved: Uninstall Eclipse. Then re-install with the needed plugins.
I solved the problem installing "Maven Integration for WTP"
For Eclipse Kepler you can find it here:
http://download.eclipse.org/releases/kepler
m2e-wtp - Maven Integration for WTP (version 1.0.1)
It's inside "Web, XML, Java EE and OSGi..."
This package includes "m2e - Maven Integration for Eclipse" and my problem before was I used to install only this one
This question already has answers here:
Error: m2e Install In Eclipse
(11 answers)
Closed 8 years ago.
I'm working on Eclipse 3.7 (indigo) on Ubuntu 12.04 LTS, and I am trying to install the Maven plugin.
Following this page, I added http://download.eclipse.org/technology/m2e/releases to the Eclipse Install new software prompt box. It recognised the URL and showed "Maven Integration for Eclipse"
But when I click on Next, it gives this error.
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
Missing requirement: Maven Integration for Eclipse (Editors) 1.4.0.20130601-0317 (org.eclipse.m2e.editor 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
To: org.eclipse.m2e.editor [1.4.0.20130601-0317]
What should I do? Please help.
Use the following URL in the "Install New Software" as a repository instead: http://download.eclipse.org/technology/m2e/releases/1.3.
I tried it and it works, no more errors.
this is the big problem of eclipse because mostly eclipse support other Maven
this is plugins for eclipse heilios only
http://download.eclipse.org/technology/m2e/releases/1.3
In Eclipse market place use this URL:-
http://download.eclipse.org/technology/m2e/releases/1.3/
It will install the maven plugin on eclipse successfully without any error.
It seems like somehow it is not able to download the slf4j related artifacts , for now you can unselect the checkbox while installing maven plugin .
Please see the attached image.
If it also don't work then manually download the plugin and drop it in eclipse plugins folder.
I'm running java 1.6 in Eclipse on my Intel Mac. I'm using the 1.6.0 version under System/Library/Frameworks and set the default compiler to this in Eclipse.
How do I attach the source code?
First, I downloaded the 1.6 source from oracle, thinking I could attach that 'cause the installed 1.6 didn't have source.
When I click a java class to get the Source Code Editor, there are problems:
first, the top line says Compiled from File.java (version 1.5 : 49.0, super bit)
most important, when I attach the 1.6 source jar file, it gets an error:
An error has occurred. See error log for more details.
Unable to create resource org.eclipse.ui.internal.misc.ExternalProgramImageDescriptor#50417ba8
This also appears in the error log:
java.lang.ClassNotFoundException: org.eclipse.ui.internal.views.log.LogView
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
The Eclipse version is: Eclipse Java EE IDE for Web Developers.
Version: Helios Service Release 2
Build id: 20110218-0911
When I click for installation details, I get:
An internal error occurred during: "Fetching children of _SELF_".
Registry Directory not available: /Users/rfrail/Downloads/eclipse 2/p2/org.eclipse.equinox.p2.engine/profileRegistry.
I'm running Eclipse from my Download directory (it's worked fine in the past); however, there are 2 folders for Eclipse:
eclipse, and
eclipse 2.
So that looks like a source of confusion right there. Eclipse operates fine otherwise.
Can you help, please?
http://java.decompiler.free.fr/ is your answer
it has an eclipse plugin which decompiles code in place
I'm following the Google Plugin for Eclipse 3.5 (Galileo) Installation Instructions.
During downloading I get the following error in Eclipse 3.5 Galileo, is the jar file corrupt on the server corrupt or what? Is it possible to manually import the GWT plugin in Eclipse?
java.io.IOException: Error unzipping C:\DOCUME~1\Imran\LOCALS~1\Temp\com.google.gwt.eclipse.sdkbundle.2.0.0_2.0.0.v2009120620038443413526480826930.jar: invalid entry size (expected 18889986 but got 18889962 bytes)
at org.eclipse.equinox.internal.p2.core.helpers.FileUtils.unzipFile(FileUtils.java:75)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository$ZippedFolderOutputStream.close(SimpleArtifactRepository.java:155)
at java.io.FilterOutputStream.close(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository$ArtifactOutputStream.close(SimpleArtifactRepository.java:83)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:184)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:159)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:95)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:511)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I'd try a manual install via the dropins folder: http://code.google.com/eclipse/docs/install-from-zip.html
But make sure you don't have any old versions of the plugin first.