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 249959 - NullPointerException at org.netbeans.modules.bugtracking.commons.FileToRepoMappingStorage.cutTrailingSlashes
Summary: NullPointerException at org.netbeans.modules.bugtracking.commons.FileToRepoMa...
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-22 22:01 UTC by markiewb
Modified: 2015-04-03 03:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 214959


Attachments
stacktrace (2.06 KB, text/plain)
2015-01-22 22:01 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2015-01-22 22:01:03 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
markiewb: Click at an issue link in the git's show history view




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.bugtracking.commons.FileToRepoMappingStorage.cutTrailingSlashes(FileToRepoMappingStorage.java:196)
   at org.netbeans.modules.bugtracking.BugtrackingOwnerSupport.getRepositoryByUrl(BugtrackingOwnerSupport.java:419)
   at org.netbeans.modules.bugtracking.BugtrackingOwnerSupport.getRepositoryForContext(BugtrackingOwnerSupport.java:274)
   at org.netbeans.modules.bugtracking.BugtrackingOwnerSupport.getRepository(BugtrackingOwnerSupport.java:150)
   at org.netbeans.modules.bugtracking.ui.issue.IssueAction$3$1.run(IssueAction.java:182)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Comment 1 markiewb 2015-01-22 22:01:04 UTC
Created attachment 151630 [details]
stacktrace
Comment 2 Tomas Stupka 2015-04-02 13:31:30 UTC
strangem looks like there was a repository instance with a null url. no idea how is that possible ... 

will prevent the reported exception, 
but it would be good to know how this could appear. 
reporter, do you remember what happened before the exception was raised? 
Anything bugtracking/repository related:
- did you try to create a new repository?
- where you asked to specify e new repository after you clicked on that link, but before the exception appeared?
- ...

thanks
Comment 3 markiewb 2015-04-02 13:48:38 UTC
Seems to be fixed by the github plugin
https://github.com/junichi11/netbeans-github-issues-plugin/issues/15
Comment 4 Tomas Stupka 2015-04-02 14:07:34 UTC
> Seems to be fixed by the github plugin
> https://github.com/junichi11/netbeans-github-issues-plugin/issues/15
thanks. will add there a null test anyway ...
Comment 5 Tomas Stupka 2015-04-02 16:39:53 UTC
fixed in jet-main #97e548a4fd5b
Comment 6 Quality Engineering 2015-04-03 03:06:11 UTC
Integrated into 'main-silver', will be available in build *201504030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/97e548a4fd5b
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #249959 - NullPointerException at org.netbeans.modules.bugtracking.commons.FileToRepoMappingStorage.cutTrailingSlashes