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 160032 - AssertionError: you must login to get my projects
Summary: AssertionError: you must login to get my projects
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-10 17:26 UTC by Petr Dvorak
Modified: 2009-04-09 13:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 147429


Attachments
stacktrace (413 bytes, text/plain)
2009-03-10 17:26 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dvorak 2009-03-10 17:26:15 UTC
Build: NetBeans IDE Dev (Build cdev-341-on-090310)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-12-generic, i386

User Comments:
joshis: I started IDE (NOT with a clean userdir). I had the Kenai dashboard opened from the previous session and the projects I had opened were still present.

I expanded the nodes of the project and I clicked on "get" by the svn source code repo.



Stacktrace: 
java.lang.AssertionError: you must login to get my projects
        at org.netbeans.modules.kenai.api.Kenai.getMyProjects(Kenai.java:370)
        at org.netbeans.modules.kenai.ui.GetSourcesFromKenaiPanel$8.run(GetSourcesFromKenaiPanel.java:533)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 1 Petr Dvorak 2009-03-10 17:26:39 UTC
Created attachment 77995 [details]
stacktrace
Comment 2 Petr Dvorak 2009-03-10 17:29:10 UTC
To reproduce, start IDE and try to get sources of some project that is in the Kenai dashboard from the previous session.
Comment 3 Jan Becicka 2009-03-20 06:57:40 UTC
Milane, should I rather return empty list, if user is not logged in?
Comment 4 Milan Kubec 2009-03-20 09:13:25 UTC
Yes, that would be better than assert.
Comment 5 Milan Kubec 2009-03-26 16:15:21 UTC
Honzo, reassigning to you if you want to get rid of the assert.
Comment 6 Jan Becicka 2009-04-02 11:50:09 UTC
Fixed by cdev #95fb923093ed
Comment 7 Petr Dvorak 2009-04-09 13:24:29 UTC
Verified

Product Version: NetBeans IDE Dev (Build 200904081400)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-14-generic running on i386; UTF-8; en_US (nb)