In our project (an Eclipse plugin), we're trying to install a couple of plugins programmatically (no worries, the user first has to accept all their licenses). Everything works fine, the plugins get installed, except that a certain error keeps popping up:
eclipse.buildId=M20120208-0800
java.version=1.6.0_43
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=nl_BE
Framework arguments: -product org.eclipse.epp.package.rcp.product
command-line arguments: -os win32 -ws win32 -arch x86_64 -product
org.eclipse.epp.package.rcp.product
Error
Thu Nov 07 12:32:22 CET 2013
Error processing mirrors URL:
http://www.eclipse.org/modeling/updates/countryCode=be&timeZone=1&format=xml
java.io.FileNotFoundException:
http://www.eclipse.org/modeling/updates/countryCode=be&timeZone=1&format=xml
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:297)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.checkException(FileReader.java:384)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:358)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.read(FileReader.java:213)
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.java:153)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.computeMirrors(MirrorSelector.java:274)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.initMirrors(MirrorSelector.java:336)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.selectMirror(MirrorSelector.java:406)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.getMirrorLocation(MirrorSelector.java:314)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getMirror(SimpleArtifactRepository.java:651)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:568)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:680)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:260)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:235)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:191)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:122)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:664)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
We've tried a couple of things, like setting in the pom.xml for tycho that we don't want to use mirrors, or giving it as a JVM argument, or simply setting the System property to not use mirrors. However, as far as I understood, this will only cancel out non-eclipse.org sites and this is an eclipse.org site...
The updatesite to install from is: http://download.eclipse.org/modeling/emf/teneo/updates/2.0.0/interim/ (for Teneo).
What can I do to prevent this error from happening? To be clear: this doesn't prevent the code from running as it should. Teneo gets installed. I just don't want this kind of errors popping up in the Error Log.
Thanks for any tips.
Related
I am using Ubuntu 14.04 with JRE 8. I am a newbie tying to learn javascript, but I have the rather annoying problem that my Eclipse Indigo SR2 x86_64 installation crashes every few moments.
Solutions I've tried:
Purging / reinstalling Java (sometimes after a crash I get an error message stating that Java crashed, but most times Eclipse simply crashes and no message.)
reinstalling Eclipse
Adding " -Dorg.eclipse.swt.browser.DefaultType=mozilla " at the end of the eclipse.ini file (no change in crashing behavior)
Checked for updates
My error log says the following:
!SESSION 2015-11-06 16:15:11.677
----------------------------------------------- eclipse.buildId=M20120208-0800 java.version=1.8.0_66
java.vendor=Oracle Corporation BootLoader constants: OS=linux,
ARCH=x86_64, WS=gtk, NL=en_HK Framework arguments: -product
org.eclipse.epp.package.javascript.product Command-line arguments:
-os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.javascript.product
!ENTRY org.eclipse.jface 2 0 2015-11-06 16:15:40.366 !MESSAGE Ignored
reentrant call while viewer is busy. This is only logged once per
viewer instance, but similar calls will still be ignored. !STACK 0
java.lang.RuntimeException at
org.eclipse.jface.viewers.ColumnViewer.checkBusy(ColumnViewer.java:763)
at
org.eclipse.jface.viewers.ColumnViewer.update(ColumnViewer.java:552)
at
org.eclipse.ui.model.WorkbenchContentProvider$4.run(WorkbenchContentProvider.java:334)
at
org.eclipse.ui.model.WorkbenchContentProvider.runUpdates(WorkbenchContentProvider.java:159)
at
org.eclipse.ui.model.WorkbenchContentProvider.processDelta(WorkbenchContentProvider.java:132)
at
org.eclipse.ui.model.WorkbenchContentProvider.resourceChanged(WorkbenchContentProvider.java:106)
at
org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at
org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:395)
at
org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530).......
Greatly appreciate any tips for getting Eclipse to work properly.
thanks,
yup
I am trying to export a couple of deployable features in Luna, but I always get the error message below. I have two plug-in projects, a corresponding feature project for each and a category definition. With this set up Kepler exported the deployable features into a folder flawlessly, but with Luna there is always this message.
How can this be solved? Is there any other relevant information I can post?
Message:
An internal error occurred during: "Export Features".
Exception Stack Trace:
java.lang.NullPointerException
at org.eclipse.osgi.internal.resolver.NativeCodeSpecificationImpl.isSatisfiedBy(NativeCodeSpecificationImpl.java:88)
at org.eclipse.osgi.internal.module.ResolverImpl.isResolvable(ResolverImpl.java:285)
at org.eclipse.osgi.internal.module.ResolverImpl.resolveBundles(ResolverImpl.java:639)
at org.eclipse.osgi.internal.module.ResolverImpl.resolve(ResolverImpl.java:477)
at org.eclipse.osgi.internal.resolver.StateImpl.resolve(StateImpl.java:545)
at org.eclipse.osgi.internal.resolver.StateImpl.resolve(StateImpl.java:605)
at org.eclipse.pde.internal.build.site.BuildTimeSite.getRegistry(BuildTimeSite.java:186)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generateFeatures(BuildScriptGenerator.java:276)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generate(BuildScriptGenerator.java:127)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:257)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:224)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.run(FeatureExportOperation.java:108)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Session Data:
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -data /media/lads/Data/users/lads/Trabalho/Eclipse/Luna/Workspace.Acceleo -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.standard.product
This is a known issue with release 4.4.0 reported in Bug 438652. A fix was shipped with release 4.4.1, thus an update to Eclipse gets this functionality working again.
I'm using Linux Mint 16 and have installed Eclipse (Kepler) and Hadoop 2.2.0. I have set Eclipse to use the Map/Reduce perspective and I have created a new Hadoop location. When I created the location, I went into the Advanced tab and set the path for:
dfs.datanode.data.dir
dfs.namenode.name.dir
dfs.data.dir
dfs.name.dir
When I click the + sign next to the location name, I get the following error:
'Map/Reduce location status updater' has encountered a problem. An internal error occurred during "Map/Reduce location status updater".
When I click on Details, I get the following:
An internal error occurred during "Map/Reduce location status updater". java.land.NullPointerException
I have seen a few items on stackoverflow regarding Hadoop versions prior to 2.2 and they haven't solved this error for me. Any suggestions?
I`ve just got the same problem!!
detail:
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.7.0_55
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.standard.product
org.eclipse.core.jobs
Error
Wed Jul 02 18:46:23 CST 2014
An internal error occurred during: "Map/Reduce location status updater".
java.lang.NullPointerException
at org.apache.hadoop.mapred.JobClient.getAllJobs(JobClient.java:814)
at org.apache.hadoop.mapred.JobClient.jobsToComplete(JobClient.java:790)
at org.apache.hadoop.eclipse.server.HadoopServer$LocationStatusUpdater.run(HadoopServer.java:119)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
How do I resolve the above reported error message? Additional details are given below:
Exception Stack Trace
java.lang.NullPointerException
at org.eclipse.m2e.jdt.internal.MavenClasspathContainerInitializer.initialize(MavenClasspathContainerInitializer.java:48)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2843)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1878)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3128)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2691)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2855)
at org.eclipse.jdt.internal.core.ClasspathChange.generateDelta(ClasspathChange.java:220)
at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:2052)
at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:470)
at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:395)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2353)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2153)
at org.eclipse.wst.jsdt.internal.core.JavaModelManager.getJsGlobalScopeContainer(JavaModelManager.java:1530)
at org.eclipse.wst.jsdt.core.JavaScriptCore.getJsGlobalScopeContainer(JavaScriptCore.java:1319)
at org.eclipse.wst.jsdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2740)
at org.eclipse.wst.jsdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2019)
at org.eclipse.wst.jsdt.core.JavaScriptCore.initializeAfterLoad(JavaScriptCore.java:2655)
at org.eclipse.wst.jsdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:32)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Session Data
eclipse.buildId=I20120608-1400
java.version=1.7.0_08-ea
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/ravisankars/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/ravisankars/.eclipse_keyring -showlocation
One thing I did (though I recommend uninstalling and re-installing your plugins first as previously posted by #Rajkumar) is to remove the builder causing the issue. MyProject -> Properties -> Builders ...[Troublesome Builder]... Remove.
It is a short run solution, you are only circumventing the real issue, but for me, it did what I needed it to for the time being.
Quite a few things had happened since I first installed Eclipse, like (a) installing / uninstalling plugins (b) upgrading the IDE without correspondingly upgrading the workspace. Since the history has become complex, troubleshooting also got trick. Fresh installation along with importing the code base again, fixed the issue for me.
Problem like happens if you have to many resources file like java scripts in your eclipse project. The solution is to remove the java script nature from project facets or disable the java script validation.
Well, before you go into all the trouble of uninstalling and installing again; if you haven't done any special action with your plug-ins, you may want to try the following which is fast and simple:
Close the project(s)
Open the project(s)
Restart eclipse
For me after this it is working. This is solving a lot of unaccepted issues that may occurred with older eclipse versions too.
I need some help!
I am using eclipse 3.7 and mylyn 3.6.2 with JIRA connector 3.0.2
Sometimes after restart eclipse forgets all the projects in the workspace. Workspace is not totally recreated all the mylyn connections, and java working sets are present, but all the projects are gone.
So I need to re-import them each time this happens.
I am blaming mylyn, because this never happened before I started using it.
And in log file I see that it has some problems on start:
!SESSION 2011-10-25 10:34:39.302 -----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_23
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.mylyn.tasks.core 2 0 2011-10-25 10:34:45.765
!MESSAGE Failed to load tasks.xml.zip, restoring from snapshot
!STACK 1
org.eclipse.core.runtime.CoreException: Task list file contains no data "/home/german/work/irbisenv/javawsp/.metadata/.mylyn/tasks.xml.zip"
at org.eclipse.mylyn.internal.tasks.core.externalization.TaskListExternalizer.readTaskList(TaskListExternalizer.java:203)
at org.eclipse.mylyn.internal.tasks.core.externalization.TaskListExternalizationParticipant$1.ex
...
The problem was with my HDD. After formatting everything works fine.