ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.f
HelloI am currently check why I encounter this error in a line graph?
Basically I have the managed bean
public class TestMB
{
private List<Object[]> tabularData = new ArrayList<Object[]>();
public void setTabularData(List<Object[]> tabularData)
{
this.tabularData = tabularData;
}
public List<Object[]> getTabularData()
{
return tabularData;
}
}
In the code, I have this defined graphic line.<dvt:lineGraph id="lineGraph1" subType="LINE_VERT_ABS"
emptyText="No Data To Display"
value="#{backingBeanScope.TestMB.tabularData}"
contentDelivery="immediate">
<dvt:background>
<dvt:specialEffects/>
</dvt:background>
<dvt:graphPlotArea/>
<dvt:seriesSet>
<dvt:series/>
</dvt:seriesSet>
<dvt:o1Axis/>
<dvt:y1Axis/>
<dvt:legendArea automaticPlacement="AP_NEVER"/>
</dvt:lineGraph>
But I continued to encounter this error.java.lang.ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.faces.bi.model.DataModel
My thought is that I would be able to display the emptytext attribute.JDeveloper 11.1.1.6
Published by: Neliel Sep 9, 2012 23:51
Neliel,
You must link to the tabularData property and not to the value property.
Arun-
Tags: Java
Similar Questions
-
Hello world
LM l and map creation using table list as the data collection for the leaf theme of points to specify a given location. The problem l get here is that, after setting up the collection of data on the theme tab, the choice address and longtude & latitudes remain disabled. LM using JDeveloper 12 c last version & weblogic 12 c. When l run my lm project this error: java.lang.ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.faces.bi.model.GeoMapDataModel. Here is the source code of my page and the Bean managed that define the ArrayList
kdario Thanks for your comment, no. l didn't download the demo of component, but l did it right now. l use developer J 12 c to see how GeoMapDataModel is created .it will come back to you if any problem arises.
-
java.lang.Integer cannot be cast to oracle.jbo.domain.Number
Hello
I use JDEV 11.1.2.1.0
Here is my code
Number _id; DCBindingContainer dcBindings = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();
DCIteratorBinding iterBind = (DCIteratorBinding) dcBindings.get ("IDView1Iterator");
_id = (Number) iterBind.getCurrentRow () .getAttribute ("Id");
It gives me the error
java.lang.ClassCastException: java.lang.Integer cannot be cast to oracle.jbo.domain.Number
I imported oracle.jbo.domain.Number.
Please notify.
Yes, but your Id attribute is of type java.lang.Integer, and try to throw him to oracle.jbo.domain.Number
try to use following:
Integer Id = (Integer) iterBind.getCurrentRow () .getAttribute ("Id");
_id = new Number (Id.intValue ());
997766 wrote:
_id = (Number) iterBind.getCurrentRow () .getAttribute ("Id");
It gives me the error
java.lang.ClassCastException: java.lang.Integer cannot be cast to oracle.jbo.domain.Number
I imported oracle.jbo.domain.Number.
Please notify.
-
With the help of plugin vCAC (5.1) I tried to create an entity PhysicalMachine vCAC. Couple of attributes of the entity PhysicalMachine is numeric.
For example: to create a PhysicalMachineEntity I send you under properties map to createModelEntity
var physicalMachineProps = {}
PhysicalMachineID = "UUID".
MemoryInMB = 1121,
Processor = 2 speed,
Name of the vendor = "Seller,"
AssetTag = "ALEX."
Model = "usrLbl."
ServiceTag = "DN,"
Location = 0
};
createModelEntity always fail with java.lang.Double cannot be cast as a java.lang.Short error. Rhino still get converted to java.lang.Double and its plugin failure looks like number type. How can we force type is short
One has seen elsewhere. Appreciate any inputs on this.
Caused by: java.lang.ClassCastException: java.lang.Double cannot be cast in java.lang.Short
at org.odata4j.core.OSimpleObjects.create(OSimpleObjects.java:38)
at org.odata4j.core.OProperties.simple(OProperties.java:54)
at com.vmware.o11n.plugin.dynamicops.model.support.ODataAccessService.createSimpleProperty(ODataAccessService.java:1012)
at com.vmware.o11n.plugin.dynamicops.model.support.ODataAccessService.populateSimpleArgument(ODataAccessService.java:934)
at com.vmware.o11n.plugin.dynamicops.model.support.ODataAccessService.saveEntity(ODataAccessService.java:843)
at com.vmware.o11n.plugin.dynamicops.model.EntityManager.createModelEntity(EntityManager.java:53)
to com.vmware.o11n.plugin.dynamicops.model.EntityManager$ $FastClassByCGLIB$ $5bb4b803.invoke (< generated >)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
to org.springframework.aop.framework.Cglib2AopProxy$ CglibMethodInvocation.invokeJoinpoint (Cglib2AopProxy.java:689)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
to com.vmware.o11n.plugin.sdk.spring.impl.CurrentFactoryAnnotationAdvisor$ 1.call(CurrentFactoryAnnotationAdvisor.java:71)
at com.vmware.o11n.plugin.sdk.spring.AbstractSpringPluginFactory.doInCurrent(AbstractSpringPluginFactory.java:193)
at com.vmware.o11n.plugin.sdk.spring.impl.CurrentFactoryAnnotationAdvisor.invoke(CurrentFactoryAnnotationAdvisor.java:67)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
to org.springframework.aop.framework.Cglib2AopProxy$ DynamicAdvisedInterceptor.intercept (Cglib2AopProxy.java:622)
to com.vmware.o11n.plugin.dynamicops.model.EntityManager$ $EnhancerByCGLIB$ $93e675fa.createModelEntity (< generated >)
Thank you, open a support request. For now, workaround is to remove the attribute properties Slot, then I was able to create the PhysicalMachine entity. But there may be other entities with Int16
-
java.lang.String cannot be cast java.lang.Integer
Hi am navigation based on the lov selection when I select the next button get this error caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer, am in jdebvloper 11.1.1.6.0
follow this example http://tompeez.wordpress.com/2013/02/09/jdeveloper-11-1-1-6-0-use-selection-in-lov-to-navigate-to-detail/
I re - create the problem by using the hr schema can download it hear http://www.datafilehost.com/download-4d2a19c4.html
Published by: adf009 on 25/03/2013 15:08my log error is Caused by: javax.faces.el.EvaluationException: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190) at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) ... 36 more Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer at view.SelectedEmp.showSelectedOrg(SelectedEmp.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46) ... 43 more am geting error in this line Integer selid = (Integer)attr.getInputValue();
Published by: adf009 on 25/03/2013 15:08
Published by: adf009 on 25/03/2013 15:10User ADF 009. In my view, that it is your third post in the same application...
Also to duplicate the post is not good...
Replace your line of code with the code of shot
AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Empid1"); String attrValue = (String) attr.getInputValue(); Integer selid = null; try { selid = Integer.parseInt(attrValue); }catch(NumberFormatException nfe) { System.out.println("Do whatever handling you want to do"); } if(selid == null) return "";
Thank you
Rajdeep -
the resolution may not be cast in java.util.ArrayList
I hava an accordion panel with this function in disclosureListener:
{} public void terrababdelhak (DisclosureEvent disclosureEvent)
System.out.println ("SHOW all THE NEWSPAPERS");
int stateIndex [---]
DCIteratorBinding dcLogs = (DCIteratorBinding) getBindings () .get ("LogTypesVO1Iterator");
ViewObject voLogs = dcLogs.getViewObject ();
List of JUCtrlListBinding = (JUCtrlListBinding) getBindings () .get ("LogTypesVO1");
System.out.println ("LIST LOGS" + list);
DCIteratorBinding iter = list.getDCIteratorBinding ();
System.out.println ("ITER LOGS" + iter);
RowSetIterator rsi = voLogs.createRowSetIterator (null);
System.out.println ("RSI" + rsi);
int i = 0;
rowCount int = (int) voLogs.getEstimatedRowCount ();
stateIndex = new int [rowCount];
While (rsi.hasNext ()) {}
System.out.println ("SEGUINTE!");
Line nextRow = rsi.next ();
iter.setCurrentRowWithKey (nextRow.getKey () .toStringFormat (true));
INDX int = iter.getCurrentRowIndexInRange ();
stateIndex [i] = indx;
System.out.println ("Index loop-" + indx);
i ++ ;
}
rsi.closeRowSetIterator ();
System.out.println ("INDEX" + stateIndex);
list.setSelectedIndices (stateIndex);
System.out.println ("LISTA" + list);
}
Then I valuechangelister to selectmanycheckbox this function:
{} public void filterLogs (ValueChangeEvent valueChangeEvent)
Dc2 DCIteratorBinding = (DCIteratorBinding) evaluteEL ("#{bindings.") EntityLogsVO1Iterator}");
ViewObject vo2 = dc2.getViewObject ();
String WhereClause = "LOG_TYPE in (";"."
System.out.println ("VALUE" + valueChangeEvent.getNewValue ());
If (valueChangeEvent.getNewValue ()! = null) {}
java.util.ArrayList selectedValues = (java.util.ArrayList) valueChangeEvent.getNewValue ();
for (int i = 0; i < selectedValues.size (); i ++) {}
If (!.) WhereClause.equals ("LOG_TYPE in (""))
WhereClause += ', ';
WhereClause += "'" + selectedValues.get (i) + "'";
}
WhereClause += ') ";
VO2.setWhereClause (WhereClause);
VO2. ExecuteQuery();
} else {}
WhereClause = "1 = 2";
VO2.setWhereClause (WhereClause);
VO2. ExecuteQuery();
}
}
But when I uncheck a selectmanychoice point, cause this error:
valueChangeListener = "#{backingBeanScope.backing_OrderDetail.filterLogs}": java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast in java.util.ArrayList.] "
My selectmanycheckbox have this property:
< af:selectManyCheckbox value = "#{bindings." LogTypesVO1.inputValue}.
label = "#{bindings." LogTypesVO1.label}"id ="smc1.
Simple Binding = "#{backingBeanScope.backing_OrderDetail.SMC1}" = 'true' "
layout = "horizontal" autoSubmit = 'true '.
valueChangeListener = "#{backingBeanScope.backing_OrderDetail.filterLogs}" >
< f: selectItems value = "#{bindings." LogTypesVO1.items}"id ="si2 ".
Binding="#{backingBeanScope.backing_OrderDetail.si2}"/ >
< / af:selectManyCheckbox >
my version of jdev is 11.2.4.0
User
You can not convert the ArrayList to direct object value
java.util.ArrayList selectedValues = (java.util.ArrayList) valueChangeEvent.getNewValue ();
write like this-
ArrayList selectedValues = new ArrayList();
Object [] str = (Object []) valueChangeEvent.getNewValue (); for (int i = 0; i)< str.length;="" i++)="" {=""> System.out.println (STR [i]);
selectedValues.add (str [i]); Add the values from an ArrayList
} Ashish
-
Dear,
I created a new portal application and run it... It has worked well. Then, I created a new page template and deployed the application in order to add these files appear in the War file.
then deploy the application. After running the application, I got this exception of non-performance
java.lang.ClassCastException: oracle.mds.core.MetadataObject cannot be cast to oracle.webcenter.framework.view.support.jaxb.DevicesMDMO
I use jdev 11.1.1.7 with 11.1.1.8 extension.
Also, I followed these discussions without hope
Error in the webCenter portal deployment
java.lang.ClassCastException: oracle.webcenter.framework.service.WebCenterConfig cannot be cast to oracle.webcenter.framework.service.WebCenterConfig
at oracle.webcenter.framework.service.WebCenterConfig.instance(WebCenterConfig.java:146)
at oracle.webcenter.framework.service.config.analytics.ConfigUtils.getADFConfig(ConfigUtils.java:77)
at oracle.webcenter.framework.service.config.analytics.ConfigUtils.instance(ConfigUtils.java:145)
at oracle.webcenter.framework.service.config.analytics.OpenUsageHelper.initialize(OpenUsageHelper.java:118)
to oracle.webcenter.framework.service.AnalyticsUtil. < clinit > (AnalyticsUtil.java:105)
at oracle.webcenter.framework.service.WebCenterLoginCountFilter.doFilter(WebCenterLoginCountFilter.java:87)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< ConfigUtils > < getADFConfig > oracle.webcenter.framework.service.WebCenterConfig cannot be cast to oracle.webcenter.framework.service.WebCenterConfig
< DeviceSupportUtils > < getAllDevices >
java.lang.ClassCastException: oracle.mds.core.MetadataObject cannot be cast to oracle.webcenter.framework.view.support.jaxb.DevicesMDMO
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getAllDevices(DeviceSupportUtils.java:2235)
at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getAllDevices(DeviceSupportImpl.java:97)
at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getDeviceByUserAgent(DeviceSupportImpl.java:397)
at oracle.webcenter.framework.view.support.DeviceAgent.getDevice(DeviceAgent.java:286)
at oracle.webcenter.framework.view.support.DeviceAgent.getDeviceGroups(DeviceAgent.java:313)
at oracle.webcenter.framework.view.support.DeviceAgent.getCurrentScopeDeviceGroup(DeviceAgent.java:417)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.qualifySessionScopeId(SiteStructureContext.java:759)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.generateCacheKey(SiteStructureContext.java:1070)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:318)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:281)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getDefaultSiteStructure(SiteStructureContext.java:363)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getCurrentModel(SiteStructureContext.java:1002)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.getCurrentSiteStructure(CustomViewHandler.java:349)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.findNavigationViewId(CustomViewHandler.java:315)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.createView(CustomViewHandler.java:115)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:831)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< DeviceSupportUtils > < getAllDeviceGroups >
java.lang.ClassCastException: oracle.mds.core.MetadataObject cannot be cast to oracle.webcenter.framework.view.support.jaxb.DevicesMDMO
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getAllDeviceGroups(DeviceSupportUtils.java:3308)
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getEnabledDeviceGroups(DeviceSupportUtils.java:3418)
at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getEnabledDeviceGroups(DeviceSupportImpl.java:168)
at oracle.webcenter.framework.view.support.DeviceAgent.getCurrentScopeDeviceGroup(DeviceAgent.java:418)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.qualifySessionScopeId(SiteStructureContext.java:759)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.generateCacheKey(SiteStructureContext.java:1070)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:318)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:281)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getDefaultSiteStructure(SiteStructureContext.java:363)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getCurrentModel(SiteStructureContext.java:1002)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.getCurrentSiteStructure(CustomViewHandler.java:349)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.findNavigationViewId(CustomViewHandler.java:315)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.createView(CustomViewHandler.java:115)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:831)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< DeviceSupportUtils > < getAllDeviceGroups >
java.lang.ClassCastException: oracle.mds.core.MetadataObject cannot be cast to oracle.webcenter.framework.view.support.jaxb.DevicesMDMO
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getAllDeviceGroups(DeviceSupportUtils.java:3308)
at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getAllDeviceGroups(DeviceSupportImpl.java:134)
at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getDefaultDeviceGroup(DeviceSupportImpl.java:298)
at oracle.webcenter.framework.view.support.DeviceAgent.getCurrentScopeDeviceGroup(DeviceAgent.java:456)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.qualifySessionScopeId(SiteStructureContext.java:759)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.generateCacheKey(SiteStructureContext.java:1070)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:318)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:281)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getDefaultSiteStructure(SiteStructureContext.java:363)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getCurrentModel(SiteStructureContext.java:1002)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.getCurrentSiteStructure(CustomViewHandler.java:349)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.findNavigationViewId(CustomViewHandler.java:315)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.createView(CustomViewHandler.java:115)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:831)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< SkinFactoryImpl > < getSkin > cannot find a skin that fits the family portal and version v1. We will use the portal.desktop of the skin.
You must install the latest patch bundle for WebCenter portal.
I believe that this error is a bug caused by certain features that are available in the portal Builder, but not in a framework application.
Basically, WebCenter is throwing items of metadata to specific models of devices. In the portal Builder, you can create different templates depending on the device, but this feature is not available in the framework where the error.
Just install the latest patch bundle and your problem should be solved.
Also... Note that Oracle recommendation is to use the portal generator and not to develop any new application with the framework.
-
Hello
I'm on jdev 11.1.2.4 and mysql db.
My application works well, but quite often I get this error. ususally when you sign out of it.
<RichExceptionHandler> <_logUnhandledException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5 JBO-30003: Application pool model.services.SmsAppModuleLocal fails to check out an application module due to the following exception: java.lang.ClassCastException: weblogic.jdbc.wrapper.PoolConnection_com_mysql_jdbc_JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534) at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571) .... ....... and so on.....
no idea why I get this error and how to get rid of?
Thank you
HI EmAr,
This is my answer to another question:
We have seen this error, when we use one database other than Oracle. When error occurs, disconnect the session and try to connect again.
We had to create root application module (by calling Configuration.createRootApplicationModule) when connecting (and release after use). I thought what happens because of AOS pooling, it tries to use invalidated (last session) AM. (this is just guessing).
Now, we have no problem with other databases (mysql, postgresql, oracle).
Earlier, I found these links. In my view, it has solved the problem basically... (I didn't try it)
After answering this question, I have tried the links, he solved the problem completely...
You create a servlet context listener which affects jbo.sqlbuilder system config and put this context listener in the Web.XML (as mentioned in the links)
Kind regards
Sara. -
java.lang.Boolean cannot be cast to java.lang.String
Hi all
I enclose a new field to the existing table. I get this error.
I have added a field to my vo of type varchar2 and I joined the page element then here I get the below error.
Kindly help me its very urgent.
error.
=====
Houston-27019: Get method for the attribute "commercialinvoicenumber" in the original Version cannot be resolved.
java.lang.Boolean cannot be cast to java.lang.String
My point in vo:
Attribute:-commercialinvoicenumber
type:-String
Kindly help to solve them.
Kind regards
Sangu
I found the solution for this problem.
When I join the new filed to VO my voRowImpl file has been altered. Some of the double columns are created.
I deleted the duplicate columns now it works fine.
-Sangu.
-
How to move a type attribute, java.util.ArrayList < my.entity.Property > to a Tag implementation class?
Please advise!
Thank you
Joe
package my.tags; import java.io.IOException; import java.util.ArrayList; import javax.servlet.jsp.tagext.SimpleTagSupport; import javax.servlet.jsp.JspException; import my.entity.Property; public class PropertiesTag extends SimpleTagSupport { private ArrayList<Property> properties; public void setProperties(ArrayList<Property> properties) { this.properties = properties; } public void doTag() throws JspException, IOException { .. } }
Here is the error message:<?xml version="1.0" encoding="utf-8" ?> <taglib ...> <tag> <name>propertiesTag</name> <tag-class>my.tags.PropertiesTag</tag-class> <body-content>empty</body-content> <description>Displays the product selection left menu</description> <attribute> <name>properties</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <type>java.util.ArrayList<my.entity.Property></type> </attribute> </tag> </taglib>
org.xml.sax.SAXParseException: The element type "my.entity.Property" must be terminated by the matching end-tag "</my.entity.Property>".
As far as I know he did not use generics in a descriptor tag. Read the docs for this. Here is a quick tutorial on the writing of simple tags.
-
Hello
I noticed that the following errors appear often in my custom portals managed servers. Can anyone tell why these errors appear as I applied all the necessary patches?
Oracle WebCenter Suite 11 g 11.1.1.8.0 portal applied Patch 21281035
< 11 November 2015 11:00:08 SGT > < error > < oracle.webcenter.content.integration.spi.ucm.UCMCacheUpdateTimer > < WCS-55198 > < Cache update - unexpected error of blocking for the repository.
java.lang.ExceptionInInitializerError
at oracle.webcenter.content.internal.stellent.VCRConfigProvider.getRepositoryConfig(VCRConfigProvider.java:99)
at oracle.webcenter.content.integration.federated.internal.delegate.RepositoryHelper.getRepositoryConfig(RepositoryHelper.java:601)
at oracle.webcenter.content.integration.federated.internal.delegate.CacheHelper.getBinaryCache(CacheHelper.java:56)
at oracle.webcenter.content.integration.federated.internal.delegate.CacheHelper.flushAllBinaryCacheEntries(CacheHelper.java:254)
at oracle.webcenter.content.integration.federated.ContentCacheHelper.flushAllBinaryCacheEntries(ContentCacheHelper.java:54)
at oracle.webcenter.content.integration.spi.ucm.UCMCacheHelper.invalidateNodeEntry(UCMCacheHelper.java:175)
at oracle.webcenter.content.integration.spi.ucm.UCMCacheHelper.invalidateCacheEntries(UCMCacheHelper.java:138)
at oracle.webcenter.content.integration.spi.ucm.UCMCacheUpdater.updateCaches(UCMCacheUpdater.java:83)
at oracle.webcenter.content.integration.spi.ucm.UCMCacheUpdateTimer.run(UCMCacheUpdateTimer.java:105)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: java.util.MissingResourceException: can't find oracle.webcenter.content.integration.internal.logging.VCRLogger bundle
at java.util.logging.Logger.setupResourceInfo(Logger.java:1537)
to java.util.logging.Logger. < init > (Logger.java:267)
at java.util.logging.LogManager.demandLogger(LogManager.java:433)
at java.util.logging.Logger.demandLogger(Logger.java:346)
at java.util.logging.Logger.getLogger(Logger.java:442)
at oracle.adf.share.logging.ADFLoggerFactory.getADFLogger(ADFLoggerFactory.java:63)
at oracle.adf.share.logging.ADFLogger.createADFLogger(ADFLogger.java:221)
to oracle.webcenter.content.integration.RepositoryException. < clinit > (RepositoryException.java:31)
at oracle.webcenter.content.internal.stellent.VCRConfigProvider.getRepositoryConfig(VCRConfigProvider.java:99)
at oracle.webcenter.content.integration.federated.internal.delegate.RepositoryHelper.getRepositoryConfig(RepositoryHelper.java:601)
at oracle.webcenter.content.integration.federated.internal.delegate.CacheHelper.getBinaryCache(CacheHelper.java:56)
at oracle.webcenter.content.integration.federated.internal.delegate.CacheHelper.flushAllBinaryCacheEntries(CacheHelper.java:254)
at oracle.webcenter.content.integration.federated.ContentCacheHelper.flushAllBinaryCacheEntries(ContentCacheHelper.java:54)
at oracle.webcenter.content.integration.spi.ucm.UCMCacheHelper.invalidateNodeEntry(UCMCacheHelper.java:175)
at oracle.webcenter.content.integration.spi.ucm.UCMCacheHelper.invalidateCacheEntries(UCMCacheHelper.java:138)
at oracle.webcenter.content.integration.spi.ucm.UCMCacheUpdater.updateCaches(UCMCacheUpdater.java:83)
at oracle.webcenter.content.integration.spi.ucm.UCMCacheUpdateTimer.run(UCMCacheUpdateTimer.java:105)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
< 11 November 2015 11:01:07 SGT > < WARNING > < oracle.webcenter.notification.internal.model.util.FrameworkUtils > < BEA-000000 > <
java.lang.ClassCastException: oracle.webcenter.framework.service.RepositoryVersion cannot be cast to oracle.webcenter.framework.service.RepositoryVersion
at oracle.webcenter.framework.service.ServiceContext.getRepositoryVersionObject(ServiceContext.java:1283)
at oracle.webcenter.framework.service.ServiceContext.getRepositoryVersion(ServiceContext.java:1185)
at oracle.webcenter.framework.service.ServiceContext.isRepositoryVersionGreaterThanOrEqualTo(ServiceContext.java:1221)
at oracle.webcenter.peopleconnections.profile.internal.extension.ProfileService.isConfigured(ProfileService.java:41)
at oracle.webcenter.framework.service.ServiceRegistry.getAllConfiguredServices(ServiceRegistry.java:213)
at oracle.webcenter.notification.internal.model.util.FrameworkUtils.loadServiceActivityTypes(FrameworkUtils.java:94)
to oracle.webcenter.notification.internal.model.NotificationServiceImpl. < init > (NotificationServiceImpl.java:109)
at oracle.webcenter.notification.NotificationServiceFactory.getNotificationService(NotificationServiceFactory.java:89)
at oracle.webcenter.notification.internal.model.LifecycleListener.contextDestroyed(LifecycleListener.java:68)
at oracle.webcenter.framework.internal.view.WCFrameworkContextListener.contextDestroyed(WCFrameworkContextListener.java:208)
to weblogic.servlet.internal.EventsManager$ FireContextListenerAction.run (EventsManager.java:482)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3225)
at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:247)
at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1545)
at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:509)
to weblogic.application.internal.flow.ModuleStateDriver$ 2.previous(ModuleStateDriver.java:387)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
to weblogic.application.internal.flow.DeploymentCallbackFlow$ 2.previous(DeploymentCallbackFlow.java:547)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:192)
at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:184)
to weblogic.application.internal.BaseDeployment$ 2.previous(BaseDeployment.java:677)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
at weblogic.application.internal.BaseDeployment.deactivate(BaseDeployment.java:234)
at weblogic.application.internal.EarDeployment.deactivate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.deactivate(DeploymentStateChecker.java:198)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.deactivate(AppContainerInvoker.java:98)
at weblogic.deploy.internal.targetserver.operations.DeactivateOperation.deactivate(DeactivateOperation.java:78)
at weblogic.deploy.internal.targetserver.operations.RemoveOperation.removeDeployment(RemoveOperation.java:306)
at weblogic.deploy.internal.targetserver.operations.RemoveOperation.doCommit(RemoveOperation.java:114)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
in weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 100 (DeploymentReceiverCallbackDeliverer.java:13)
to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 2.run(DeploymentReceiverCallbackDeliverer.java:68)
to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
Hello
Please apply the MLR 14 and check the box.
If the problem persists, please update us with the WCC and newspapers of WCP.
-
Hi all
Please help-
I got this exception when trying to retrieve a row in the table of my grain of support:
Caused by: java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding cannot be cast to oracle.jbo.uicli.binding.JUCtrlValueBindingRef
The line of code in the bean to support caused the error:
oracle.jbo.uicli.binding.JUCtrlValueBindingRef tableRowRef = this.getTable1 () .getRowData () (oracle.jbo.uicli.binding.JUCtrlValueBindingRef);
What bothers me is that the same code works very well in the bean to another support page (see * 1) and I can't know the difference.
My environment:
I use JDeveloper 11. The application that I am has been upsized a JDeveloper 10 g app, so that the components are for the most part, Trinidad. We had to do a lot of adjustment to get the app to work on 11g. The work page I mentioned above has been made in 10g app (* 1).
Now, I add more things in this app. The application configuration is now EJB session beans and components of Trinidad.
Jspx page, I have a table that was formed for the purpose of the database (NOT of VO). I have a command to bind to a column in this table and I would like to get an Id of the row in the table. The error code line above causes is in the method of the command link.
Please help if you have the slightest idea.
Thank you very much!
Sophie
Published by: user12876081 on January 12, 2011 14:40Hello
the exception indicates that it is
this.getTable1 () .getRowData (); Returns FacesCtrlHierNodeBinding and should be cast to JUCtrlHierNodeBinding
Frank
-
I use Jdev 11.1.2.0.0
I have a StartDate and EndDate attributes that are used to get the date range
My requirement is to show an error if the conditon EndDate > = StartDate is not satisfied
For this I made use of validateDateRange
< af:inputDate value = "#{bindings." StartDate.inputValue}.
label = "#{hcmmexicoreportsuiBundle.start_date} '"
required = "#{bindings." StartDate.hints.mandatory}.
columns = "#{bindings." StartDate.hints.displayWidth}.
shortDesc = "#{bindings." StartDate.hints.tooltip}"id ="id2 ".
partialTriggers = "sbr1 id3.
Disabled = "#{HcmWeeklyInquiryBean.disableDates} '"
autoSubmit = "true" >
< f: validator binding = "#{bindings." StartDate.validator} "/ >"
< af:convertDateTime pattern = "#{bindings." StartDate.format} "/ >"
< / af:inputDate >
< af:inputDate value = "#{bindings." EndDate.inputValue}.
label = "#{hcmmexicoreportsuiBundle.END_DATE} '"
required = "#{bindings." EndDate.hints.mandatory}.
columns = "#{bindings." EndDate.hints.displayWidth}.
shortDesc = "#{bindings." EndDate.hints.tooltip}"id ="id3 ".
partialTriggers = "sbr1 id2.
Disabled = "#{HcmWeeklyInquiryBean.disableDates} '"
autoSubmit = "true" >
< f: validator binding = "#{bindings." EndDate.validator} "/ >"
< af:convertDateTime pattern = "#{bindings." EndDate.format} "/ >"
< minimum af:validateDateTimeRange = ' #{bindings. " StartDate.inputValue}.
messageDetailMinimum = "#{hcmmexicoreportsuiBundle.END_DATE_SHOULD_BE_ON_OR_AFTER}" / >
In the View object:
< ViewAttribute
Name = "StartDate".
IsSelected = "false".
IsPersistent = "false".
PrecisionRule = 'true '.
Type = "Oracle.jbo.domain.date"
ColumnType = "DATE".
AliasName = 'VIEW_ATTR. '
SQLType = 'DATE' >
Properties of <>
< SchemaBasedProperties >
< FMT_FORMATTER
ResId="hl.hcm.rpt.model.view.HcmWeeklyInquiryCriteriaVO.StartDate_FMT_FORMATTER"/ >
< FMT_FORMAT
ResId="hl.hcm.rpt.model.view.HcmWeeklyInquiryCriteriaVO.StartDate_FMT_FORMAT"/ >
< CONTROLTYPE
Value = "date" / >
< / SchemaBasedProperties >
< / properties >
< / ViewAttribute >
< ViewAttribute
Name = "EndDate".
IsSelected = "false".
IsPersistent = "false".
PrecisionRule = 'true '.
Type = "Oracle.jbo.domain.date"
ColumnType = "DATE".
AliasName = 'VIEW_ATTR. '
SQLType = 'DATE' >
Properties of <>
< SchemaBasedProperties >
< FMT_FORMATTER
ResId="hl.hcm.rpt.model.view.HcmWeeklyInquiryCriteriaVO.EndDate_FMT_FORMATTER"/ >
< FMT_FORMAT
ResId="hl.hcm.rpt.model.view.HcmWeeklyInquiryCriteriaVO.EndDate_FMT_FORMAT"/ >
< CONTROLTYPE
Value = "date" / >
< / SchemaBasedProperties >
< / properties >
< / ViewAttribute >
I don't know why this error occurs because the type is not string and Date
Thank you
ASHA
Can u try this?
Thank you
Alisson
-
Java.util.Arraylist
Hi all
I use my own enterprise Java API (they make to apache savings) in my blackberry project. but when I use these classes in my project, his error giving because they use arraylist map etc but here in my project its error, ID do not coz you know there is no card ArrayList etc classes in BB.
How I can use them, or to do a different API for specified BB?
or how to add these classes in my project. coz they use many classes that does not exist in BB.
Thank you
Zahid
There is no way you can use except re-implement all of your API, because Blackberry using JavaME and not JavaEE/SE. But the work will be too big to do.
So you should forget your auto-generated files and develop everything yourself: s
-
No java.util.ArrayList?
I need a sorted table, but I didn't notice any ArrayList in the API documentation. Is it because it is not supported on the device? If so, I've just got to roll my own, perhaps by setting up a list of the interfaces?
Patrick
Try SimpleSortingVector - should work as a replacement.
Maybe you are looking for
-
Airjoue of computer Apple TV movie stops. Can be changed and took over
Hello Movies on iMac sent to Apple TV (Gen 1) via the wifi always stop at a time provided during at least one run. Film can be changed and will resume from the correct point. iMac 27 inch drive Fusion, Apple TV 1st Gen WiFi via Belkin Range Extender.
-
Satellite Pro L510 (PSLGXA-002002) lights at 09:50.
Hello. My Satellite Pro L510 (PSLGXA-002002) on automatically every morning at about 09:50.He does Hibernate, sleep or death. AC or battery, he'll do it on either. I have Windows 7 64 bit and the BIOS update v.1.1. Also Ubuntu is a total failure on t
-
I just bought a HP OfficeJet 8620, who says that he will "Break through with automatic double-sided scanning multipage documents and an automatic document feeder to 50 pages." I can't find a reference to such an operation in the user manual and seem
-
I recently got a laptop (Windows XP) that has wireless when I try to connect to the internet using a lan cable plug on my netbook (win 7 starter) that has wireless it gives me limited connectivity and no internet
-
How can I put something on my sandisk cruzer
I just want to learn to put the thing on my sandisk