Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Install & Update Nightmares(Fresh install fails? Updates fail? Null pointer exception before a line of code?)
Install & Update Nightmares [message #1805912] Sat, 27 April 2019 20:14 Go to next message
David Invenio is currently offline David InvenioFriend
Messages: 5
Registered: November 2018
Junior Member
I guess I qualify as a newcomer, it's been almost 18 months since I accepted a client project that required several Java components. I figured since I'm proficient in many languages, including c#, and have 34yrs experience - hey why not? And Eclipse clearly is the top pick for the IDE. [edit: to clarify, I have been using Eclipse for those 18 months, in various versions, and went into it with an open mind and much enthusiasm]

Let me just skip all the install problems, update problems, feature problems, today I decided hey just do a clean fresh install (I went with 2019.06 as that was the newest in the list) - (I use Win7.64 not Win10 if that matters). And it installs, then immediately says there's updates - and it starts to fetch them. Gets some of them done, then gives me errors, and fails. And tells me to go back, and when I click back it gives me a Java null pointer exception.
Seriously? I haven't written a LINE of code, and can't even get it to install properly? I'll confess I'm no genius - but I'm not really a newb either. I've written my own installers and auto-updaters for my apps, so I would THINK that I should be able to get this damn thing installed. Because the last build I had decided that it would no longer allow me to install updates or new addons - but I digress (and I've read thousands of stories about other people having the same issue).

So for anyone who might have any insight - before I just go to Visual Code and text-edit my Java stuff without a real IDE - here's the errors I got - and again, this was after I did NOTHING other than run the installer and let it fly. First run of the app, it starts off trying to update and fails.

ERROR: org.eclipse.pde.core code=0 Problems occurred while resolving the target contents
at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
at org.eclipse.oomph.util.pde.TargetPlatformUtil.activateTargetDefinition(TargetPlatformUtil.java:151)
at org.eclipse.oomph.targlets.internal.core.TargletContainer.forceUpdate(TargletContainer.java:792)
at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl$4.run(TargletTaskImpl.java:1167)
at org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:120)
at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:1033)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3335)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3278)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4514)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2322)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:4508)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:4506)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3269)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3244)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3144)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:575)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:701)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
ERROR: org.eclipse.oomph.p2.core code=0 Filter "org.eclipse.releng.tools (feature).plain.project" Missing '(' at position 0
org.eclipse.equinox.p2.metadata.expression.ExpressionParseException: Filter "org.eclipse.releng.tools (feature).plain.project" Missing '(' at position 0
at org.eclipse.equinox.internal.p2.metadata.expression.parser.LDAPFilterParser.syntaxException(LDAPFilterParser.java:292)
at org.eclipse.equinox.internal.p2.metadata.expression.parser.LDAPFilterParser.parseFilter(LDAPFilterParser.java:121)
at org.eclipse.equinox.internal.p2.metadata.expression.parser.LDAPFilterParser.parse(LDAPFilterParser.java:68)
at org.eclipse.equinox.p2.metadata.expression.ExpressionUtil.parseLDAP(ExpressionUtil.java:61)
at org.eclipse.equinox.p2.metadata.MetadataFactory.createRequirement(MetadataFactory.java:561)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.adjustProfileChangeRequest(ProfileTransactionImpl.java:940)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.resolve(ProfileTransactionImpl.java:408)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:337)
at org.eclipse.oomph.targlets.internal.core.TargletContainer.updateProfile(TargletContainer.java:881)
at org.eclipse.oomph.targlets.internal.core.TargletContainer.resolveUnits(TargletContainer.java:560)
at org.eclipse.oomph.targlets.internal.core.TargletContainer.resolveBundles(TargletContainer.java:520)
at org.eclipse.pde.internal.core.target.AbstractBundleContainer.resolve(AbstractBundleContainer.java:96)
at org.eclipse.pde.internal.core.target.TargetDefinition.resolve(TargetDefinition.java:423)
at org.eclipse.oomph.util.pde.TargetPlatformUtil.activateTargetDefinition(TargetPlatformUtil.java:150)
at org.eclipse.oomph.targlets.internal.core.TargletContainer.forceUpdate(TargletContainer.java:792)
at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl$4.run(TargletTaskImpl.java:1167)
at org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:120)
at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:1033)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3335)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3278)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4514)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2322)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:4508)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:4506)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3269)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3244)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3144)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:575)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:701)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Took 6 seconds.
There are failed tasks.

[Updated on: Sat, 27 April 2019 21:35]

Report message to a moderator

Re: Install & Update Nightmares [message #1805913 is a reply to message #1805912] Sat, 27 April 2019 21:50 Go to previous messageGo to next message
David Invenio is currently offline David InvenioFriend
Messages: 5
Registered: November 2018
Junior Member
Just as an update - I wiped out every bit of Eclipse data/settings and whatever junk was left around - manually of course since there's no uninstaller. And to those people replying in forums that "Oh Eclipse just installs in 1 folder so just remove that" - bullshit. It's got stuff all over the place.
So I purged it all - 100% - did several system wide searches to make sure.

Then downloaded 2019.03 right from eclipse.org.
Kinda sad that immediately after downloading, the installer needs to update itself. I just got the thing from the official site - can they not keep that updated? It updates, then installs, then fires up Eclipse for the first time.

Which of course kicks off a HUGE installation of more updates - without confirmation or giving me an opt out - and that thing runs longer than every Visual Studio install I've ever done x3 at least. WOW.

And AGAIN - it ends the exact same way as my post - fails with the same errors above. There's nothing strange of exotic about my workstation - it's an HP ENVY with 16gb ram, i7core, 256SSD -etc... you get the idea, it's not a dog. And I have Win7.64 running PERFECTLY on it - even Visual Studio 2019 runs great. So very unlikely that my machine is the cause.

Does ANYONE have ANY ideas why I can't even install Eclipse without errors?

Re: Install & Update Nightmares [message #1805915 is a reply to message #1805913] Sat, 27 April 2019 22:10 Go to previous messageGo to next message
David Invenio is currently offline David InvenioFriend
Messages: 5
Registered: November 2018
Junior Member
Second update - So the initial install went ok, Eclipse ran, then immediately went into update mode (which took forever) - and FAILED at the end. I just hit Cancel, my only real option. When Eclipse came up, I figured, let's try Help->Get Updates. And yeah that failed too.

"Problem occurred - Searching alternate solutions - NO REMEDY FOUND" (very descriptive aye?)

And all I've done is to let it install - and try to do Help->Get Updates

Pretty nifty. Worst part is that I see tons of posts about these same problems -just no real (or current) solutions.
This is the kind of stuff that has ALWAYS cast a shadow over the open source world. Sure it's free, but now so is Visual Studio. And honestly if they'd add Java to their langs I'd switch in a heartbeat. There's no comparison.

But for right now I'm trying to get Eclipse installed and working, without all these errors.
Can anyone offer assistance?
Re: Install & Update Nightmares [message #1805917 is a reply to message #1805915] Sun, 28 April 2019 03:21 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
You didn't mention which package you installed, but I tried the Java IDE, the 2019-06 version to see if I could reproduce your problem. The installation completed in about one minute. Network speed of course has a huge impact on this performance. My network is very fast and I'm close to fast mirrors here in Germany. So that all appears to work without a hitch.

But then the first stack trace you showed is something running in the installed IDE, and it's not Help -> Check for Updates but rather Help -> Perform Setup Tasks. So I tried that, and it just has a single p2 director task which will also run and do the same thing has Help -> Check for Updates, along with any additional setup tasks you may have. Normally there will be no others, except perhaps your recorded preferences. But you appear to have a Targetlet task involved. I have no idea where that comes from nor do I know what's in your workspace. But it seems clear the workspace is not empty and that it has been used for something else. If I had to guess, it's a workspace that youv'e set up, likely with the advanced mode of the installer, to work the Eclipse project's source code, extracted from Git. In that case the IDE for that workspace is specialized to work with (and install) a specific version of Eclipse and is set up its target platform resolved in a specific way. So yes, if you create some arbitrary installation and use it to open that workspace, it will try to make the installation conform to the setup required for that workspace. And if it's the Eclipse project's setup used in that workspace, it will want to install the IDE from the platform's 4.12I builds and will want to set up the target platform also based on those I builds.

But you've made no mention of any of these details, so I'm only theorizing. Certainly setting up a clean new IDE take me a minute, and when working with a clean (normal) workspace (one not used to setup some specific project's development environment), none of the problems you describe occur. As such I must assume there is something special about your workspace that you've not told us about.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Eclipse Oxygen Installer
Next Topic:"Cannot be resolved to a type" error
Goto Forum:
  


Current Time: Wed Jan 22 05:43:48 GMT 2025

Powered by FUDForum. Page generated in 0.08029 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top