This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 243231 - bitbucket.org does not work with OpenJDK/icedtea
Summary: bitbucket.org does not work with OpenJDK/icedtea
Status: RESOLVED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-25 01:04 UTC by darkbasic
Modified: 2014-03-31 13:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full log (48.92 KB, text/plain)
2014-03-25 09:59 UTC, darkbasic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description darkbasic 2014-03-25 01:04:48 UTC
With icedtea 7 I get:

java.lang.NoClassDefFoundError: sun/net/www/protocol/http/HttpCallerInfo

It works with Orcale JDK. github works flawlessly with icedtea, only bitbucket doesn't.
Comment 1 Ondrej Vrabec 2014-03-25 06:43:55 UTC
attach the full IDE log
Comment 2 darkbasic 2014-03-25 09:59:42 UTC
Created attachment 146295 [details]
Full log

Here it is.
Comment 3 Ondrej Vrabec 2014-03-28 11:13:53 UTC
I can connect to bitbucket Git repo with OpenJDK7 without problems in:
Product Version: NetBeans IDE Dev (Build 20140310-6b59ffdba5d7)
Java: 1.7.0_51; OpenJDK 64-Bit Server VM 24.45-b08
Runtime: OpenJDK Runtime Environment 1.7.0_51-b00
System: Linux version 3.11.10-7-desktop running on amd64; UTF-8; en_US (nb)

If you get:
> java.lang.NoClassDefFoundError: sun/net/www/protocol/http/HttpCallerInfo
>    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1447)
... class cannot be found from the same package. It may indicate a corrupted installation of OpenJDK. Check if /usr/lib64/icedtea7/jre/lib/rt.jar contains the class.

BTW, did you download the NB build from the official download page? The build number - NetBeans IDE 8.0 (Build 20140323-unknown-revn) - is unknown. Did you build it yourself?
Comment 4 darkbasic 2014-03-31 13:51:19 UTC
Yes, I built it myself using the Gentoo ebuild.
I also built Icedtea 7.2.4.5 myself.

I filed a bug in the Gentoo tracker for Icedtea 7: https://bugs.gentoo.org/show_bug.cgi?id=506368