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 257422 - org.eclipse.jgit.errors.MissingObjectException: Missing unknown bf6696fce2cff7455c58914cb9aea102fe9d6b35
Summary: org.eclipse.jgit.errors.MissingObjectException: Missing unknown bf6696fce2cff...
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-05 16:29 UTC by c_mercado
Modified: 2016-02-04 12:56 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220537


Attachments
stacktrace (6.52 KB, text/plain)
2016-01-05 16:29 UTC, c_mercado
Details
stacktrace (2.89 KB, text/plain)
2016-01-06 14:29 UTC, c_mercado
Details

Note You need to log in before you can comment on or make changes to this bug.
Description c_mercado 2016-01-05 16:29:20 UTC
Build: NetBeans IDE 8.1 (Build 201511021428)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b18, Java(TM) SE Runtime Environment, 1.8.0_66-b18
OS: Windows 10

User Comments:
anderssongalves: It happens all the time!

c_mercado: I was coding in PHP view,

anderssongalves: Bug in all the netbeans:
Its not possible to create class, interface.
Its not possible to commit in git.
Erro when i run test after i change code in project.

I need to return netbeans 8.0.2 for continue work.

GUEST: Just only open the project

GUEST: jgit giving a lot of errors recently

c_mercado: I was creating a new javascript file when exception was throwed.




Stacktrace: 
org.eclipse.jgit.errors.MissingObjectException: Missing unknown bf6696fce2cff7455c58914cb9aea102fe9d6b35
   at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:148)
   at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:229)
   at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:840)
   at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:753)
   at org.eclipse.jgit.api.StashListCommand.call(StashListCommand.java:104)
   at org.netbeans.libs.git.jgit.commands.StashListCommand.run(StashListCommand.java:80)
Comment 1 c_mercado 2016-01-05 16:29:22 UTC
Created attachment 158014 [details]
stacktrace
Comment 2 c_mercado 2016-01-06 14:29:04 UTC
Created attachment 158032 [details]
stacktrace

It's so annoying this error.
Comment 3 Ondrej Vrabec 2016-01-06 14:37:43 UTC
I suggest you fix your repository. Your repo seems to be corrupted and misses some objects that stashes reference.
Comment 4 Ondrej Vrabec 2016-01-08 16:56:45 UTC
The problem is that your stash log contains references to non-existent commits. The correct fix is to fix your repository, possibly clean the stash log completely.
I am suppressing the exception so it's not that obtrusive.

fix: http://hg.netbeans.org/core-main/rev/b1c7be85634b
Comment 5 Quality Engineering 2016-01-10 02:36:25 UTC
Integrated into 'main-silver', will be available in build *201601100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b1c7be85634b
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #257422 - org.eclipse.jgit.errors.MissingObjectException: Missing unknown bf6696fce2cff7455c58914cb9aea102fe9d6b35
Wrap the runtime JGit exception into a GitException and log it into IDE log.
Comment 6 Jiri Prox 2016-01-19 12:41:00 UTC
verified in trunk
Comment 7 Ondrej Vrabec 2016-01-22 15:12:29 UTC
release81 fix: #c7078d9863fa