Cannot call the multiply() on null object

Hello

when im trying to follow the tutorial of rich Web Applications with Oracle ADF development in this link http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_3.html
and in part (to add to your Page CRUD operation components) by pressing the CreateInsert I got the error message cannot invoke method on a null object multiply(),.

newspapers such as below

< Utils > < buildFacesMessage > ADF: adding the following JSF error: can't call method multiply() on null object
java.lang.NullPointerException: cannot call the multiply() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:750)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:727)
at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:17)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at bc4j_model_EmpDetails_AnnualSalary_null_gs.run(bc4j_model_EmpDetails_AnnualSalary_null_gs.groovy:1)
at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1200)
at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1253)
at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1075)
at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2131)
at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1827)
at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1962)
at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:824)
at oracle.jbo.server.ViewRowImpl.getAttrInvokeAccessor(ViewRowImpl.java:906)
at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:854)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1213)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:764)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValueInRow(JUCtrlValueBinding.java:3004)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2852)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2841)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getInputValue(FacesCtrlAttrsBinding.java:183)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2416)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:275)
at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at com.sun.el.parser.AstValue.getValue (unknown Source)
at com.sun.el.ValueExpressionImpl.getValue (unknown Source)
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:184)
at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderContentStyleAttributes(SimpleInputBaseRenderer.java:512)
at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderNonElementContent(SimpleInputBaseRenderer.java:397)
at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsNonElement(FormInputRenderer.java:300)
at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:160)
at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1700)
at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:228)
at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.renderFieldCell(LabelLayoutRenderer.java:528)
at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:305)
at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:215)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1088)
in oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$ 100 (PanelFormLayoutRenderer.java:50)
to oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$ FormColumnEncoder.processComponent (PanelFormLayoutRenderer.java:1604)
to oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$ FormColumnEncoder.processComponent (PanelFormLayoutRenderer.java:1523)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:420)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:208)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:447)
to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$ 1500 (PanelGroupLayoutRenderer.java:30)
to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$ EncoderCallback.processComponent (PanelGroupLayoutRenderer.java:734)
to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$ EncoderCallback.processComponent (PanelGroupLayoutRenderer.java:637)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:360)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:440)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:704)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:380)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:440)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:704)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:380)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:879)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1294)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:351)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:316)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1277)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655)
at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)
to org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ ChangeApplyingVDLWrapper.renderView (ViewDeclarationLanguageFactoryImpl.java:350)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1027)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
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:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
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:111)
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:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
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:136)
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)
< Utils > < buildFacesMessage > ADF: adding the following JSF error: can't call method multiply() on null object

any help please?

Hello

your entity or vo can have an attribute that has an expression that miltiplies two operands on which one operand is attribute and other can be attribute or number as

Attr * 2

or

Attr1 * Attr2

In you need to handle a null as a condition

(Attr1 == null ? 0 : Attr1) * (Attr2 == null ? 0 : Attr2)

Hope this helps!

Kind regards

Tags: Java

Similar Questions

  • My computer is dead, had to get the new computer. Installed PS CS2 and tried to activate it. Cannot call the online help desk, they sent me to you to activate my software. I have the serial number and the last activation number. T

    My computer is dead, had to get the new computer. Installed PS CS2 and tried to activate it. Cannot call the online help desk, they sent me to you to activate my software. I have the serial number and the last activation number. Thank you. Or to intervene in the forum.



    [address removed by email.. mod]


    Hi carlkent,

    Your serial for Photoshop CS2 key would not work as the activation for CS2 servers were closed.

    You must visit this link to download the version CS2 and use the key to series mentioned in this link: https://helpx.adobe.com/creative-suite/kb/cs2-product-downloads.html

  • The 193 Win32 API error. Cannot call the C function: private_load_AgCoreTest

    Hi guys,.

    When I try to run Lightroom, I get the following error messages:

    • Win 32 API error 193 ("(erreur inconnue)" ") when you call: load the getCFunction library
    • Cannot call the C function: private_load_AgCoreTest

    So I can't access my library or to make a new library by importing files.

    I run it on a laptop with Windows 10 64-bit, Nvidia GeForce 850 m GTX and a processor Intel Core i7 with 12 GB of RAM and a 500 GB SSD (Samsung 840 EVO). All with the latest drivers.

    I tried already to unninstall and reinstall the program, all my packages of Visual C++ and the dll. I also already checked my permissions for the folder from catalog and granted full access. I also tried to run Lightroom as administrator.

    None of these solved the problem.

    What should I do?

    According to the notes, they followed the instructions here to fix the problem: error: "unable to start correctly (0Xc000007b)"

  • Cannot call the Jabber Client customer Movi

    Hi team,

    We cannot call Jabber Client customer Movi using client SIP URI of Movi.

    Here is the photo of the back-end infrastructure: -.

    CUCM: 8.6.2

    VCS: X7.2

    TMS: 13.2.1

    CUPS: N/A

    The Jabber Clients are sized CUCM and CUPS. MOVI Clients are provisioned on the TMS and VCS.

    I've referred a case of TAC and TAC engineer informed that dialing SIP URI is not supported Jabber client on CUCM 8.6.2 Movi

    Could someone provide me with the Bug ID or valid document that says. ?

    Thank you

    Saurabh

    Slim,

    I'll send you the link Monday

    Thnx

    Alok

  • Cannot call the webservice exposed - R12.2.4 E-Business standard

    Hello team, we are trying to call the switchboard webserivce exposed: Ebiz R12.2.4 we are able to obtain the WSDL of it. But the XSD that is mentioned in the WSDL document is not generated, whereby we cannot invoke this webservice SOA BPEL. Please, anyone can highlight what Miss them us. Reg Sridhar

    was able to see: xsd after the deployment of the standard interface.

  • Control the transparency of null objects

    Is it possible to control the transparency with a null object. I know that you can scale, rotate etc but I have no luck with transparency. Is there a work around?

    You can whisk the attribute of the opacity of the layer you want to order to the opacity of the null value attr.

    (1) select the layer draw and the layer that you want to control and press T to expose the attributes of opacity.

    (2) alt + click on the stopwatch for the opacity of the layer you want to be a slave (the opacity value should turn red & the expression will prove controls)

    (3) click on + drag the spiral to the attribute of opacity of the null value.  (in the layers slave expression field you should see something like "thisComp.layer("Null_1").transform.opacity")

    4) click on the layer to exit the field of expression.

    (5) If you want to disconnect alt click on the stopwatch for opacity of layers slave again.

  • Cannot call the functions from Javascript using ExternalInterface

    Hi all, I use external Interface to call Javascript in an HTML document with an embedded flash object, but I can't call functions in the flash JavaScript object.

    JavaScript:
    function call_actionscript {}
    If (document.getElementById ('flashObj')) {}
    Alert ('object flash found.');
    document.getElementById('flash2').test_from_javascript ();
    }
    }


    ActionScript:

    package {}
    import flash.display.MovieClip;
    to import flash.external.ExternalInterface;
    import flash.events.Event;

    SerializableAttribute public class extends MovieClip {} FlashObj
    public void FlashObj() {}
    ExternalInterface.addCallback("IsStatic",IsStatic) ('test_from_javascript', test_from_javascript)
    }

    public void test_from_javascript(e:Event):void {}
    ExternalInterface.call("saveglobalscore",score) ("alert", "javascript test received in actionscript!")
    }
    }
    }

    Call the "call_actionscript()" javascript function produces no result. Call Test_from_javascript() manually to code Actionscript product alert "javascript test has received in actionscript!" without problem. So the ExternalInterface.call("saveglobalscore",score) method works fine, but the the ExternalInterface.addCallback("IsStatic",IsStatic) doesn't seem to work at all. What I'm missing here?

    Try to change/add the JS in your HTML code to the following.

    TS

  • BB10 Webworks app cannot call the index page

    Hi all

    I work on the BB 10 Webworks and test on the ripple is fine, but if it was launched the bb10 Simulator on VM Fusion, the application cannot display the index page.

    SDK: BlackBerry 10 WebWorks SDK 1.0.4.11

    Ripple: 0.9.14

    VM Fusion: 5.02

    Simulator: BB10_1_X-807

    can someone help me, thank you very.

    I think I have this problem.

    I try to remove the old sdk bb10 of macos and then reinstall the latest JDK and JRE & bb10 sdk once again, problem solved.

  • ORA-06508, procedure cannot call the procedure of package

    I have a large stored procedure that calls a package (procedure) that manages a number of procedures to determine whether the process can continue or not.  (It checks authorization of the student to enroll in a class).  We have a web process calling the stored procedure, and that works fine.  What does not work, is a call to the package.  Oracle returned ORA-06508: PL? SQL: could not find program unit called.

    I have included instructions for debugging, so I know that it is the specific call to a procedure in the package fails with ORA-06508.  Thinking it's perhaps something in the package, I inserted a debug statement as the first line in the procedure called in the package.    (Debugging instructions call a procedure inserts of rows in a table of debugging with independent validation).

    When I log in the user account with sqlplus and run a test, everything works fine.  But when the web process is running under the same user, the process fails to call the procedure of package and fails with ORA-06508.

    It seems as if the web process runs with the rights of the appellant, or a role is not granted.

    Can someone help me understand what the problem is?

    offered hv, I appreciate your comments.

    We solved the problem: remove the package that couldn't be cited, then re-create.   That's all!

    Apparently, something in the database was tangled upward.   The server recently had problems with disk space, then it might have been related to that.  But we'll never know for sure.

    The stored procedure and packaging (procedures) which he called were owned by the same schema, and there is no mechanism that I can find to prevent one of the other appellant.  But that was the case - Oracle threw the ORA-06508 exception when the stored procedure called the package procedure.

    I replaced the stored procedure and package several times fine-tuning debugging code, but this has not fixed the problem.

    Finally let it drop and then re-create the package, it's which solved the problem.

    Regarding requests to view the code, there is no way that I could reproduce the problem, since the error that occurred was against the permissions and rules which packages run and the procedures of the Oracle.  Thanks for all the tips and suggestions.

  • Cannot move the small distances of objects

    CS6, OS X

    I can't seem to move objects in my drawing small distances... I'm used to be able to do this... There are tweaks I hit, but I can't find out who it might be. I snap OFF, but is not behaving as a nod to... It behaves as I am only "allowed" to move objects some distance; tiny and object simply does not move...

    is - anyone can shine a light on this?

    Thank you!

    Kat

    It is a function object. You must uncheck the box for new objects and you have to uncheck the box for existing objects.

    and @FlashKatt read this: http://blogs.adobe.com/infiniteresolution/2009/05/startup_profiles_a_great_tool.html

  • iPhone &amp; iPad with the same Apple ID, Wifi Dead after # 21 #, cannot call the specific number

    Hi guys, I really hope someone can help out me with this one. Long story short:

    After a week of vacation when we left our iPhone and iPad at home, my girlfriend's iPhone did get any cell phone signal when we came back, said network unavailable in the upper left corner, then we called Fido, the cell phone company, we use to try to resolve the problem. After trying to isolate the problem by changing my SIM card in the phone and SIM card in my phone, we saw that it was related to his SIM card.

    The key to reset cell phone network, has changed twice between the SIM card and after a good 24 hours, his phone was on the right track with the exception that it was not able to call me and only me. We get an error call failed. But she was able to receive calls from me and everyone else. Also, we were unable to set up the voicemail.

    As if the phone thought she was my line because of some flying over the passage of my SIM card in the phone...

    This is the first problem... That we called Fido again. After the usual troubleshooting stuff (reset the network settings, restore the device in iTunes, force the restart, eject and put in the SIM card) the Lady on the line calling in the phone app, the number "# 21 #". Then BAM! no more WiFi on his phone AND his iPad connected to the same Apple ID (not a network problem as all the other device not associated with this specific apple id are ok with this network and wifi iPad literally fall from the moment I hit that famous number) when I press on my wifi network in the list It behaves as it accepts the password, but all is not connect with the wheel spinning without end.

    Thus, employees of die cell phone are clueless and now she can't call me and she can't go on the internet with none of its aircraft. I tried a full restoration of his phone.

    Tomorrow I will try the iPad on my place of work to see if it can connect to the anther wifi network, pending:

    1-don't, anyone know what this # 21 # code is and how I can repair the damage he has done?

    2-is my SIM card remains on his good theory and if so, what can we do about it, if not then what could cause his phone to have a call to a number failed error in particular?

    Thanks in advance!

    Not sure about the theory of SIM card, but my guess is not... don't dwell settings. The SIM card must be "read" on every power up.

    The code in what she you punch is a mobile PHONE for call forwarding. She must have felt you have enabled I guess. It shouldn't be anything else stop call forwarding for his phone, if it was enabled.

  • Flash cannot call the javascript function in the local html file

    Hello!

    Us is to develop our first application on Playbook. It is an html file including a flash file and javascript code. Everything is packed in. in the file bar, a config.xml file and has been correctly loaded into the Playbook. Everything works locally (no web access)

    Everything works well except when we use an ExternalInterface.call("saveglobalscore",score) in flash that calls a javascript function in the .html file.

    In the actionscript3, we selected the "authorized local file access" and put the 'Security.allowDomain("*) '.

    Any ideas? Thank you!

    External interface tries to access the files packaged locally is currently a known issue.  I have not really of a calendar when or if this can be resolved.  It may be in the code base of flash.

  • Cannot call the c function

    I bought the creative cloud subscription and if I want to start lightroom on my laptop acer win64 he couldn't call c function.

    What am I supposed to do?

    Thank you for answer

    Jakob

    Hi jakobe_98,

    It has something to do with Microsoft Visual C++, I beg of you please check and try the following:

    Solve the C++ runtime errors. Adobe products | Windows

    Download the Package redistributable Microsoft Visual C++ 2010 (x 64) official Microsoft Download Center

    Kind regards

    Tanuj

  • Cannot create the SQL query view object

    I'm having a lot of trouble to create a display of a SQL object.

    The query is as follows:

    Select CalBruker.BRUK_ID,
    CalBruker.EMAIL,
    CalBruker.ETTERNAVN,
    CalBruker.PASSORD,
    CalBruker.DATO_OPPRETTET,
    CalBruker.AKTIV,
    CalBruker.FORNAVN,
    CalBruker.ROLL_ROLL_ID,
    CalBruker.AVDE_AVDE_ID,
    CalRoller.NAVN,
    CalRoller.ROLL_ID,
    CalAvdelinger.NAVN AS NAVN1,
    CalAvdelinger.AVDE_ID,
    CalRoller.BESKRIVELSE,
    CalForlag.NAVN AS NAVN2,
    CalForlag.FORL_ID,
    CalAvdelinger.navn,
    CalForlag.navn AS BrukForlag,
    CalBruker.FRIEKS_PROSENT_GRENSE,
    CalBruker.LOGIN_NAVN
    Of CAL_BRUKER CalBruker, CAL_ROLLER CalRoller, CAL_AVDELINGER CalAvdelinger, CAL_FORLAG CalForlag
    Where CalBruker.ROLL_ROLL_ID = CalRoller.ROLL_ID AND CalBruker.AVDE_AVDE_ID = CalAvdelinger.AVDE_ID AND CalAvdelinger.FORL_FORL_ID = CalForlag.FORL_ID


    If I create a new view object and paste the SQL query in there, I get no automatic attribute mappings, and I can't understand how I'm supposed to map the attributes manually.

    Basically, I get a display without her attributes object.

    JDeveloper version 11.1.2.0

    Help if you give alias names in your columns?
    Something like:

    Select CalBruker.BRUK_ID BRUK_ID,
    EMAIL CalBruker.EMAIL,
    CalBruker.ETTERNAVN ETTERNAVN,
    ...

  • Cannot call the custom production of 11 JDev JAAS login modules

    Hi all, I have the following problem

    I have adf web application, which, using the JAAS login modules, customized. It works very well in Jdev Tp4 (I have it configured)
    with the adf Security Assistant).

    In the production release, I also tried to set up the plug-in by using the ADF Security Assistant and editor of JPS
    but the module is not called.

    Can someone help me with this?

    Thanks in advance,
    Krasimir

    Hello

    with the change of OC4J to WebLogic server how custom loginmodules are used changed as well. In WLS we use the WLS platform security, which means that the custom JAAS modules must be created as WLS (see documentation WLS) authentication providers. In a future version, there will be an easier way to do it in this custom LoginModules may be connected directly. But it's ongoing work for WLS

    Frank

Maybe you are looking for