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 244688 - com.tasktop.c2c.server.common.service.AuthenticationException: UNAUTHORIZED
Summary: com.tasktop.c2c.server.common.service.AuthenticationException: UNAUTHORIZED
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: ODCS Tasks (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 245357 246014 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-23 11:22 UTC by Tomas Stupka
Modified: 2015-03-09 18:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 209890


Attachments
stacktrace (3.01 KB, text/plain)
2014-05-23 11:22 UTC, Tomas Stupka
Details
stacktrace (2.44 KB, text/plain)
2014-08-20 08:31 UTC, Tomas Pavek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2014-05-23 11:22:29 UTC
Build: NetBeans IDE Dev (Build 20140523-67c436353b84)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Mac OS X

User Comments:
tstupka: - logout from DCS team server
- click an issue ref in a commit msg 
- login dlg is shown - login and wait ... wait ... wait ... exception apears




Stacktrace: 
com.tasktop.c2c.server.common.service.AuthenticationException: UNAUTHORIZED
   at com.tasktop.c2c.server.common.service.web.ApacheResponseErrorHandler.handleError(ApacheResponseErrorHandler.java:105)
   at com.tasktop.c2c.server.common.service.web.ApacheHttpRestClientDelegate.getForObject(ApacheHttpRestClientDelegate.java:379)
   at com.tasktop.c2c.server.common.service.web.ApacheHttpRestClientDelegate.getForObject(ApacheHttpRestClientDelegate.java:217)
   at com.tasktop.c2c.server.tasks.service.TaskServiceClient$GetCall.doCall(TaskServiceClient.java:286)
   at com.tasktop.c2c.server.tasks.service.TaskServiceClient.getRepositoryContext(TaskServiceClient.java:422)
   at oracle.eclipse.tools.cloud.dev.tasks.CloudDevClient.getRepositoryConfiguration(CloudDevClient.java:157)
Comment 1 Tomas Stupka 2014-05-23 11:22:31 UTC
Created attachment 147404 [details]
stacktrace
Comment 2 Tomas Stupka 2014-07-24 14:06:08 UTC
*** Bug 245357 has been marked as a duplicate of this bug. ***
Comment 3 Tomas Pavek 2014-08-20 08:31:51 UTC
Created attachment 148780 [details]
stacktrace

After successful login to callahan hub switched to Tasks and expanded All Tasks of 'NFS Test' project repository (showing it had 4 tasks total).
Comment 4 Tomas Pavek 2014-08-20 08:35:44 UTC
I'm now getting this when trying to expand the queries in Tasks window. But right-clicking the query and clicking Open works fine.
Comment 5 Tomas Pavek 2014-08-20 09:05:42 UTC
I was not able to expand any query from any ODCS instance in the Tasks window. Even after logout/login. The problem went away after restart.
Comment 6 Tomas Stupka 2014-08-21 14:18:50 UTC
*** Bug 246014 has been marked as a duplicate of this bug. ***
Comment 7 Tomas Stupka 2014-08-21 14:19:57 UTC
comments from issue #246014

Tomas Pavek:
Again wrapped in a com.tasktop.c2c.server.common.service.WrappedCheckedException.
ODCSExecutor.execute() catches RuntimeException but then logs it as SEVERE?

Tomas Stupka:
> Again wrapped in a com.tasktop.c2c.server.common.service.WrappedCheckedException.
> ODCSExecutor.execute() catches RuntimeException but then logs it as SEVERE?
runtime is nasty and severe seemed to be appropriate back than before the client started throwing RE on authentication problems (on top of it, that it maybe even aren't real auth problems)
Comment 8 Tomas Stupka 2014-08-21 14:29:49 UTC
there are several scenarios that eventually result in the same exception logged above, but the main reason seems to be the same - a RuntimeException raised on a login error. Lets keep this under one issue, until that particular mess isn't fixed in the responsible lib.

besides that - strange is that the errors come from tasks and it isn't possible to invoke tasks operation w/o being properly logged in. From own experience - i've seen http codes returned via web indicating a failed authentication even though i've already been logged in ...
Comment 9 Tomas Pavek 2015-03-09 18:21:38 UTC
Various fixes on all fronts (DCS server, client libs, NetBeans) have been done since this was reported (e.g. dcsbug_9401), and I have not seen this exception for a long time already. Given how many duplicate reports we used to have, not seeing it anymore might be simply because it has been fixed together with something else. There are no known steps how to reproduce at this moment, and nothing specifically known to be fixed. So I suggest to close this.