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 197565 - [GIT] java.lang.IllegalArgumentException: Repository config file
Summary: [GIT] java.lang.IllegalArgumentException: Repository config file
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.0
Hardware: PC Other
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 12:13 UTC by mchl
Modified: 2011-04-12 08:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message.log (55.43 KB, application/octet-stream)
2011-04-08 12:13 UTC, mchl
Details
Another message.log a few minutes older (84.98 KB, application/octet-stream)
2011-04-08 12:14 UTC, mchl
Details
Git config file as per request (377 bytes, text/plain)
2011-04-11 08:53 UTC, mchl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mchl 2011-04-08 12:13:32 UTC
Created attachment 107606 [details]
message.log

The exception is thrown while running PHPUnit test suite. For whatever reasons, the build in exception reporter fails to report it.

Git plugin:
Version: 0.2.8 Source: org-netbeans-modules-git.nbm

C:\Users\Mchl>git --version
git version 1.7.3.1.msysgit.0

git status called from console for this repository displays fine
Comment 1 mchl 2011-04-08 12:14:38 UTC
Created attachment 107607 [details]
Another message.log a few minutes older
Comment 2 Ondrej Vrabec 2011-04-08 13:00:43 UTC
Could you please attach your config file? C:\wamp\www\fakturator\git\.git\config
Comment 3 mchl 2011-04-11 08:53:43 UTC
Created attachment 107630 [details]
Git config file as per request
Comment 4 Ondrej Vrabec 2011-04-11 11:06:38 UTC
JGit client library we use has problems parsing the config file. It is probably more strict than commandline client. Please ensure there's an empty line at the end of the file. I'll try to handle this situation in a proper way and just display a warning dialog with a description that suggests also the solution.
Comment 5 Ondrej Vrabec 2011-04-11 11:09:05 UTC
fix: http://hg.netbeans.org/core-main/rev/942320db7889
Comment 6 Quality Engineering 2011-04-12 08:44:16 UTC
Integrated into 'main-golden', will be available in build *201104120401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/942320db7889
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #197565 - [GIT] java.lang.IllegalArgumentException: Repository config file