Install & Update Nightmares [message #1805912] |
Sat, 27 April 2019 20:14 |
David Invenio 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 #1805917 is a reply to message #1805915] |
Sun, 28 April 2019 03:21 |
Ed Merks 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/
|
|
|
Powered by
FUDForum. Page generated in 0.08029 seconds