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 247442 - Error and empty activity dashboard if there is a deploy activity
Summary: Error and empty activity dashboard if there is a deploy activity
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: ODCS (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 12:29 UTC by Tomas Pavek
Modified: 2014-11-14 15:53 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 Tomas Pavek 2014-09-24 12:29:19 UTC
Show the project dashboard (with activities) for a ODCS project that has some deployment activity in the list.

An error window appears (ODCS Command Failed) with exception printed in console.

The list of activities stays empty.

org.netbeans.modules.odcs.client.api.ODCSException: com.tasktop.c2c.server.common.service.web.RestClientException: RestClientException
        at org.netbeans.modules.odcs.client.ODCSClientImpl.getRecentActivities(ODCSClientImpl.java:115)
        at org.netbeans.modules.odcs.ui.project.RecentActivitiesPanel$1.run(RecentActivitiesPanel.java:231)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Caused by: com.tasktop.c2c.server.common.service.web.RestClientException: RestClientException
        at com.tasktop.c2c.server.common.service.web.ApacheHttpRestClientDelegate.getForObject(ApacheHttpRestClientDelegate.java:393)
        at com.tasktop.c2c.server.common.service.web.ApacheHttpRestClientDelegate.getForObject(ApacheHttpRestClientDelegate.java:212)
        at com.tasktop.c2c.server.profile.service.ActivityServiceClient$GetCall.doCall(ActivityServiceClient.java:58)
        at com.tasktop.c2c.server.profile.service.ActivityServiceClient.getRecentActivity(ActivityServiceClient.java:77)
        at org.netbeans.modules.odcs.client.ODCSClientImpl.getRecentActivities(ODCSClientImpl.java:111)
        ... 3 more
Caused by: org.codehaus.jackson.map.JsonMappingException: Invalid type id 'com.tasktop.c2c.server.profile.domain.activity.DeploymentProjectActivity' (for id type 'Id.class'): no such class found (through reference chain: com.tasktop.c2c.server.profile.service.ServiceCallResult["projectActivityList"])
        at org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:218)
        at org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:183)
        at org.codehaus.jackson.map.deser.BeanDeserializer.wrapAndThrow(BeanDeserializer.java:1462)
        at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:699)
        at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
        at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2723)
        at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1877)
        at com.tasktop.c2c.server.common.service.web.ApacheHttpRestClientDelegate.getForObject(ApacheHttpRestClientDelegate.java:383)
        ... 7 more
Caused by: java.lang.IllegalArgumentException: Invalid type id 'com.tasktop.c2c.server.profile.domain.activity.DeploymentProjectActivity' (for id type 'Id.class'): no such class found
        at org.codehaus.jackson.map.jsontype.impl.ClassNameIdResolver.typeFromId(ClassNameIdResolver.java:62)
        at org.codehaus.jackson.map.jsontype.impl.MinimalClassNameIdResolver.typeFromId(MinimalClassNameIdResolver.java:64)
        at org.codehaus.jackson.map.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:113)
        at org.codehaus.jackson.map.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:74)
        at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeWithType(BeanDeserializer.java:664)
        at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:219)
        at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:194)
        at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:30)
        at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
        at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
        at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
        ... 11 more
Comment 1 Tomas Pavek 2014-09-24 12:30:34 UTC
A problem of the client "takstop" libraries?
Comment 2 Tomas Pavek 2014-09-30 15:03:35 UTC
We indeed miss a "takstop" :) library for deploy.
Comment 3 Tomas Stupka 2014-11-14 15:53:26 UTC
fixed in core-main #f7213901ed0c