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 180138 - NullPointerException at org.netbeans.modules.bugtracking.util.BugtrackingOwnerSupport$DefaultImpl.getKenaiBugtrackingRepository
Summary: NullPointerException at org.netbeans.modules.bugtracking.util.BugtrackingOwne...
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 04:01 UTC by Vladimir Voskresensky
Modified: 2010-02-03 21:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 164813


Attachments
stacktrace (782 bytes, text/plain)
2010-02-02 04:01 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2010-02-02 04:01:38 UTC
Build: NetBeans IDE Dev (Build 100201-a3b04a56727a)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: SunOS

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.bugtracking.util.BugtrackingOwnerSupport$DefaultImpl.getKenaiBugtrackingRepository(BugtrackingOwnerSupport.java:407)
   at org.netbeans.modules.bugtracking.util.BugtrackingOwnerSupport$DefaultImpl.getRepository(BugtrackingOwnerSupport.java:328)
   at org.netbeans.modules.bugtracking.tasklist.TaskListProvider.getRepositoriesFor(TaskListProvider.java:431)
   at org.netbeans.modules.bugtracking.tasklist.TaskListProvider.access$800(TaskListProvider.java:80)
   at org.netbeans.modules.bugtracking.tasklist.TaskListProvider$RefreshTask.run(TaskListProvider.java:373)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:641)
Comment 1 Vladimir Voskresensky 2010-02-02 04:01:44 UTC
Created attachment 93751 [details]
stacktrace
Comment 2 Ondrej Vrabec 2010-02-02 04:27:11 UTC
BugtrackingOwnerSupport expects getKenai returns non-null value, which is not necessarilly true.
getKenai returns null e.g. when netbeans.org kenai instance is not registered in the Services tab.
Comment 3 Ondrej Vrabec 2010-02-02 04:27:34 UTC
fix: http://hg.netbeans.org/cdev/rev/50dbc2f48101
Comment 4 Quality Engineering 2010-02-03 21:44:34 UTC
Integrated into 'main-golden', will be available in build *201002040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/50dbc2f48101
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #180138 - NullPointerException at org.netbeans.modules.bugtracking.util.BugtrackingOwnerSupport$DefaultImpl.getKenaiBugtrackingRepository