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 250641 - java.lang.IllegalArgumentException: Invalid type id 'com.tasktop.c2c.server.profile.domain.activity.RssActivity' (for id type 'Id.class'): no such class found
Summary: java.lang.IllegalArgumentException: Invalid type id 'com.tasktop.c2c.server.p...
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: ODCS (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-23 16:48 UTC by Tomas Stupka
Modified: 2015-02-24 11:37 UTC (History)
2 users (show)

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 Stupka 2015-02-23 16:48:17 UTC
Product Version = NetBeans IDE Dev (Build 20150223-35eb12c41b12)
Operating System = Mac OS X version 10.10.1 running on x86_64
Java; VM; Vendor = 1.7.0_65
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.65-b04

java.lang.IllegalArgumentException: Invalid type id 'com.tasktop.c2c.server.profile.domain.activity.RssActivity' (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)
Caused: org.codehaus.jackson.map.JsonMappingException: Invalid type id 'com.tasktop.c2c.server.profile.domain.activity.RssActivity' (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)
Caused: 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:116)
Caused: org.netbeans.modules.odcs.client.api.ODCSException
	at org.netbeans.modules.odcs.client.ODCSClientImpl.getRecentActivities(ODCSClientImpl.java:120)
[catch] at org.netbeans.modules.odcs.ui.project.RecentActivitiesPanel$1.run(RecentActivitiesPanel.java:231)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1425)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:59)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:294)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2038)
Comment 1 Tomas Stupka 2015-02-23 16:49:11 UTC
we need DCS client libs contianing also the type
com.tasktop.c2c.server.profile.domain.activity.RssActivity
Comment 2 Tomas Stupka 2015-02-23 16:49:37 UTC
also show then those rss activities in the projects dashboard
Comment 3 Tomas Stupka 2015-02-23 16:51:11 UTC
fixed in 
jet-main #05326259916a
summary:     upgrading dcs libraries to support also RssActivity

jet-main #b93c2b814300
summary:     show RssActivity in project dashboard
Comment 4 Tomas Stupka 2015-02-23 16:59:33 UTC
ported to releases branch release802

releases #2cfedd7b020d
summary:     show RssActivity in project dashboard

releases #2cfedd7b020d
summary:     upgrading dcs libraries to support also RssActivity