Exception of null focusManager scroller
Are currently working on a project that needs to take one component & pop out of it is parent of the top-level application. I use a spark textAera. Initially when the textArea component is "not broken out on" the textAera works very well. However, when it is popped and a user focused then in on the text box a null object reference are thrown by the method of class focusInHandler Scroller.
To remove and eject the component code that I use is currently:
IVisualElementContainer (resizeComponent.parent) .removeElement (resizeComponent);
FlexGlobals.topLevelApplication.systemManager.addChild (resizeComponent);
where resizeComponent is the component wants to get out.
Exception occurs when we focus, in Scroller.as:
override the focusInHandler(event:FocusEvent):void function
{
super.focusInHandler (event);
When get us the focus, make sure that the item is visible
If (viewport & & ensureElementIsVisibleForSoftKeyboard)
{
var elt:IVisualElement = focusManager.getFocus (as IVisualElement); object null exception thrown here
lastFocusedElement = elt;
}
}
What I am doing wrong?
Thank you
Kevin
Kevin,
The problem is that your popup does not implement the IFocusManagerContainer interface.
The IFocusManagerContainer implementation allows the system to assign a focus Manager to the pop-up, and this error disappears.
Kind regards
Haim Arazy
Tags: Flex
Similar Questions
-
Exception pointer null when starting on request.
Hello
I have a little problem coming to the after installing my application when I press my the app icon it is said of pointer Null exception that it is the first time that next time it works perfectly well. I don't know why this exception came. After installation I'm holding my application loginscreen. Here I am loading Images. and I found a few images to return null. path is correct and afterthrowing thiswhen I press ok in this exception dialog box, and the next time I try to launch the app it works fine it won't say any exception.
Please someone help me.
Thank you in advance.
An untrapped exception, you will have a stack trace. Click to see the detail.
And please answer my questions.
-
Hi all!
I use Jdeveloper 11.1.1.7 Release 1, and I develop a POC sample to call with the merger application.When I run the application in my local environment on the launch of the page I am confronted with the below exception.
< oracle.security.jps.internal.idstore.util.IdentityStoreUtil > < IdentityStoreUtil > < getIdentityStoreFactory > < JPS-01520 >
< oracle.security.jps.internal.idstore.util.IdentityStoreUtil > < IdentityStoreUtil > < getIdentityStoreFactory > < JPS-01520 >
< oracle.security.jps.internal.idstore.util.IdentityStoreUtil > < IdentityStoreUtil > < getIdentityStoreFactory > < JPS-01520 >
< oracle.security.jps.internal.idstore.util.IdentityStoreUtil > < IdentityStoreUtil > < getIdentityStoreFactory > < JPS-01520 >
< oracle.adf.controller > < Utils > < buildFacesMessage > < ADF: addition of the following JSF error message: oracle.jbo.JboException: storage of identity is null. >
- javax.el.ELException: oracle.jbo.JboException: storage of identity is null.
at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
to oracle.adf.share.el.VariableResolverELContext$ 1.getValue(VariableResolverELContext.java:53)
at com.sun.el.parser.AstValue.getValue (unknown Source)
at com.sun.el.ValueExpressionImpl.getValue (unknown Source)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:150)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:105)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateHandleNull(OracleExpressionEvaluatorImpl.java:86)
at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:777)
at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getConditionalActivationValue(DCTaskFlowBinding.java:979)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:93)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3202)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3193)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:545)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
to oracle.adf.controller.v2.lifecycle.Lifecycle$ 9.execute(Lifecycle.java:224)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$ 400 (ADFPhaseListener.java:34)
to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 5.before(ADFPhaseListener.java:508)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:390)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:249)
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:211)
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:75)
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.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)
Caused by: oracle.jbo.JboException: storage of identity is null.
at oracle.apps.fnd.applcore.pref.model.util.PreferencesUtil.getImpersonateeList(PreferencesUtil.java:832)
at oracle.apps.fnd.applcore.patterns.uishell.ui.bean.GlobalAreaBackingBean.isImpersonateeListAvailable(GlobalAreaBackingBean.java:1650)
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 javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
... more than 68
< oracle.adf.controller > < Utils > < buildFacesMessage > < ADF: addition of the following JSF error: storage of identity is null. >
- oracle.jbo.JboException: storage of identity is null.
at oracle.apps.fnd.applcore.pref.model.util.PreferencesUtil.getImpersonateeList(PreferencesUtil.java:832)
at oracle.apps.fnd.applcore.patterns.uishell.ui.bean.GlobalAreaBackingBean.isImpersonateeListAvailable(GlobalAreaBackingBean.java:1650)
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 javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
to oracle.adf.share.el.VariableResolverELContext$ 1.getValue(VariableResolverELContext.java:53)
at com.sun.el.parser.AstValue.getValue (unknown Source)
at com.sun.el.ValueExpressionImpl.getValue (unknown Source)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:150)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:105)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateHandleNull(OracleExpressionEvaluatorImpl.java:86)
at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:777)
at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getConditionalActivationValue(DCTaskFlowBinding.java:979)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:93)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3202)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3193)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:545)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
to oracle.adf.controller.v2.lifecycle.Lifecycle$ 9.execute(Lifecycle.java:224)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$ 400 (ADFPhaseListener.java:34)
to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 5.before(ADFPhaseListener.java:508)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:390)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:249)
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:211)
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:75)
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.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)
< oracle.adf.controller > < Utils > < buildFacesMessage > < ADF: addition of the following JSF error message: oracle.jbo.JboException: storage of identity is null. >
- javax.el.ELException: oracle.jbo.JboException: storage of identity is null.
at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
to oracle.adf.share.el.VariableResolverELContext$ 1.getValue(VariableResolverELContext.java:53)
at com.sun.el.parser.AstValue.getValue (unknown Source)
at com.sun.el.ValueExpressionImpl.getValue (unknown Source)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:150)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:105)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateHandleNull(OracleExpressionEvaluatorImpl.java:86)
at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:777)
at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getConditionalActivationValue(DCTaskFlowBinding.java:979)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:93)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3202)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3193)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:545)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
to oracle.adf.controller.v2.lifecycle.Lifecycle$ 9.execute(Lifecycle.java:224)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$ 400 (ADFPhaseListener.java:34)
to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 5.before(ADFPhaseListener.java:508)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:390)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:249)
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:211)
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:75)
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.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)
Caused by: oracle.jbo.JboException: storage of identity is null.
at oracle.apps.fnd.applcore.pref.model.util.PreferencesUtil.getImpersonateeList(PreferencesUtil.java:832)
at oracle.apps.fnd.applcore.patterns.uishell.ui.bean.GlobalAreaBackingBean.isImpersonateeListAvailable(GlobalAreaBackingBean.java:1650)
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 javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
... more than 68
Any kind of index will be appreciated...
Kind regards
Miko Auntie
Thanks Timo, for your quick reply.
I found the root cause of this problems. I develop page that contains the table of adf coming from static ViewObject, for this I chose connection with merger Applications DB schema and it is a part of the evolution of the merger application, I must add Application Core and Core Application (model Attachmenet) pots in the model project. After the addition of these jars, the problem is resolved.
Thank you best regards &,.
Miko Auntie
-
Hi all
Could you please help me how to fix Null pointer exception. In this sub XXAdminVO return null, it's going to null pointer exception.
HVO OAViewObject = (OAViewObject) oaapplicationmodule.findViewObject ("ProjectClassificationsVO");
OAViewObject avo = (OAViewObject) oaapplicationmodule.findViewObject ("XXAdminVO");
Announcement of the string = hvo.getCurrentRow ().getAttribute("ObjectId").toString ();
avo.setWhereClauseParam(0,ad);
avo.executeQuery ();
Line xxnhsVORow = avo.first ();
Kind regards
Maha
Hello
He solved the problem.
HVO OAViewObject = (OAViewObject) oaapplicationmodule.findViewObject ("ProjectClassificationsVO");
OAViewObject avo = (OAViewObject) oaapplicationmodule.findViewObject ("XXAdminVO");
If (avo! = null)
{
System.out.println ("...");
} else
{
AVO = (OAViewObject) oaapplicationmodule.createViewObject ("XXAdminVO", "mpmkvvcl.oracle.apps.xxmpcd.XXAssignPlan.server.XXAdminVO");
}
If (HVO. GetCurrentRow(). GetAttribute ("ObjectId")! = null)
{
Announcement of the string = hvo.getCurrentRow ().getAttribute("ObjectId").toString ();
avo.setWhereClauseParam(0,ad);
avo.executeQuery ();
Line xxnhsVORow = avo.first ();
If (xxnhsVORow! = null)
{
String value = avo.getCurrentRow ().getAttribute("ClassCategory").toString ();
If (value! = null)
throw new OAException ("approval of MPMKVVCL did" + value (byte) 0);
}
}
Kind regards
Maha
-
Exception pointer null when locking areas
DM, version 4.0.2.840
I tried to find a way to lock the domain files. So I chose the areas directory in the browser and press team > Lock. This gives a null pointer exception:
java.lang.NullPointerException
at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:281)
at oracle.jdeveloper.vcs.spi.VCSController.invokeCommand(VCSController.java:205)
at oracle.jdeveloper.vcs.spi.VCSController.handleEventImpl(VCSController.java:160)
to oracle.jdeveloper.vcs.spi.VCSController$ 1.run(VCSController.java:87)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at $200 (EventQueue.java:103) java.awt.EventQueue.access
in java.awt.EventQueue$ 3.run(EventQueue.java:694)
in java.awt.EventQueue$ 3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
How is it planned to lock a file of domain?
Best regards
Joop
Hello Philippe,
It works in version 4.0.3.
18901557 - no support for lock on domains when using svn
Thank you
Joop
-
Exception of null pointer in sending email to a user.
Hello
I get this error when trying to send an E-mail when a user gets registered for the first time.
12:08:34, 289 DEBUG INFO [ProfileFormHandler] createUser: user created; Item = user: 4040002
12:08:34, 290 setRepositoryId (4040002) DEBUG INFO [ProfileFormHandler]
12:08:34, 290 INFO [ProfileFormHandler] DEBUG affecting Profile.dataSource user: 4040002
12:08:34, 294 DEBUG INFO [ProfileFormHandler] adding uncontrolled form exception: java.lang.NullPointerException
12:08:34, 294 DEBUG INFO [ProfileFormHandler] origin of exception (if any): null
12:08:34, ERROR 294 [[jsp]] Servlet.service () for servlet jsp threw exception
java.lang.NullPointerException
at atg.userprofiling.ProfileTools.sendEmailToUser(ProfileTools.java:2782)
at Customer.CustomerProfileFormHandler.postCreateUser (CustomerProfileFormHandler.java:84)
at atg.userprofiling.ProfileForm.handleCreate(ProfileForm.java:1115)
at atg.userprofiling.ProfileFormHandler.handleCreate(ProfileFormHandler.java:380)
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 atg.droplet.EventSender.sendEvent(EventSender.java:582)
at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
at atg.droplet.FormTag.sendEvents(FormTag.java:649)
at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:655)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2425)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:139)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:208)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:437)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:280)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:554)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:212)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:348)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1174)
at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:857)
at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:250)
at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:263)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$ Http11ConnectionHandler.process (Http11Protocol.java:598)
to org.apache.tomcat.util.net.JIoEndpoint$ Worker.run (JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)
My CustomerProfileFormHandler extends ProfileFormHandler of like: -.
SerializableAttribute public class CustomerProfileFormHandler extends ProfileFormHandler {}
Private TemplateEmailInfoImpl templateEmailInfoImpl;
Private TemplateEmailSender templateEmailSender;
Setters and Getters for above variables
protected void postCreateUser (request, response DynamoHttpServletResponse DynamoHttpServletRequest)
{
Map params = new HashMap();
params.put ("testParam", "testValue");
try {}
getProfileTools () .sendEmailToUser ((MutableRepositoryItem) getProfileItem (), false, false, getTemplateEmailSender (), getTemplateEmailInfoImpl (), params); -> //Getting null Pointer Exception
} catch (TemplateEmailException ex) {}
System.out.println ("ERROR:-" + ex.toString ());
If (isLoggingError ())
logError (ex);
}
Help, please...
My first observation is that instead use the TemplateEmailInfoImpl class, it is preferable to use the declaration as a class TemaplteEmailInfo and corresponding getter/Setter of implementing concrete.
Ensure that you have a properly initialized in your CustomProfileFormHandler TemplateInfo object. In the file properties formhandler make sure templateEmailInfo points to DefaultTemplateEmailInfo or your custom instance of DefaultTemplateEmailInfo as:
templateEmailInfo = / atg, userprofiling, email, DefaultTemplateEmailInfo
or
templateEmailInfo = / atg, userprofiling, email, MyTemplateEmailInfo
MyTemplateEmailInfo.properties can have your configurations customized for DefaultTemplateEmailInfo properties:
$class=atg.userprofiling.email.TemplateEmailInfoImpl # Default mailing name for Emails mailingName=My Website Mailing # Default Subject field messageSubject^=/atg/dynamo/service/SMTPEmail.defaultSubject # Default From and other fields messageFrom^=/atg/dynamo/service/SMTPEmail.defaultFrom #messageCc^=/atg/dynamo/service/SMTPEmail.defaultCc #messageBcc^=/atg/dynamo/service/SMTPEmail.defaultBcc # MessageContentProcessor responsible for processing the content contentProcessor=/atg/userprofiling/email/HtmlContentProcessor # The rest of the fields will be specified in the template fillFromTemplate=true
It will be useful.
-
Exception of null pointer so that he was trying to get the view inside the AM object
Hi all
I use jdev 11.1.2.2
I try to create the session of the application
but the view object is thrown null pointer exception even if the view object is available within the impl classprotected void prepareSession(Session session) { LOGGER.log(ADFLogger.TRACE, "Preparing the user session..."); super.prepareSession(session); String emailId = ADFContext.getCurrent().getSecurityContext().getUserName(); LOGGER.log(ADFLogger.TRACE, "Setting the user-context - app_user_lang on the database...");*/ ViewObjectImpl UserAuthentionEVO = this.getUserAuthenticationEVO(); UserAuthentionEVO.setNamedWhereClauseParam("The_EmailId", emailId);//Throws null pointer exception UserAuthentionEVO.executeQuery(); Row row= UserAuthentionEVO.first(); if (row != null) { getSession().getUserData().put("USER_ID", row.getAttribute("UserId")); getSession().getUserData().put("ROLE_ID" , row.getAttribute("RoleId")); }
this.getUserAuthenticationEVO () returns nullpublic ViewObjectImpl getUserAuthenticationEVO() { return (ViewObjectImpl)findViewObject("UserAuthenticationEVO"); }
Why is what is throwing the error?
No idea why its pointing to null?
Thanks in advance,
Rakesh
Published by: Rakesh on July 4, 2012 07:22Because of the hierarachy?
Your test case shows apparently so.
What I am doing wrong?
I wouldn't say that you're doing something wrong, just that ADF BC apparently does not support your use case. Use straight JDBC (even to call a stored procedure if you want to instead of using the SELECT statement) and problem solved.
John
-
Exception of null on the list pointer implementing values when there are n rows in the table
Hi Experts,
I use JDev 11.1.1.7.
I have a VO that I defined a LOV with no search box. In my page, I've added it as af:inputListOfValues, but when there is no rows in the table that I will meet with NPES
< AdfcExceptionHandler > < handleException > ADFc: when Manager application exception exception handling threw a new exception.
java.lang.NullPointerException
at oracle.jbo.uicli.binding.JUCtrlListBinding.findOrCreateLOVDialogIteratorBinding(JUCtrlListBinding.java:5188)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding.getSearchBinding(FacesCtrlLOVBinding.java:204)
to oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$ ListOfValuesModelImpl.getSearchRegion (FacesCtrlLOVBinding.java:2001)
to oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$ ListOfValuesModelImpl.getQueryModel (FacesCtrlLOVBinding.java:1612)
to oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase$ InternalLaunchPopupListener.processLaunch (SimpleInputListOfValuesRendererBase.java:1560)
at oracle.adf.view.rich.event.LaunchPopupEvent.processListener(LaunchPopupEvent.java:108)
Excerpt from JSFF:
< af:inputListOfValues id = "xxx" popupTitle = "" search and select: XXX ""
simple value = "#{pageFlowScope.SearchBean.xxx}" = 'true' "
model = ' #{bindings. " XXXLOV.listOfValuesModel} "columns ="30"
searchDesc = "Select XXX" >
< / af:inputListOfValues >
PageDef:
< listOfValues StaticList = 'false' use = "LOV_XXX".
IterBinding = "XXXIterator".
ID = "XXXLOV" / >
Is - this bug?
Surprisingly, it works very well if there are lines in the table that the VO is querying.
-Soham
Soham,
I think you just create this LOV page by simply moving the VO, right?
You can select the box to tick 'Include no. Selection' in your VO, and see if that helps?
See you soon
AJ
-
Exception pointer null in partial-page rendering
My requirement is:
When I pressed the button update, he's going to next page
In the view attributes are Lookuptype messagetextinput,
LookupCode messagetextinput,
Sense, messagetextinput Description,
Active flag Checkbox.
My requirement is therefore to change LookupType, LookupCode fields are read only formats
IN CO
super.processRequest (pageContext, webBean);
String LookupCode = pageContext.getParameter ("LookupCodeColumn");
String lookupEvent = pageContext.getParameter ("lookupEvent");
System.out.println ("lookupEvent-" + lookupEvent);
System.out.println ("LookupCode-" + LookupCode);
OAApplicationModule am = pageContext.getApplicationModule (webBean);
If (lookupEvent.equalsIgnoreCase ("Update"): lookupEvent.equalsIgnoreCase ("duplicate"))
{
[Serializable] params = {LookupCode};
am.invokeMethod ("initData", params);
If (lookupEvent.equalsIgnoreCase ("Update"))
{
am.invokeMethod ("init"); / / error here optains
}
on the other
{
[Serializable] paramValue = {LookupCode};
am.invokeMethod ("initFile", paramValue);
}
}
on the other
{
[Serializable] params = {'-1'};
am.invokeMethod ("insertRecord", params);
}
It's in the AM*.
Public Sub handlePositionChangeEvent()
{
OAViewObject vo = (OAViewObject) findViewObject ("EISRSCLookupsPVO1");
OARow row = (OARow) vo.first ();
OAViewObject empvo = (OAViewObject) findViewObject ("EISRSCLookupsVO1");
OARow emprow = (OARow) empvo.getCurrentRow ();
String LookupCode = (String) emprow.getAttribute ("LookupCode"); Here error optains
If ((LookupCode==null) |) ("LookupCode".equals (LookupCode)))
{
row.setAttribute ("LookupCodeRender", Boolean.FALSE);
}
on the other
{
row.setAttribute ("LookupCodeRender", Boolean.TRUE);
}
}
public void init()
{
OAViewObject appPropsvo = (OAViewObject) findViewObject ("EISRSCLookupsPVO1");
if(appPropsvo!=null)
{
If (appPropsvo.getFetchedRowCount () == 0)
{
appPropsvo.setMaxFetchSize (0);
appPropsvo.executeQuery ();
appPropsvo.insertRow (appPropsvo.createRow ());
OARow row = (OARow) appPropsvo.first ();
row.setAttribute ("RowKey", new Number (1));
handlePositionChangeEvent();
}
}
}
Here are the details of the error:
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:763)
at eis.oracle.apps.xxeis.central.admin.Lookups.webui.EISRSCLookupsCreateCO.processRequest(EISRSCLookupsCreateCO.java:45)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
in OA. jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
in OA. jspService(OA.jsp:45)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
# # 0 in detail
java.lang.NullPointerException
at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.handlePositionChangeEvent(EISRSCLookupsAMImpl.java:134)
at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.init(EISRSCLookupsAMImpl.java:156)
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:324)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:763)
at eis.oracle.apps.xxeis.central.admin.Lookups.webui.EISRSCLookupsCreateCO.processRequest(EISRSCLookupsCreateCO.java:45)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
in OA. jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
in OA. jspService(OA.jsp:45)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.handlePositionChangeEvent(EISRSCLookupsAMImpl.java:134)
at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.init(EISRSCLookupsAMImpl.java:156)
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:324)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:763)
at eis.oracle.apps.xxeis.central.admin.Lookups.webui.EISRSCLookupsCreateCO.processRequest(EISRSCLookupsCreateCO.java:45)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
in OA. jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
in OA. jspService(OA.jsp:45)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
Please someone give a quick fix of its very urgent
Thanks and greetings
Aurelia ReddyHello
>
OAViewObject empvo = (OAViewObject) findViewObject ("EISRSCLookupsVO1");
OARow emprow = (OARow) empvo.getCurrentRow ();
String LookupCode = (String) emprow.getAttribute ("LookupCode"); Here error optainsemprow is null. OARow emprow = (OARow) empvo.getCurrentRow () is a failure. You run the query pertaining to this VO. How many lines you have. If you have a single row. then try this code.
OAViewObject empvo = (OAViewObject) findViewObject ("EISRSCLookupsVO1")
empvo. Reset();
OARow emprow = (OARow) empvo.next ();
String LookupCode = (String) emprow.getAttribute ("LookupCode"); Here error optainsHTH,
Syed. -
Exception System.Null reference:
I get this error message all day. It is interrupting my work and I need to fix this problem. Can someone tell me what this means and what I have to do to fix it?
System.NullReferenceException: Object Reference not set to an instance of an object.
at CameraApplicationLaunchPadExe.RegistryMonitor.TimerTick (Object source, ElapsedEventArgs e)
At your service COMPUTER to communicate with the author of CameraApplicationLaunchPadExe. It's a bug in the program.
Given this file name is not common, it can be an internal software created by the service of your software.If your IT do not know who is the author, search on your hard drive for the file name, then check its properties. There is usually an editor there. -
Survey NULL exception dialog box
function promptEditSave(){ try { blackberry.ui.dialog.standardAskAsync("Continue without saving?", blackberry.ui.dialog.D_SAVE, editSavePromptCallBack(), {title : "Save changes?", size: blackberry.ui.dialog.SIZE_MEDIUM, position : blackberry.ui.dialog.CENTER}); }catch (e) { alert("Exception in: " + e); } }
For some reason every time I call promptEditSave(); I get this error try/catch: "Exception in: null"
Now ripple is not throwing any errors, but when testing on a device of 9700 OS6 error is thrown...
What I'm doing wrong?
Hi, the only thing that seems to stand out for me is where you set your reminder. Can you remove the "()" and make it look like this:
... ("Continue without saving?", blackberry.ui.dialog.D_SAVE, editSavePromptCallBack, {title : "Save changes?" ...
-
Carousel Spin null pointer exception
Hi guys, my problem is with a master / detail ADF project (master detail and carousel table) gives me except for null pointer everytime I turn the carousel beyond 20 or 30 lines, the error is generated on the "Carousel spin listener" which is supposed to synchronize the secondary table with master carousel.
And just to give you a little history about the error, we wanted to set up a master / detail of features on the carousel, so I followed Frank Nimphius example
http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/009-carousel-master-detail-169128.PDF
on the substitution of the carouselSpinListener to set the node carousel in the binding of the ADF and is where the error is generated, then the code that generates the error is extracted from this example.
Do you have someone has encountered the same problem and found a solution?
JDeveloper 11.1.1.3
Any help would be appreciated, thanks,
Alain.
ERROR STACK:
< RegistrationConfigurator > < handleError > server during the PPR Exception, #5
javax.el.ELException: java.lang.NullPointerException
at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1303)
at oracle.adf.view.rich.component.rich.data.RichCarousel.broadcast(RichCarousel.java:188)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
at oracle.adf.view.rich.component.rich.data.RichCarousel.broadcast(RichCarousel.java:190)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
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:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
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:94)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
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.doIt (WebAppServletContext.java:3684)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NullPointerException
to the view. Untitled2.carouselSpin (Untitled2.Java:27)
at sun.reflect.GeneratedMethodAccessor212.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
... more than 44
Published by: Alain J. on 21-Sep-2010 13:22Hello
the iterator that fills the spinner, set the size of the beach-1 and see if that fixes the problem
Frank
-
VO of AM null pointer exception
Hello
The problem I encounter is that I will carry out a vo from inside the am and I need to change the query of the vo "ResourceCalendarInformation". Then I changed the vo (addded another column) and I was getting an exception pointer null column on the next line:
temp.getAttribute (7) m:System.NET.SocketAddress.ToString)
and that's because the original version is not updated to have the extra column. So I removed the VO of the AM and removed the VO, I then recreated the original Version with the same name so that I don't have to change my code. I still have the column not found error. So I printed out the query on the console.
System.out.println (getCurrentShift (). GetQuery());
and it was printing on the original request, so I checked the original sql statement in the application browser and is not the same as the new query in the newley created vo, it is the same as the original.
So, I then tried to create a vo with a different name; the new vo is called 'CurrentShift '. Now, I get an exception pointer null on the next line:
System.out.println (getCurrentShift (). GetQuery());
The 'CurrentShift' is definitely in the am and the 'getCurrentShift()' method is also in the am.
I'm running out of ideas of how to solve this problem.
Any help will be greatly appreciated. I use JDevelpor 10.1.3
Thank you
Steveright-click am and am open by click or double click. Now, check the source.
-
Exception of pinter null in createCallableStatement
Hi all
Can you give me idea how can we solve exception of Null pointer to createCallableStatement like the code below.
Exaplanation:
I try to call the procedure of database backup class java bean by a listener to press single button action.
He worked this other statement and works very well in doDML (operation int, e TransactionEvent). But whan I want to play createCallableStatement manually, it shows "Null pinter exception! Please help me.
Please please give an idea what I have to do in this situation, I can't guss maybe it happens for the criteria of the connection.try{ st=getDBTransaction().createCallableStatement(stmt,0); } catch(Exception e){ System.out.println(e.toString()); }
Here are all the source
Backing Bean / java class
Action listenerpublic class assmst extends EntityImpl { public assmst() { } private BindingContainer bindings; public static int VARCHAR2 = Types.VARCHAR; public BindingContainer getBindings() { if (this.bindings == null) { FacesContext fc = FacesContext.getCurrentInstance(); this.bindings = (BindingContainer)fc.getApplication().evaluateExpressionGet(fc, "#{bindings}", BindingContainer.class); } return this.bindings; } public void metDepShedProcess(javax.faces.event.ActionEvent actionEvent) { // Add event code here... AttributeBinding DepAssetLifeBinding = (AttributeBinding)getBindings().getControlBinding("AssetLife"); Number vAssetLife = (Number)DepAssetLifeBinding.getInputValue(); AttributeBinding NetCostBinding = (AttributeBinding)getBindings().getControlBinding("NetCost"); Number vNetCost = (Number)NetCostBinding.getInputValue(); AttributeBinding SalvageAmtBinding = (AttributeBinding)getBindings().getControlBinding("SalvageAmt"); Number vSalvageAmt = (Number)SalvageAmtBinding.getInputValue(); AttributeBinding DepStartDateBinding = (AttributeBinding)getBindings().getControlBinding("DepStartDate"); Date vDepStartDate = (Date)DepStartDateBinding.getInputValue(); AttributeBinding LastDepValBinding = (AttributeBinding)getBindings().getControlBinding("LastDepVal"); Number vLastDepVal = (Number)LastDepValBinding.getInputValue(); AttributeBinding AssetNoBinding = (AttributeBinding)getBindings().getControlBinding("AssetNo"); String vAssetNo = (String)AssetNoBinding.getInputValue(); AttributeBinding DepPercentageBinding = (AttributeBinding)getBindings().getControlBinding("DepPercentage"); Number vDepPercentage = (Number)DepPercentageBinding.getInputValue(); String stmt = "begin p_depschedule (?,?,?,?,?,?,?,?,?,?); end;"; CallableStatement st=null; try{ System.out.println(getDBTransaction().isConnected()); st=getDBTransaction().createCallableStatement(stmt,0); } catch(Exception e){ System.out.println(e.toString()); } try{ //register the out parameter // st.registerOutParameter(5,VARCHAR2); //set the IN parameter value st.setObject(1,vAssetLife); st.setObject(2,vNetCost); st.setObject(3,vSalvageAmt); st.setObject(4,vDepPercentage); st.setObject(5,"S"); //vDepMethod st.setObject(6,vDepStartDate); st.setObject(7,vAssetNo); st.setObject(8,"Q"); //vDepPeriod st.setObject(9,""); st.setObject(10,"1"); }catch(Exception e){ System.out.println(e.toString());return; } //set company no which should be rmoved by assigned global/public variable try{ //Execute that statement st.executeUpdate(); // System.out.println("Sucess."); ClsConfirmBean objmsgbox=new ClsConfirmBean(); objmsgbox.addFacesInformationMessage("Process completed Successfully!!"); }catch(Exception e){ System.out.println("--------------------------."); } }
Thank you.<af:commandButton text="Process!" partialSubmit="true" actionListener="#{Beanassmst.metDepShedProcess}"/>
Zed
====
Published by: Zakir Hossain on April 24, 2009 20:22Zed,
Write a custom method in your Application Module Java application class. Good reading of the Guide to the developer of the Fusion to see how to do this - method, would you be able to call getDBTransaction().
You could then drag - move the method you just write data control palette to your page and drop it in the form of button. Then, when you click the button, your AM method would be called.
It is in any case the general essential.
A few rules to remember (based on the principle of the separation of concerns of MVC):
(1) database code belongs to the model layer, never in the view layer.
(2) never EntityImpl of access outside the model layer.
(3) do not in the view layer classes extend classes BC (as you did in your example).
(4) do not refer to the layer of the view of your model layer.Best,
John
-
Programming list scrolling does not
For some very odd reason, I am unable to programmaticaly scroll my list. With the exception of the simple scroll() method which takes an offset of pixels, no other methods of scrolling the no matter what.
In addition, ScrollPosition and ScrollAnimation who hold constants, are apparently not available for my use. When I ctrl + space to see tips, suggestions are only ScrollMode and ScrollIndicatorMode.
http://developer.BlackBerry.com/Cascades/reference/bb__cascades__scrollposition.html
ActionItem { title: "To Top" ActionBar.placement: ActionBarPlacement.InOverflow imageSource: "asset:///images/ic_to_top.png" onTriggered: { messagesList.scrollToItem(1); } }, ActionItem { title: "To Bottom" ActionBar.placement: ActionBarPlacement.InOverflow imageSource: "asset:///images/ic_to_bottom.png" onTriggered: { messagesList.scrollToItem(messagesList.dataModel.childCount()); } },
Given that I could not access to the constants for the scrollToPosition() method, I tried to use the scrollToItem() that scrolls to a supplied index number. It does absolutely nothing.
Please, any help suggestions is welcome and appreciated.
Thank you!
Hello
scrollToItem expects a row which is a table consisting of section number JavaScript and article. The indexes are zero-based. Try:messagesList.scrollToItem([1]) / / second item
or
messagesList.scrollToItem ([0, 1]); first section, second item
I'm not sure that it will work.childCount returns a number of child elements in the section and uses an argument. For ArrayDataModel or GroupDataModel use the size() function. Valid range of items is 0.size () - 1.
Maybe you are looking for
-
I used to be able to open links, but it has suddenly stopped working.
-
Install Windows 7 and officejet J4550
I have a new computer that is running Windows 7. I can't install my Officejet J4550. The error message indicates that it is not compatible with the operating system. What should I do to fix this?
-
Access to Motorola RF controller via Cisco ACS
Hi all I want to be able to use authentication on our Motorola RF using Cisco ACS 5.2 controllers remotely. We have the responsible ASB and you can choose different user roles outside of "Super User". The reason is that the ID attribute for the role
-
Got PS 13 and 14. > > In guided edit the template given the app words in PS 13 and PS14 puzzel. > > Why?
-
Copy-paste text Hindi of MS word in Indesign CS6