Hello,
I'm trying to use D2QueryFormConfig inside my class implementing IPluginAction (in D2 4.2 Plugin).
Unfortunately I get an exception:
Caused by: java.lang.ClassCastException: com.emc.d2.api.config.modules.search.D2QueryFormConfig___PROXY cannot be cast to com.emc.d2.api.config.modules.search.D2QueryFormConfig
at com.emc.myplugin.webfs.actions.MyCustomService.getQueryDqlObject(MyCustomService.java:58) [My-D2-Plugin-1.0.3-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
at com.emc.d2fs.dctm.web.services.action.D2ActionService.handlePluginAction_aroundBody0(D2ActionService.java:72) [D2FS4DCTM-WEB-4.2.0.jar:na]
at com.emc.d2fs.dctm.web.services.action.D2ActionService$AjcClosure1.run(D2ActionService.java:1) [D2FS4DCTM-WEB-4.2.0.jar:na]
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:221) [aspectjrt-1.6.11.jar:na]
at com.emc.d2fs.dctm.aspects.InjectSessionAspect.process(InjectSessionAspect.java:138) [D2FS4DCTM-WEB-4.2.0.jar:na]
Can anyone explain how to resolve it?