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 170519 - NullPointerException at org.netbeans.modules.kenai.RestConnection.post
Summary: NullPointerException at org.netbeans.modules.kenai.RestConnection.post
Status: VERIFIED WONTFIX
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-08-18 08:47 UTC by Jaromir Uhrik
Modified: 2009-09-10 10:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 156138


Attachments
stacktrace (692 bytes, text/plain)
2009-08-18 08:47 UTC, Jaromir Uhrik
Details
Screenshot from NB6.7 (26.93 KB, image/png)
2009-08-18 09:05 UTC, Jaromir Uhrik
Details
Screenshot from trunk build (27.04 KB, image/png)
2009-08-18 09:06 UTC, Jaromir Uhrik
Details
messages.log from trunk build (20.01 KB, text/plain)
2009-08-18 09:07 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-08-18 08:47:02 UTC
Build: NetBeans IDE Dev (Build 200908171401)
VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304
OS: Mac OS X, 10.5.8, i386

User Comments:
juhrik: When I try to connect to testkenai the exception appears and it is not possible to connect there. Seems to me like the problem is more at the server (because connection to kenai is OK and testkenai not)  but please check the exception to be sure that we do all properly in IDE. Thanks.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.kenai.RestConnection.post(RestConnection.java:207)
        at org.netbeans.modules.kenai.RestConnection.post(RestConnection.java:203)
        at org.netbeans.modules.kenai.KenaiREST.verify(KenaiREST.java:376)
        at org.netbeans.modules.kenai.api.Kenai.login(Kenai.java:156)
        at org.netbeans.modules.kenai.ui.spi.UIUtils$2$1.run(UIUtils.java:208)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
Comment 1 Jaromir Uhrik 2009-08-18 08:47:06 UTC
Created attachment 86369 [details]
stacktrace
Comment 2 Jaromir Uhrik 2009-08-18 09:04:10 UTC
Ups, I passed to IDE wrongly http://testkenai.com instead of https://testkenai.com. But the fact is that the behavior is
different than in NetBeans 6.7 in such a case:
-in 6.7 the Kenai Login dialog tells "Authentication failed" (no progress bar is displayed) - see screenshot1
-in trunk build the exception appears and Kenai Login dialog looks like it attempts to connect which never ends (the
progress bar is still displayed) - see screenshot2
Comment 3 Jaromir Uhrik 2009-08-18 09:05:26 UTC
Created attachment 86373 [details]
Screenshot from NB6.7
Comment 4 Jaromir Uhrik 2009-08-18 09:06:08 UTC
Created attachment 86374 [details]
Screenshot from trunk build
Comment 5 Jaromir Uhrik 2009-08-18 09:07:29 UTC
Created attachment 86375 [details]
messages.log from trunk build
Comment 6 Jan Becicka 2009-08-28 09:33:54 UTC
connection via http is no longer supported. Use https
Comment 7 Jaromir Uhrik 2009-09-10 10:35:57 UTC
Verified.