• Runtime Error

    By Christian Sadeghi 3 years ago
    The runtime has encountered an unexpected error.
    
    

    Error source

    Page Name:/index.xsp
    Control Id: repeat1

    Exception

    Error while executing JavaScript computed expression

    Script interpreter error, line=2, col=9: Error calling
    method 'categoriesMap(java.lang.String)' on java class
    'org.openntf.bildr.Picture'

       1: var viewName = compositeData.viewName;
    
    2: Picture.categoriesMap(viewName);

    • By Patrick Kwintensson 3 years ago

      what value do you get returned from compositeData.viewName ? This view should reside in the data nsf

      • By Christian Sadeghi 3 years ago
        Hi,
        
        "Unknown Source"
        
        NotesException: Database BildrData.nsf has not been opened yet
        lotus.domino.local.Database.getView(Unknown Source)
        
        
        
        
        com.ibm
        .xsp.exception.EvaluationExceptionEx: Error while executing JavaScript computed expression
            com.ibm.xsp.binding.javascript.JavaScriptValueBinding.getValue(JavaScriptValueBinding.java:132)
            com.ibm.xsp.component.UIDataIterator.getValue(UIDataIterator.java:422)
            com.ibm.xsp.component.UIDataIterator.createDataModel(UIDataIterator.java:206)
            com.ibm.xsp.component.UIDataIterator.getDataModel(UIDataIterator.java:160)
            com.ibm.xsp.component.UIDataIterator.setRowIndex(UIDataIterator.java:456)
            com.ibm.xsp.renderkit.html_extended.IteratorRenderer.encodeRows(IteratorRenderer.java:71)
            com.ibm.xsp.renderkit.html_extended.IteratorRenderer.encodeChildren(IteratorRenderer.java:55)
            com.ibm.xsp.renderkit.ReadOnlyAdapterRenderer.encodeChildren(ReadOnlyAdapterRenderer.java:162)
            javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:979)
            com.ibm.xsp.component.UIDataIterator.encodeChildren(UIDataIterator.java:725)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:843)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.component.UIViewRootEx._renderView(UIViewRootEx.java:1317)
            com.ibm.xsp.component.UIViewRootEx.renderView(UIViewRootEx.java:1255)
            com.ibm.xsp.application.ViewHandlerExImpl.doRender(ViewHandlerExImpl.java:651)
            com.ibm.xsp.application.ViewHandlerExImpl._renderView(ViewHandlerExImpl.java:321)
            com.ibm.xsp.application.ViewHandlerExImpl.renderView(ViewHandlerExImpl.java:336)
            com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:103)
            com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
            com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:120)
            com.ibm.xsp.controller.FacesControllerImpl.render(FacesControllerImpl.java:270)
            com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:261)
            com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:157)
            com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:160)
            com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:138)
            com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:103)
            com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:576)
            com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1335)
            com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(ComponentModule.java:853)
            com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:796)
            com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:565)
            com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1319)
            com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:662)
            com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:482)
            com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:357)
            com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:313)
            com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
        com.ibm.jscript.InterpretException: Script interpreter error, line=2, col=9: Error calling method 'categoriesMap(java.lang.String)' on java class 'org.openntf.bildr.Picture'
            com.ibm.jscript.types.JavaAccessObject.call(JavaAccessObject.java:334)
            com.ibm.jscript.types.FBSObject.call(FBSObject.java:161)
            com.ibm.jscript.ASTTree.ASTCall.interpret(ASTCall.java:197)
            com.ibm.jscript.ASTTree.ASTProgram.interpret(ASTProgram.java:119)
            com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:139)
            com.ibm.jscript.JSExpression._interpretExpression(JSExpression.java:435)
            com.ibm.jscript.JSExpression.access$1(JSExpression.java:424)
            com.ibm.jscript.JSExpression$2.run(JSExpression.java:414)
            java.security.AccessController.doPrivileged(AccessController.java:448)
            com.ibm.jscript.JSExpression.interpretExpression(JSExpression.java:410)
            com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:251)
            com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:234)
            com.ibm.xsp.javascript.JavaScriptInterpreter.interpret(JavaScriptInterpreter.java:222)
            com.ibm.xsp.javascript.JavaScriptInterpreter.interpret(JavaScriptInterpreter.java:194)
            com.ibm.xsp.binding.javascript.JavaScriptValueBinding.getValue(JavaScriptValueBinding.java:78)
            com.ibm.xsp.component.UIDataIterator.getValue(UIDataIterator.java:422)
            com.ibm.xsp.component.UIDataIterator.createDataModel(UIDataIterator.java:206)
            com.ibm.xsp.component.UIDataIterator.getDataModel(UIDataIterator.java:160)
            com.ibm.xsp.component.UIDataIterator.setRowIndex(UIDataIterator.java:456)
            com.ibm.xsp.renderkit.html_extended.IteratorRenderer.encodeRows(IteratorRenderer.java:71)
            com.ibm.xsp.renderkit.html_extended.IteratorRenderer.encodeChildren(IteratorRenderer.java:55)
            com.ibm.xsp.renderkit.ReadOnlyAdapterRenderer.encodeChildren(ReadOnlyAdapterRenderer.java:162)
            javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:979)
            com.ibm.xsp.component.UIDataIterator.encodeChildren(UIDataIterator.java:725)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:843)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.component.UIViewRootEx._renderView(UIViewRootEx.java:1317)
            com.ibm.xsp.component.UIViewRootEx.renderView(UIViewRootEx.java:1255)
            com.ibm.xsp.application.ViewHandlerExImpl.doRender(ViewHandlerExImpl.java:651)
            com.ibm.xsp.application.ViewHandlerExImpl._renderView(ViewHandlerExImpl.java:321)
            com.ibm.xsp.application.ViewHandlerExImpl.renderView(ViewHandlerExImpl.java:336)
            com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:103)
            com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
            com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:120)
            com.ibm.xsp.controller.FacesControllerImpl.render(FacesControllerImpl.java:270)
            com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:261)
            com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:157)
            com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:160)
            com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:138)
            com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:103)
            com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:576)
            com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1335)
            com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(ComponentModule.java:853)
            com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:796)
            com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:565)
            com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1319)
            com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:662)
            com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:482)
            com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:357)
            com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:313)
            com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
        NotesException: Database BildrData.nsf has not been opened yet
            lotus.domino.local.Database.getView(Unknown Source)
            org.openntf.bildr.Picture.categoriesMap(Picture.java:342)
            sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
            sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
            java.lang.reflect.Method.invoke(Method.java:611)
            com.ibm.jscript.types.JavaAccessObject.call(JavaAccessObject.java:321)
            com.ibm.jscript.types.FBSObject.call(FBSObject.java:161)
            com.ibm.jscript.ASTTree.ASTCall.interpret(ASTCall.java:197)
            com.ibm.jscript.ASTTree.ASTProgram.interpret(ASTProgram.java:119)
            com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:139)
            com.ibm.jscript.JSExpression._interpretExpression(JSExpression.java:435)
            com.ibm.jscript.JSExpression.access$1(JSExpression.java:424)
            com.ibm.jscript.JSExpression$2.run(JSExpression.java:414)
            java.security.AccessController.doPrivileged(AccessController.java:448)
            com.ibm.jscript.JSExpression.interpretExpression(JSExpression.java:410)
            com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:251)
            com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:234)
            com.ibm.xsp.javascript.JavaScriptInterpreter.interpret(JavaScriptInterpreter.java:222)
            com.ibm.xsp.javascript.JavaScriptInterpreter.interpret(JavaScriptInterpreter.java:194)
            com.ibm.xsp.binding.javascript.JavaScriptValueBinding.getValue(JavaScriptValueBinding.java:78)
            com.ibm.xsp.component.UIDataIterator.getValue(UIDataIterator.java:422)
            com.ibm.xsp.component.UIDataIterator.createDataModel(UIDataIterator.java:206)
            com.ibm.xsp.component.UIDataIterator.getDataModel(UIDataIterator.java:160)
            com.ibm.xsp.component.UIDataIterator.setRowIndex(UIDataIterator.java:456)
            com.ibm.xsp.renderkit.html_extended.IteratorRenderer.encodeRows(IteratorRenderer.java:71)
            com.ibm.xsp.renderkit.html_extended.IteratorRenderer.encodeChildren(IteratorRenderer.java:55)
            com.ibm.xsp.renderkit.ReadOnlyAdapterRenderer.encodeChildren(ReadOnlyAdapterRenderer.java:162)
            javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:979)
            com.ibm.xsp.component.UIDataIterator.encodeChildren(UIDataIterator.java:725)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:843)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:852)
            com.ibm.xsp.component.UIViewRootEx._renderView(UIViewRootEx.java:1317)
            com.ibm.xsp.component.UIViewRootEx.renderView(UIViewRootEx.java:1255)
            com.ibm.xsp.application.ViewHandlerExImpl.doRender(ViewHandlerExImpl.java:651)
            com.ibm.xsp.application.ViewHandlerExImpl._renderView(ViewHandlerExImpl.java:321)
            com.ibm.xsp.application.ViewHandlerExImpl.renderView(ViewHandlerExImpl.java:336)
            com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:103)
            com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
            com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:120)
            com.ibm.xsp.controller.FacesControllerImpl.render(FacesControllerImpl.java:270)
            com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:261)
            com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:157)
            com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:160)
            com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:138)
            com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:103)
            com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:576)
            com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1335)
            com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(ComponentModule.java:853)
            com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:796)
            com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:565)
            com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1319)
            com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:662)
            com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:482)
            com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:357)
            com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:313)
            com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
        • By Christian Sadeghi 3 years ago

          now i have this Error:
          Error while executing JavaScript computed expressiScript interpreter error, line=1, col=1: [ReferenceError] 'isPagerVisible' not found

          JavaScript code

             1: isPagerVisible(this)
          

          • By Christian Sadeghi 3 years ago
            com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
            com.ibm.jscript.InterpretException: Script interpreter error, line=1, col=1: [ReferenceError] 'isPagerVisible' not found
        • By Patrick Kwintensson 3 years ago

          have you tried to create an index for the data db?

          • By Patrick Kwintensson 3 years ago

            do you have the data db installed and pointed to from the dataresource.properties file in the design db? does the data db got any sample data?

        • By Patrick Kwintensson 3 years ago

          try to install the 5.2 version and see if problems arise from that one