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
my 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:08

Published by: adf009 on 25/03/2013 15:10

User 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

Tags: Java

Similar Questions

  • java.lang.ClassCastException:String cannot be cast to java.sql.Date

    I have a date component. MinValue named Id2 and the following code is to run a class cast exception indicating that the string value cannot be cast to a date sql

    java.sql.Date dateNeeded = (java.sql.Date) this.getId2 () .getValue ();

    can someone help me to overcome this problem.

    Thanks and greetings
    Janak

    Published by: new_to_ORACLE on February 18, 2011 16:56

    Published by: new_to_ORACLE on February 18, 2011 16:58

    the Date attribute is of type object oracle.jbo.domain.Date
    so, first try to cast to oracle.jbo.domain.Date. then to java.sql.Date object

    If you need to cast to another Date object, see this site:
    http://www.ecotronics.ch/webdesign/javadate.htm

    Published by: M.Jabr on February 19, 2011 11:53

  • java.lang.String cannot be cast as a java.util.Date when using validateDateRange

    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.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.

  • oracle.jbo.domain.RowID cannot be cast to java.lang.String

    JDeveloper 11.1.1.6

    This error is broadcast in weblogic when I try to create a new detail line in a table

    < Utils > < buildFacesMessage > ADF: addition of the following JSF error: oracle.jbo.domain.RowID cannot be cast to java.lang.String
    java.lang.ClassCastException: oracle.jbo.domain.RowID cannot be cast to java.lang.String
    at model.eoCotizacionDetalleImpl.getTpcio(eoCotizacionDetalleImpl.java:866)
    to model.eoCotizacionDetalleImpl$ AttributesEnum$ 27.get(eoCotizacionDetalleImpl.java:660)
    at model.eoCotizacionDetalleImpl.getAttrInvokeAccessor(eoCotizacionDetalleImpl.java:1254)
    at oracle.jbo.server.EntityImpl.getAttribute(EntityImpl.java:1715)
    at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1815)
    at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1923)
    at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:866)
    at oracle.jbo.server.ViewRowImpl.getKey(ViewRowImpl.java:677)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.updateNavigated(JUCtrlValueBinding.java:291)
    at oracle.jbo.uicli.binding.JUIteratorBinding.navigated(JUIteratorBinding.java:299)
    at oracle.jbo.uicli.binding.JUIteratorBinding.cacheCreatedRow(JUIteratorBinding.java:432)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1420)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
    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.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
    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.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:106)
    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)
    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:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    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:139)
    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)

    < LifecycleImpl > < _handleException > ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase 6 RENDER_RESPONSE
    oracle.jbo.AttrValException: Houston-27019: the get method for attribute "RowID" in eoCotizacionDetalle is not resolved.
    at oracle.jbo.server.EntityImpl.getAttribute(EntityImpl.java:1734)
    at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1815)
    at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1923)
    at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:866)
    at oracle.jbo.server.ViewRowImpl.getKey(ViewRowImpl.java:677)
    at oracle.adf.model.binding.DCIteratorBinding.buildFormToken(DCIteratorBinding.java:4023)
    at oracle.adf.model.binding.DCBindingContainerState.buildStringBuffer(DCBindingContainerState.java:92)
    at oracle.adf.model.binding.DCBindingContainerState.toString(DCBindingContainerState.java:694)
    at oracle.adf.model.binding.DCBindingContainer.getStateToken(DCBindingContainer.java:5031)
    at oracle.adfinternal.controller.application.model.SaveStateTokenListener.afterPhase(SaveStateTokenListener.java:62)
    to oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$ PagePhaseListenerWrapper.afterPhase (ADFLifecycleImpl.java:531)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)
    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.dispatchAfterPagePhaseEvent (ADFPhaseListener.java:131)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:74)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    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.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:106)
    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)
    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:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    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:139)
    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)
    Subsystem = HTTP USERID < WLS Kernel > = SEVERITY = error THREAD = ExecuteThread [ASSET]: '3' for queue: MSGID 'weblogic.kernel.Default (self-adjusting)' = BEA - 101020 MACHINE = TXID CC-INF-02 = the CONTEXTID = d5376a00c2542e48:7e8a3ab0:139ee0ca119:-8000 - 00000000000004be TIMESTAMP = 1348323991041
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >

    OK, where is the issue?
    the error message is quite clear that you cannot get an oracle.jbo.domain.RowID to a string type, which is exactly what the code to model.eoCotizacionDetalleImpl.getTpcio(eoCotizacionDetalleImpl.java:866).
    Check what you're doing here...

    Timo

  • Caused by: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider

    Hi all

    When I deploy my application to start spring on weblogic server 12 c (12.1.3.0.0), the following exception is thrown.

    There is a class cast exception, perhaps jar duplication but in wls-cat I couldn't see my application, so I can't detect the duplication.

    In my application, the following jars are in the web-inf/lib folder:

    validation-api - 1.0.0.GA.jar

    sleep extended validator - 4.3.2.Final.jar

    And in the weblogic wlserver\modules file:

    javax.validation_1.2.0.jar

    Hibernate.validator_1.0.0.0_4 - 1 - 0.jar

    15:09:36.728 [ExecuteThread [pending]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] ERROR o.s.boot.SpringApplication - Application start failed

    org.springframework.beans.factory.BeanCreationException: error creating bean with name 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor': calling the init method failed; nested exception is javax.validation.ValidationException: could not get the resolvers available provider.

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    [to org.springframework.beans.factory.support.AbstractBeanFactory$ 1.getObject(AbstractBeanFactory.java:302) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:199) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:620) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:467) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:120) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.SpringApplication.run(SpringApplication.java:320) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:142) [spring-boot - 1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:89) [spring-boot - 1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:51) [spring-boot - 1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175) [spring-web - 4.0.6.RELEASE.jar:4.0.6.RELEASE]

    at weblogic.servlet.internal.WebAppServletContext.initContainerInitializer(WebAppServletContext.java:1394) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1331) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1317) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1834) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2876) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1661) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:823) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.application.internal.ExtensibleModuleWrapper$ StartStateChange.next (ExtensibleModuleWrapper.java:360) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.application.internal.ExtensibleModuleWrapper$ StartStateChange.next (ExtensibleModuleWrapper.java:356) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:216) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:211) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:73) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:729) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:226) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:418) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:210) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:118) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78) [weblogic.server.merged.jar:12.1.3.0.0]

    at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source) ~ [na: na]

    to sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_71]

    to java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_71]

    at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1017) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:388) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:430) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:606) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:231) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:254) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:413) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98) [weblogic.server.merged.jar:12.1.3.0.0]

    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87) [weblogic.server.merged.jar:12.1.3.0.0]

    to org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$ QueueRunner.oneJob (CurrentTaskFuture.java:1162) [weblogic.server.merged.jar:12.1.3.0.0]

    to org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$ QueueRunner.run (CurrentTaskFuture.java:1147) [weblogic.server.merged.jar:12.1.3.0.0]

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:553) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311) [weblogic.server.merged.jar:12.1.3.0.0]

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263) [weblogic.server.merged.jar:12.1.3.0.0]

    Caused by: javax.validation.ValidationException: could not get the resolvers available provider.

    [to javax.validation.Validation$ GenericBootstrapImpl.configure (Validation.java:259) ~[validation-api-1.0.0.GA.jar:na]

    to org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:223) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    [to org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$ Jsr303ValidatorFactory.run (ConfigurationPropertiesBindingPostProcessor.java:343) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.afterPropertiesSet(ConfigurationPropertiesBindingPostProcessor.java:175) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1613) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]

    ... 77 omitted common images

    Caused by: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider

    [to javax.validation.Validation$ DefaultValidationProviderResolver.getValidationProviders (Validation.java:332) ~[validation-api-1.0.0.GA.jar:na]

    [to javax.validation.Validation$ GenericBootstrapImpl.configure (Validation.java:256) ~[validation-api-1.0.0.GA.jar:na]

    ... 82 omitted common images

    < 26 October 2015 15:09:37 EET > < error > < hats > < BEA-149231 > < cannot create the activation state to true for the application "sincaplive".

    weblogic.application.ModuleException: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider

    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:216)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:211)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider

    to javax.validation.Validation$ DefaultValidationProviderResolver.getValidationProviders (Validation.java:332)

    to javax.validation.Validation$ GenericBootstrapImpl.configure (Validation.java:256)

    at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:223)

    to org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$ Jsr303ValidatorFactory.run (ConfigurationPropertiesBindingPostProcessor.java:343)

    at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.afterPropertiesSet(ConfigurationPropertiesBindingPostProcessor.java:175)

    Truncated. check the log file full stacktrace

    In the meantime I tried to install my file. War on 12.1.2(not 12.1.3) and the error disappeared on this version of weblogic: S

    Thanks for your response

  • java.lang.ClassCastException: weblogic.jdbc.wrapper.PoolConnection_com_mysql_jdbc_JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection

    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:

    Houston 30003: java.lang.ClassCastException: weblogic.jdbc.wrapper.PoolConnection_weblogic_jdbc_sqlserverbase_ddai cannot be cast to oracle.jdbc.OracleConnection b

    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)

    Configuration of SQLBuilder - Dreamix blog

    Oracle ADF business with several databases components

    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.

  • What is the error java.lang.ClassCastException: weblogic.servlet.internal.WebAppServletContext cannot be cast to javax.servlet.http.HttpServletRequest

    Mr President.

    To me the error when I use this code

     HttpServletRequest request = (HttpServletRequest) ctx.getExternalContext().getContext();
    

    The error is

    javax.servlet.ServletException: //C:/Users/TANVIR/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/AshSystems2015/SchoolViewControllerWebApp.war/Login.jsf @13,59 action = "#{loginBean.doLogin}": java.lang.ClassCastException: weblogic.servlet.internal.WebAppServletContext cannot be cast to javax.servlet.http.HttpServletRequest "

    Concerning

    Try the HttpServletRequest = ctx.getExternalContext () .getRequest () (HttpServletRequest) request;

    Thank you

  • Exception when opening the portal "" java.lang.ClassCastException: oracle.mds.core.MetadataObject cannot be cast to oracle.webcenter.framework.view.support.jaxb.DevicesMDMO ""

    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

    Re: java.lang.ClassCastException: oracle.mds.core.MetadataObject cannot be cast to oracle.webcenter.framework.view.support.jaxb.DevicesMDMO

    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.

  • [ADF, JDev12.1.3] Passage of a called taskflow val: "FacesCtrlAttrsBinding cannot be cast java.lang.Long" triggers during the passage (a SetPropertyListener) a bind var. why...?

    Hallo,

    in my page, I have a table based on VO istance.

    I open a workflow in the dialog box when the user clicks a button.

    I spend a whole param through the SetPropertyListener in the button configured this way...

    In the called workflow, I read the param in a bean managed through this code...

    Long protocol = (Long) AdfFacesContext.getCurrentInstance().getPageFlowScope().get("protToOpen");
    
    

    And everything works fine.

    The is problematic if I change the From the SetPropertyListener property set with a bind var....

    ... I have also display in an inputText.

    (runtime)

    (designtime)

    The framework throws this exception...

    oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding cannot be cast in java.lang.Long

    I don't understand why it only works when the From of the SetPropertyListener property is configured with a fixed value, but not when I use the link vars.

    You could you kindly help me find the error?


    Thank you

    Federico

    If your value not be #{bindings.prot.inputValue} instead of #{bindings.prot}?

  • java.lang.ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.faces.bi.model.GeoMapDataModel

    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

    MapBean.pngPageSourceCode.png

    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.

  • createModelEntity module vCAC fail with java.lang.Double cannot be cast in java.lang.Short

    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.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.

  • Cannot convert oracle.jbo.domain.DBSequence to class java.lang.Integer

    Hello

    I have the following problem with my ADF application developed in JDeveloper 12.1.3:

    In my model, there are two entities MeterEO and MeterTypeEO with the following attributes:

    MeterEO

    TenantIdBigDecimalTENANT_IDNUMBER
    MeterCodeStringMETER_CODEVARCHAR2 (48)
    TypeIntegerTYPENUMBER

    MeterTypeEO

    IDDBSequenceIDNUMBER
    Name of the vendorStringNAME OF THE VENDORVARCHAR2 (32)
    TypeStringTYPEVARCHAR2 (16)

    Type of MeterEO reference Id in MeterTypeEO.

    Appropriate VO of the meter uses a MeterTypeVO LOV to create a list containing the provider and Type as well as the user's selection.

    In the ModelTester, everything works well when I try to change a counter, select a new type and validate my changes to the database.

    A JSFF, it looks quite different. Selection is made by SelectOneChoice with the LOV list containing the provider and Type. Of the LOV the appropriate values are selected for the (integer) to the meter, then the user gets a readable text instead a few cryptic. But when I change the value by selecting a new choice I always got the error ' Can' oracle.jbo.domain.DBSequence to class java.lang.Integer.

    Why it works without problems in the Modeltester but not on the page?

    Screenshot 2015-08-31 12.48.55.pngScreenshot 2015-08-31 12.49.09.png

    Please see the attached screenshots to make it clearer what I mean.

    Any hint is appreciated,

    Björn

    I solved my problem now in view objects. Maybe someone who has the same problem and is interested in the solution:

    In MeterTypeVO - which is the source for the LOV - I added a new transitional field called IntId of type Integer that refers to the field Id of type DbSequence by Expression. DbSequence is automatically converted at length which can be also automatically converted in full.

    At the counter, I changed the key of the LOV to IntId instead of code.

    It works like charm.

  • Java.lang.Integer cannot be applied to oracle.jbo.domain.number

    Hi all

    Jdev Version: 11.1.2.3.0

    Platfor: Windows 7

    I'm trying to implement sequences and followed the following ADF essentials to create the same. For some strange reason, I meet, it throws the error of compilation as below.

    [http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ADFInsider_sequence/ADFInsider_sequence.html]

    Steps to follow:

    1. create the DepartmentsEO

    2. has generated the Impl class for departments with accessors and Create method

    I wrote the following lines in the method Impl to create files and get the error like setDepartmentId (java.lang.Integer) in eo model. DepartmentsImpl can not be applied to the (oracle.jbo.domain.number) *

    SequenceImpl Seq = new SequenceImpl("DEPARTMENTS_SEQ",getDBTransaction);
    setDepartmentId (seq.getSequenceNumber ()); *

    Please help me!

    Thank you

    Hello

    What Type of Map you selected when creating components trade?

    Make sure it is Oracle. Looks like you have selected the Type of card Java takes DepartmentId column as Integer.

    It takes so you must import the oracle.jbo.domain.Number class

    setDepartmentId (numeric value)

    Recommendation: Create business components again with card Type Oracle.

Maybe you are looking for

  • a server error occurred. Please "reload" in your browser

    "a server error has occurred. Please "reload" in your browser. Once I reboot error disappears This happens when I open a spreadsheet of google drive.Never happen before, I uninstalled and installed Firefox 22. It will never happen before, I run compu

  • 2 monitors connected again MacBook?

    I run two 27-inch monitors in my office connected to my MBP.  Can I connect these monitors for the new MacBook?   Thank you.

  • Qosmio G30-204 - how to replace the screen?

    Hi people. I have a Qosmio G30-204. The screen to the right corner is not sure as the rest of the 3 corners of the screen.How can I tighten again? Where are the screws on the screen?

  • Satellite A215-S7444 integrated webcam works only with MSN / Skype

    Hi, I just bought my laptop computer and just after installing the new MSN and Skype, the video does not work with these programs. I tried to configure the video settings in MSN and he told me that "windows cannot connect to this webcam. It is curren

  • Problem with links to another Web page when using the Internet

    I can open any website, but when there is another highlight link to another Web page I get an "Error on Page" message down to the left of the screen when I try to access it. When I point out this message, I get the message "no such interface supporte