Eclipse eGit not connecting to remote repository - NullPointerException at ProxyHelper getPasswordAuthentication - eclipse

I've been trying to get eGit working with Eclipse 4.6.3 (IBM Rational Developer 9.6.0.6) but keep hitting the same error when either trying to pull/push an existing Git repository or clone another using http.
Mostly the error specifics are hidden but if you examine the error in the Error Log view the following is observed:
It looks like the password authenticator is missing from the host eclipse or something similar.
I found the answer to this and am sharing the knowledge.

After investigating the supported software on IBM's website for Rational developer I saw that it claimed to be compatible with eGit version 4.5.0201609210915-r, alas the eclipse add new software links postfixed with -4.5 & -4.6 no longer functioned correctly however I was able to successfully install a compatible eGit (version 4.7.0.201704051617-r) with the following:
http://download.eclipse.org/egit/updates-4.7
-edit-
Have just had success with the last of 4, version 4.11.0.201803080745r
http://download.eclipse.org/egit/updates-4.11

Related

How to fix "Received fatal alert: handshake_failure" error when installing Erlide in Eclipse

I've just installed Eclipse IDE for Enterprise Java Developers, version 2019-06 (4.12.0) and am trying to add the Erlide plugin.
There are two ways to go about it:
Help -> Install New Software. Following instructions on the site https://erlide.org/articles/eclipse/120_Installing-and-updating.html#update_sites, I put "https://download.erlide.org/update" as URL.
... or ...
I try to install it through the Eclipse Marketplace:
Help -> Eclipse Marketplace. Here I search for "Erlide" and the choose "install".
In both cases it comes down to the same error:
Unable to read repository at
http://download.erlide.org/update/compositeContent.xml.
Received fatal alert: handshake_failure
I would like to ask for help regarding this matter.
Thank you,
Rui
This is a known issue. See Erlide issue #328, comment by villiros:
I run into the same problem. Turned out that the cypher suites
required by the server were not allowed by the Java installation
because of export control stuff.
The solution for me was to install the JCE Unlimited Strength Policy.
Upgrading Java 8 to Update 161 or higher might also be a solution, since in this update support for the TLS session hash and extended master secret extension (RFC 7627) in the JDK JSSE provider has been added (see JDK 8u161 Update Release Notes, section Added TLS session hash and extended master secret extension support).

Creating new express project with nodeclipse gives blank project and "unexpected exception" error

Just installed latest version of Edine from nodeclipse, and in the console that is the only message outside of path information for the directory the project is stationed in. Also tried grabbing the latest default version and tried to install via New Software with similar results.
C:\Users\user\AppData\Local\Temp\express-work\1406755265579/test
Unexpected Exception
Anyone had this ever work? All methods I'm finding online seem to be broken.
This is on Windows 7 64 bit.
For anyone that arrives at this question and has the same issue.
I was under the mistaken understanding that when installing Nodeclipse, it also installed node.js, express, and mongodb. This is not the case. Installing node.js and express resolved this issue.

Cannot update or install any new software in any version of eclipse

I've read the other posts about being unable to install software in eclipse, but I still can't seem to get anything to work. I've tried on both Eclipse Indigo and Eclipse Juno - neither of which seem to be able to connect to anything, yet I can open the web browser.
On my other computer, which was previously configured, it contacts the software sites perfectly fine. I can also use the internal web browser on both version of eclipse - navigating to www.google.com.
I've tried updating Eclipse using http://download.eclipse.org/releases/indigo/ and I have tried to install ADT with https://dl-ssl.google.com/android/eclipse/.
I'm attaching an image of the error I'm getting. Also it appears I am getting 'permission denied'
Regarding the ADT, i couldnt get it to work with indigo for the life of me. After looking around a lot i realized that there are some comparability restrictions for the ADT plug in. The latest version of the ADT works on Eclipse Helios 3.6 or higher.
http://developer.android.com/sdk/requirements.html
also make sure to do "run as administrator" when you start eclipse if you are going to install software.
I had the same problem, I'm not sure if it would help but here is what I did anyway:
Uninstalled AVG
Ran SFC /scannow
SFC found some corrupted windows files and repaired them
Restart
Not sure if uninstalling AVG did anything, but I saw it as a possible solution somewhere else.
I am now using MSE since it seems to be more compatible with my system...
Maybe you need to connect thru a proxy?
Check you browsers connections settings.
I've had the same issue before and it turned out to be due to a VPN connection I had open. It must have been trying to go via that, although no other applications have had that problem. So perhaps check that you don't have any static routes which are interfering.

Show-stopper Eclipse Helios install problems under OSX (10.6) 64bit

I thought I'd give Helios a try, so I grabbed the latest Java EE install from http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliosr. Note, both OSX 32bit and 64bit exhibit the same symptoms.
So from a fresh install I run Helios (it launches fine), then the problem comes when I try running an upgrade. I keep getting these two errors errors:
Artifact not found: http://download.eclipse.org/releases/helios/compositeContent.jar.
http://download.eclipse.org/releases/helios/compositeContent.jar
No repository found at http://download.eclipse.org/releases/helios.
These are my (default) update sites:
Helios http://download.eclipse.org/releases/helios Enabled
Mylyn for Eclipse Helios http://download.eclipse.org/tools/mylyn/update/helios Enabled
The Eclipse Project Updates http://download.eclipse.org/eclipse/updates/3.6 Enabled
The Eclipse Web Tools Platform (WTP) software repository http://download.eclipse.org/webtools/repository/helios Enabled
http://download.eclipse.org/tools/mylyn/update/e3.4 Disabled
http://download.eclipse.org/tools/mylyn/update/extras Disabled
Note, I'm not behind any firewalls/proxies etc, no nothing weird with network connectivity.
I've searched all over the place and there are others with the same problem, with no solution that I could find.
Has anyone else run into these issues?
UPDATE 1:
Notes:
I'm not behind a proxy.
I've tried the Java EE, but also bare bones Eclipse 3.6.1.
I've tried different mirrors (including the main site),
I've tried SpingSource's version.
I've tried exporting the update sites to XML, deleting them and reimporting them.
I even tried adding forward slashes to the ends of site names.
I've made sure I have full write permissions for the eclipse folder, and have even placed it on my desktop.
I mention all of these seemingly odd behaviours because these are suggestions I've read around the web on this problem, which many people are having.
Once last interesting point I've just tried, is to download the "http://download.eclipse.org/releases/helios/compositeContent.jar" directly in the browser. It redirects to "http://www.gtlib.gatech.edu/pub/eclipse/releases/helios/compositeContent.jar" with a 403 forbidden. :\ It seems as though system is finding a mirror, but perhaps the mirror is broken? Also note, I'm in Australia, so Georgia Tech is nowhere near me ;)
Just as I was writing this, I tried one last idea. I discovered "Pulse" by Genuitec, which is a Eclipse install manager. I gave it a shot, and it worked. The site it uses for updates is:
"[url=http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirror/releases/helios] http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirr or/releases/helios[/url]"
So, I've wasted enough time on this now. I'd create a bug in Eclipse Bugzilla, but there are already entries with no solution.
UPDATE 2:
Ok, from a fresh install, if I disable:
http://download.eclipse.org/releases/helios/
and add Pulse's update site:
http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirror/releases/helios/
I don't get any errors. I really think it's to do with the automatic mirrored update site. Is this possible?
Here is a screenshot of my update sites now:
Regards,
Shane
Ok, I had the same issue on Windows XP 64bits laptop an Fresh Helios 64bits download, however your workaround works for me.
See update 2 in the question.
Shane

How can I install the BlackBerry v5.0.0 component pack into Eclipse?

I'm trying to install the latest v5.0.0 "beta 2" BlackBerry OS Component Pack into Eclipse 3.4.2 with BlackBerry Eclipse plugin v1.0.0.67, but have hit a few problems. Has anybody found an easy way to do this?
I had no trouble installing the v4.5.0 and v4.7.0 Component Packs.
It's rather strange that BlackBerry are shipping new phones with the v5.0.0 OS installed (e.g. a Storm 2 9550 and Bold 9700 that I just bought), and pushing that update to phones whilst the BlackBerry website still considers the v5.0.0 SDK / Component Packs to be "beta 2"! If anybody knows when an official non-beta Component Pack is going to be released that might solve my problem...
In case it helps, the problems I've hit so far are:
-Contrary to the implication on the BlackBerry website, the Eclipse "Software Update..." option for the v5.0.0 Component Pack claims it only works on the v1.0.0 Eclipse BlackBerry plugin, not the new v1.1 one.
-I then tried to install the v5.0.0 Component Pack through the "Software Updates..." menu in Eclipse using the v1.0.0 Eclipse BlackBery plugin. Once I'd done the 200MB download the install failed with a "Invalid zip file format" error.
-I might just have been unlucky with a corrupted download but I did try it twice, once through "Software Updates..." and once by selecting "Archive" to install the downloaded Component Pack (which unlike v4.5.0 and v4.7.0 was a JAR, not a ZIP).
Using Eclipse 3.5.1 and the 1.1 component pack, I had no trouble installing the 5.0 JDE from the 1.1 component pack update site from within Eclipse - ie: using the update site http://www.blackberry.com/go/eclipseUpdate/3.5/java ...
It could be possible that Blackberry has fixed whatever problem you encountered in their latest beta, or the latest version of Eclipse just works better...but at any rate, I hope you've gotten your setup working, but if not, perhaps trying again with the latest versions will fix things!
They (rim support) did experience some issue with the zip they have on the site for you to install.
See this thread
If you see Unconnected sockets not implemented just before your Invalid zip file format, like:
osgi.bundle,net.rim.eide.doc,1.0.0.67.
Exception connecting to
https://www.blackberry.com/Downloads/auth/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&dl=A7B283681EA93067610F5EE0EEB46A29.
Unconnected sockets not implemented Exception connecting to
https://www.blackberry.com/Downloads/auth/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&dl=A7B283681EA93067610F5EE0EEB46A29.
Unconnected sockets not implemented
Error closing the output stream for
net.rim.eide.feature.componentpack4.3.0/org.eclipse.update.feature/4.3.0.16
on repository file:/C:/eclipse/. Error unzipping
C:\DOCUME~1\tysonl\LOCALS~1\Temp\net.rim.eide.feature.componentpack4.3.0_4.3.0.169073623197643742544.jar:
Invalid zip file format Error closing the output stream for
net.rim.eide.feature.componentpack4.5.0/org.eclipse.update.feature/4.5.0.16
, the support mentions:
The "Unconnected sockets not implemented" is caused by a bug in current versions of JDK 1.6.
You can work around this by downgrading to JDK 1.5 (modify your PATH and JAVA_HOME variables) to install the plug-ins. You may need to delete the files in your windows temp folder as well (Eclipse could have cached bad copies of the file).
This should be fixed in JDK 1.6 update 14.
(so what version of java are you using?)
As mentioned in the same thread:
The following is from the "blackberry plugin for eclipse" download page:
It is recommended that users outside of North American or users who have experienced problems with the BlackBerry update site use the links below to manually download and install the components.
Yep, I've read that bit. That's essentially what I tried to do. What that doesn't say is you need to remove the update site from your site list before trying to install the manual downloads via the archive function.
Helpful to me:
http://supportforums.blackberry.com/t5/Java-Development/Invalid-zip-file-format-trying-to-add-4-7-0-components-to/td-p/411105;jsessionid=32490C8741FEE961B9436E453DFF7430