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 176352 - [68cat] KenaiException when offline
Summary: [68cat] KenaiException when offline
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-10 02:00 UTC by Peter Nabbefeld
Modified: 2009-11-11 06:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2009-11-10 02:00:34 UTC
When my internet connection is down, I'm getting a KenaiException. As I'm not using Kenai, I'd expect this not to happen.

Instead, the connection's offline state should be notified, and Kenai should give an informal messsage "Cannot contact Kenai, connection down" (or sth. similar), if somebody tries to use a kenai feature.
Comment 1 Jan Becicka 2009-11-10 02:04:57 UTC
please attach messages.log. Thanks
Comment 2 Peter Nabbefeld 2009-11-10 04:24:39 UTC
Currently cannot reproduce, will try this evening in other (home) environment (where I've got the issue).
Comment 3 Jan Becicka 2009-11-10 05:46:19 UTC
it is not necessary to reproduce it. Just attach var/log/messages.log
Comment 4 Petr Dvorak 2009-11-10 06:44:55 UTC
A duplicate of issue #168319? We need the stack trace to know which particular action throws the exception...
Comment 5 Peter Nabbefeld 2009-11-11 05:55:39 UTC
May be. However, it's bad, that this issue isn't solved after 4 months ...

Here's my exception message:
SEVERE [org.openide.util.Exceptions]
java.io.IOException: Cannot connect to : kenai.com, caused by kenai.com
	at org.netbeans.modules.kenai.RestConnection.connect(RestConnection.java:284)
	at org.netbeans.modules.kenai.RestConnection.get(RestConnection.java:164)
	at org.netbeans.modules.kenai.KenaiREST.loadPage(KenaiREST.java:170)
Caused: org.netbeans.modules.kenai.api.KenaiException. Server response=
	at org.netbeans.modules.kenai.KenaiREST.loadPage(KenaiREST.java:172)
	at org.netbeans.modules.kenai.KenaiREST.getServices(KenaiREST.java:195)
	at org.netbeans.modules.kenai.api.Kenai.getServices(Kenai.java:368)
	at org.netbeans.modules.kenai.ui.Utilities.isChatSupported(Utilities.java:86)
	at org.netbeans.modules.kenai.ui.spi.UIUtils.tryLogin(UIUtils.java:172)
	at org.netbeans.modules.kenai.ui.KenaiLoginTask.run(KenaiLoginTask.java:58)
[catch] at org.netbeans.core.WarmUpSupport.run(WarmUpSupport.java:87)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
Comment 6 Jan Becicka 2009-11-11 06:06:28 UTC
Already fixed by 44bb1e535244