Yeah, works again. You saved my editor :)
Thank you so much...

marcel

Am 01.07.2010 um 15:48 schrieb Jonas Fonseca:

> On Jun 25, 6:37 pm, Marcel Hild <[email protected]> wrote:
>> Hi,
>> I installed the somewhat unofficial version 
>> fromhttp://blogs.sun.com/tor/entry/nbgit_for_netbeans_6_9(the one in the
>> comments).
>> It has an issue with showing a diff for a branch created from a
>> remote.
>> 
>> Something like
>> git clone [email protected]:...
>> git checkout -b mybranch
>> 
>> Now the diff doesnt work, it says
>> 
>> java.lang.NullPointerException
>>         at org.spearce.jgit.lib.GitIndex$Entry.<init>(GitIndex.java:418)
>>         at org.spearce.jgit.lib.GitIndex.readTree(GitIndex.java:798)
>>         at org.spearce.jgit.lib.GitIndex.readTree(GitIndex.java:796)
>>         at org.spearce.jgit.lib.GitIndex.readTree(GitIndex.java:796)
>>         at org.spearce.jgit.lib.GitIndex.readTree(GitIndex.java:783)
>>         at org.nbgit.client.CheckoutBuilder.checkout(CheckoutBuilder.java:
>> 163)
>>         at org.nbgit.util.GitUtils.getFileRevision(GitUtils.java:622)
>>         at org.nbgit.ui.diff.DiffStreamSource.init(DiffStreamSource.java:217)
>> Caused: java.io.IOException: Can not load remote file for /path/to/
>> file/bs.js
>>         at org.nbgit.ui.diff.DiffStreamSource.init(DiffStreamSource.java:245)
>>         at org.nbgit.ui.diff.Setup.initSources(Setup.java:261)
>>         at org.nbgit.ui.diff.MultiDiffPanel
>> $DiffPrepareTask.run(MultiDiffPanel.java:616)
>>         at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:
>> 1418)
>> [catch] at org.openide.util.RequestProcessor
>> $Processor.run(RequestProcessor.java:1957)
>> 
>> When working on a repository without remotes, it works.
>> 
>> With the official 0.3 plugin for NB6.8 this works for both cases.
>> 
>> Do you also see this behavior?
>> 
>> Any ideas?
> 
> The CheckoutBuilder code has been rewritten a lot since the version
> that appears to be in the nbgit plugin version you are using. Could
> you give one of the plugins I uploaded yesterday a try and see if you
> can reproduce it?
> 
> - http://code.google.com/p/nbgit/downloads/list?q=0.4
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "nbgit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/nbgit?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"nbgit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nbgit?hl=en.

Reply via email to