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.
Summary: | NullPointerException at org.netbeans.modules.versioning.util.Utils.getLineEnding | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | aquaglia <aquaglia> |
Component: | Code | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, jkovalsky |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 220523 |
Attachments: |
stacktrace
sample project |
Description
aquaglia
2015-10-13 15:55:46 UTC
Created attachment 156695 [details]
stacktrace
fixed: core-main #0567c770ebf2 Angelo, any steps to reproduce this NPE? Thanks. Created attachment 156725 [details]
sample project
steps to reproduce:
1) Create new versioned project (Git, Mercurial, Svn, does not matter)
2) Prepare a merge conflict - e.g.:
- on branch A set FILE's content to "A"
- on branch B set FILE's content to "B"
3) merge B into A
4) edit the file's content - remove all <<<< and >>>> and set the
content to:
"B"
note it has to be just a single line
5) Git -> Conflicts -> Resolve Conflicts
or just open the attached project and Resolve Conflicts on src/pkg251409/newfile
Thanks, but I have just tried again but I am not getting any exception. I was also not able to reproduce the exception in #201510110923. :( Integrated into 'main-silver', will be available in build *201510150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0567c770ebf2 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #255908 - NullPointerException at org.netbeans.modules.versioning.util.Utils.getLineEnding verified in trunk |