Technical


java.lang.ClassCastException occurred. atg.adapter.gsa.ChangeAwareSet cannot be cast to java.util.List


I want to get the category id from parentCategories property  of a product in java , then iterate them until a specific category comes up. But , I am getting class cast exception on line number 2 . Please help me. java.lang.ClassCastException: atg.adapter.gsa.ChangeAwareSet cannot be cast to java.util.List 1) RepositoryItem productItem = getCatalogTools().findProduct(id);2) List<RepositoryItem> catList = (List<RepositoryItem>)productItem.getPropertyValue("parentCategories"); 3)  for (RepositoryItem category : catList) {  vlogDebug("Category:{0}", category.getRepositoryId());}

Related Links

BCC Targeters can display data followed by only one content group ?
How to undo or unclaim the applied coupon for Item !
Pass collections of values to IN sql query in Oracle ATG
QueryBuilder with date range
Catalog is not loding after server bounce in ATG
Bcc Issue
ATG Hardware Sizing document
Index content group based categories
How do I generate Xstore passwords for new users?
PO line Closed code is NULL
Error when  startup UCM Server ??    On Outgoing Provider
Inventory User Access
Error with RQL Statement
CRS setup using CIM- error while initializing CRS EAC APP menu, Initialize step.
Unable to connect ACC
ATG Callback Handler

Categories

ORACLE DEV
Windows and .NET
Java Server Pages (JSP)
Replication
E-Business Suite Techn...
Multimedia (formerly i...
TopLink/JPA
Workflow
Collaboration Suite Ar...
Financial Services
Calendar SDK
Database Archived Forums
Connector for Outlook
Calendar Web Services ...
Email Server
TimesTen In-Memory Dat...
Integration - B2B
Install (Korean)
Discoverer (Korean)
JDeveloper and OC4J 11...
Product Hub
Identity Management Ar...
e-Load
QA/Testing
Architecture
WebLogic
WebLogic Portal
Oracle on Amazon Web S...
opensource
iStore
weblogic.developer.int...
weblogic.developer.int...
aqualogic.bpm.development
I(18)N & Localization
.NET Portlets
Pages
Publisher Office Add-i...
Hyperion EPM
Primavera Contract Man...
天津 User Group
WebLogic Server - Diag...
Annotation Processing
Embedded Technologies
Java Web Start & JNLP
Enterprise JavaBeans
JDK's Monitoring & Tro...
Storage
Solaris 11
Virtual Desktop Infras...
Java Community Process...
Socket Programming
Bug Examples
Sun Servers Archived F...
Kernel
AutoVue Enterprise Vis...
Japanese
JavaFX 2.0 and Later
General Java Embedded ...
Mobile Services Archit...
Oracle JRockit (Japanese)
Audit Vault and Databa...
Mix Feedback
Oracle FLEXCUBE Core B...
Talent Management
About the Community
OTN Systems Hub
Java Sessions
Eloqua10 Update Group
AppCloud
Switzerland Eloqua Use...
Eloqua 9 Clients
Eloqua Users with MS C...
Privacy and Compliance
ZFS Storage Appliance
The Modern Marketing Tour
Getting Started
Oracle Supply Chain Ma...
JXTA Community Forum
Digital Learning
Insurance Group
Free & Open Source Sof...
Test - Partner Layout
Software in Silicon (S...
Eloqua10 Best Practice...
Data Visualization Des...
Accelerating Startups
Oracle Management Cloud
Service Supply Chain
Chart of the Week
Markies: Marketing & S...
Eloqua Benelux User Group
Oracle Application Ser...
IA 64 Beta Program
C++ Call Interface (OCCI)
Products (Korean)
엔터프라이즈 관리자 ((Korean))
Products - Application...
中国移动Oracle技术论坛注册
Tuxedo
Archived Newsgroups
Java Compiler (Develop...
JavaServer Faces
Java System Portal Ser...
Endeca Information Dis...
Desktop
Duke's Choice Awards

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile