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 251306 - NoClassDefFoundError: Could not initialize class org.netbeans.libs.git.GitBranch
Summary: NoClassDefFoundError: Could not initialize class org.netbeans.libs.git.GitBranch
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 251400 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-19 20:13 UTC by joaorafaellima
Modified: 2018-04-25 21:02 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193971


Attachments
stacktrace (1.33 KB, text/plain)
2015-03-19 20:13 UTC, joaorafaellima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joaorafaellima 2015-03-19 20:13:02 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Windows 8

User Comments:
GUEST: fuck off piece of shit netbeans

GUEST: 1. installed git module
2. restarted

joaorafaellima: java.lang.ClassNotFoundException: org.eclipse.jgit.transport.CredentialsProvider
	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222)
Caused: java.lang.ClassNotFoundException: org.eclipse.jgit.transport.CredentialsProvider starting from ModuleCL@7703fb5b[org.netbeans.libs.git] with possible defining loaders null and declared parents [Netigso[reference:file:ide/modules/org-eclipse-jgit.jar], ModuleCL@5134bb83[org.netbeans.libs.jsch.agentproxy], Netigso[reference:file:ide/modules/com-jcraft-jsch.jar]]
	at org.netbeans.ProxyClassLoader.loadClass(ProxyCl

joaorafaellima: Advert
Comment 1 joaorafaellima 2015-03-19 20:13:06 UTC
Created attachment 152731 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-03-22 13:54:20 UTC
@joaorafaellima: did you try to update your existing NetBeans installation by installing updates from autoupdate? I just tried and it works fine. From the log it appears you're missing a module in your installation, could you check if there's ide\modules\javaewah-dummy.jar file in your NB installation folder?
Comment 3 Ondrej Vrabec 2015-03-24 15:09:32 UTC
*** Bug 251400 has been marked as a duplicate of this bug. ***
Comment 4 Ondrej Vrabec 2015-04-02 09:22:38 UTC
AU does not download and install javaewah library. The dependency here is:
Git -> libs.git -> o.eclipse.jgit -> javaewah. All modules except for javaewah library are downloaded but that one missing lib prevents git from loading.
Comment 5 Exceptions Reporter 2015-04-20 13:58:55 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=193971
Comment 6 Exceptions Reporter 2015-04-20 14:01:54 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=193971
Comment 7 Libor Fischmeistr 2015-07-07 13:32:05 UTC
Looks like some issue with Netbinox, please evaluate.

I hope, that the component is correct...
Comment 8 Tomas Hurka 2015-07-08 16:38:29 UTC
I don't think that there is a problem in Netigso. According to the messages.log(s) javaewah library is not present and therefor Netigso does not enable bundle "org.eclipse.jgit_3.6.2.201501210735-r [191]". Assigning back to Autoupdate.
Comment 9 Libor Fischmeistr 2015-08-31 10:59:40 UTC
If someone has still this issue, please attach here IDE log folder - http://wiki.netbeans.org/FaqLogMessagesFile

<userdir>/var/log - the whole folder is necessary, because the updater logs are present...
Comment 10 Libor Fischmeistr 2015-09-02 07:01:01 UTC
(In reply to Libor Fischmeistr from comment #9)
> If someone has still this issue, please attach here IDE log folder -
> http://wiki.netbeans.org/FaqLogMessagesFile
> 
> <userdir>/var/log - the whole folder is necessary, because the updater logs
> are present...

Not necessary any-more.

This concrete issue should be fixed in latest daily builds. But the original cause is unfortunately still valid.
Comment 11 Exceptions Reporter 2018-04-25 20:35:53 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=193971
Comment 12 Exceptions Reporter 2018-04-25 20:44:53 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=193971
Comment 13 Exceptions Reporter 2018-04-25 20:53:53 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=193971
Comment 14 Exceptions Reporter 2018-04-25 21:02:53 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=193971