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 220965 - NPE: org.eclipse.jgit.lib.Repository.resolve
Summary: NPE: org.eclipse.jgit.lib.Repository.resolve
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-28 05:36 UTC by cococo111111
Modified: 2012-11-01 02:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144553


Attachments
stacktrace (1.92 KB, text/plain)
2012-10-28 05:36 UTC, cococo111111
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cococo111111 2012-10-28 05:36:48 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
GUEST: Setting up a new project (I was running the NetBeans tutorial on creating a weblog in 10 minutes)




Stacktrace: 
java.util.zip.ZipException: error reading zip file
   at java.util.zip.ZipFile.read(ZipFile.java:0)
   at java.util.zip.ZipFile.access$1400(ZipFile.java:56)
   at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:677)
   at org.netbeans.JarClassLoader$JarSource.resource(JarClassLoader.java:588)
   at org.netbeans.Archive.getData(Archive.java:206)
   at org.netbeans.JarClassLoader$JarSource.readClass(JarClassLoader.java:556)
Comment 1 cococo111111 2012-10-28 05:36:53 UTC
Created attachment 126674 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-10-29 07:55:05 UTC
I've added more logging to trace the ZipException: ergonomics#fb802e876ee4
but the first error is from Git so passing there:


SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.git.ui.fetch.PullAction$1
java.lang.NullPointerException
	at org.eclipse.jgit.lib.Repository.resolve(Repository.java:386)
	at org.eclipse.jgit.lib.Repository.resolve(Repository.java:379)
	at org.netbeans.libs.git.jgit.Utils.parseObjectId(Utils.java:213)
	at org.netbeans.libs.git.jgit.Utils.findCommit(Utils.java:197)
	at org.netbeans.libs.git.jgit.commands.MergeCommand.run(MergeCommand.java:86)
	at org.netbeans.libs.git.jgit.commands.PullCommand.runTransportCommand(PullCommand.java:90)
	at org.netbeans.libs.git.jgit.commands.TransportCommand.run(TransportCommand.java:137)
	at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:73)
	at org.netbeans.libs.git.GitClient.pull(GitClient.java:736)
	at org.netbeans.modules.git.client.GitClient$36.call(GitClient.java:575)
	at org.netbeans.modules.git.client.GitClient$36.call(GitClient.java:571)
	at org.openide.util.NetworkSettings.suppressAuthenticationDialog(NetworkSettings.java:140)
	at org.netbeans.modules.git.client.GitClient$CommandInvoker$1.call(GitClient.java:742)
Comment 3 Ondrej Vrabec 2012-10-29 09:17:16 UTC
(In reply to comment #2)
> I've added more logging to trace the ZipException: ergonomics#fb802e876ee4
> but the first error is from Git so passing there:
i found the exception coming from git only in one of the reports: #622316. That one is already covered and fixed as bug #219648.
So passing back and closing until someone provides the needed logs.
Comment 4 Quality Engineering 2012-11-01 02:42:30 UTC
Integrated into 'main-golden', will be available in build *201211010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fb802e876ee4
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #220965: Logging to let us know the size of a ZIP file when a ZipException occurs