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 160999 - NullPointerException at org.netbeans.modules.bugzilla.kenai.KenaiRepository.createConfiguration
Summary: NullPointerException at org.netbeans.modules.bugzilla.kenai.KenaiRepository.c...
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-24 11:23 UTC by Jaromir Uhrik
Modified: 2009-04-05 18:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148159


Attachments
stacktrace (1.00 KB, text/plain)
2009-03-24 11:23 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-03-24 11:23:49 UTC
Build: NetBeans IDE Dev (Build cdev-417-on-090323)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
juhrik: When the user logs in to kenai via e-mail address then there are problems with login to bugzilla.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.bugzilla.kenai.KenaiRepository.createConfiguration(KenaiRepository.java:138)
        at org.netbeans.modules.bugzilla.repository.BugzillaRepository.getConfiguration(BugzillaRepository.java:341)
        at org.netbeans.modules.bugzilla.query.QueryController$3.execute(QueryController.java:298)
        at org.netbeans.modules.bugzilla.commands.BugzillaExecutor.execute(BugzillaExecutor.java:78)
        at org.netbeans.modules.bugzilla.commands.BugzillaExecutor.execute(BugzillaExecutor.java:73)
        at org.netbeans.modules.bugzilla.query.QueryController.populate(QueryController.java:333)
Comment 1 Jaromir Uhrik 2009-03-24 11:23:55 UTC
Created attachment 78729 [details]
stacktrace
Comment 2 Jaromir Uhrik 2009-03-24 11:32:13 UTC
The exception is a result of the possibility to login as an "e-mail address" instead of login-name. It is possible to
login as e-mail to kenai, but there is problem then to log in to bugilla (because there is issue in the service on kenai
- see http://kenai.com/jira/browse/KENAI-284). To avoid such issues it seems to be reasonable to disallow "e-mail" in
NetBeans Kenai Login dialog.
Comment 3 Jan Becicka 2009-03-24 12:52:03 UTC
cdev/d88477ec22b6
Comment 4 Jaromir Uhrik 2009-03-25 10:58:21 UTC
Verified in the following cdev build:
Product Version: NetBeans IDE Dev (Build cdev-424-on-090325)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.6 running on i386; MacRoman; en_US (nb)
Comment 5 Quality Engineering 2009-03-26 14:30:00 UTC
Integrated into 'main-golden', will be available in build *200903260733* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d88477ec22b6
User: Jan Becicka <jbecicka@netbeans.org>
Log: #160999: NullPointerException at org.netbeans.modules.bugzilla.kenai.KenaiRepository.createConfiguration
+ improvements in login panel