Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Eclipse installer 2018-12 stops with error(After the splash screen it shows "Internal error: NullPointerException")
Eclipse installer 2018-12 stops with error [message #1804015] Fri, 15 March 2019 20:14 Go to next message
Harald Mackamul is currently offline Harald MackamulFriend
Messages: 15
Registered: November 2016
Junior Member
java.lang.NullPointerException
at org.eclipse.oomph.setup.internal.core.util.ECFURIHandlerImpl$AuthorizationHandlerImpl.reauthorize(ECFURIHandlerImpl.java:772)
at org.eclipse.oomph.setup.internal.core.util.ECFURIHandlerImpl$ConnectionHandler.process(ECFURIHandlerImpl.java:1674)
at org.eclipse.oomph.setup.internal.core.util.ECFURIHandlerImpl.createInputStream(ECFURIHandlerImpl.java:319)
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:360)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1314)
at org.eclipse.oomph.setup.internal.core.util.SetupCoreUtil.handleArchiveRedirection(SetupCoreUtil.java:546)
at org.eclipse.oomph.setup.internal.core.util.SetupCoreUtil.configureResourceSet(SetupCoreUtil.java:348)
at org.eclipse.oomph.setup.internal.core.util.SetupCoreUtil.configureResourceSet(SetupCoreUtil.java:174)
at org.eclipse.oomph.setup.internal.core.util.SetupCoreUtil.createResourceSet(SetupCoreUtil.java:168)
at org.eclipse.oomph.setup.ui.wizards.SetupWizard.<init>(SetupWizard.java:167)
at org.eclipse.oomph.setup.ui.wizards.SetupWizard.<init>(SetupWizard.java:159)
at org.eclipse.oomph.setup.internal.installer.Installer.<init>(Installer.java:40)
at org.eclipse.oomph.setup.internal.installer.InstallerApplication.run(InstallerApplication.java:222)
at org.eclipse.oomph.setup.internal.installer.InstallerApplication.start(InstallerApplication.java:408)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
at org.eclipse.equinox.launcher.Main.run(Main.java:1501)

Installer win64 was executed on Windows 10 behind a company firewall.

Pressing the "Update" button shows an authentication dialog, but providing user and password for the default company proxy (that is unfortunately the wrong one) does not help.

The proxy settings cannot be changed in the dialog.
Is there a possibility to provide an alternative proxy ?

Best regards
Harald
Re: Eclipse installer 2018-12 stops with error [message #1804025 is a reply to message #1804015] Sat, 16 March 2019 04:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
The NPE itself should be fixed by the commit in this Bugzilla:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=540459

It's not clear if that really fixes the problem though...

The comment in this Bugzilla describes someone else's experiences with this problem and what they did to fix/workaround it.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=541465#c11

I've not been able to reproduce the problem in order to really fix it. :-(

In any case, you could try the unrestricted installer available at the following location:

https://wiki.eclipse.org/Eclipse_Installer

It is the latest one and contains the fix for the NPE and, unlike the installers available from

https://www.eclipse.org/downloads/

it can install any version of Eclipse, not just Eclipse 2018-12...

I would appreciate your feedback on how this works out for you.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse installer 2018-12 stops with error [message #1804088 is a reply to message #1804025] Mon, 18 March 2019 07:24 Go to previous message
Harald Mackamul is currently offline Harald MackamulFriend
Messages: 15
Registered: November 2016
Junior Member
Hi Ed,
thank you for the detailed feedback.

The unrestricted installer did the job !
I downloaded the latest nightly build of the installer and was able to start the exe file without NullPointerException.
After setting an alternative proxy in the advanced mode I was able to start the installation.

In the P2 part another problem occurred: The installer failed to access some of the repositories.
We are running behind an NTLM authenticating proxy and the company recommendation for eclipse is:
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
With that extension in the ini file of the installer the complete setup worked perfectly :-)

Thanks!

Harald
Previous Topic:Execute org.eclipse.core.commands in oomph task
Next Topic:Eclipse Installation Error
Goto Forum:
  


Current Time: Fri Mar 29 02:09:47 GMT 2024

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

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

Back to the top