6 Replies Latest reply on May 2, 2014 7:32 PM by 3aae7f5b-7a91-460f-b139-27b19b3fea9a

    Runtime error while trying to run Login.java sample prgram to establish connection to Hyperion workspace

    3aae7f5b-7a91-460f-b139-27b19b3fea9a

      Hi ,

       

      I was able to set up SDK and sucessfully compile the Login.java sample program. But while trying to run it I am getting the following error: Please help me to resolve this issue.

       

      com.sqribe.rm.ReportMartException:GsmNotFound
      at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
      at com.sqribe.rm.AASessionImpl.open(Unknown Source)
      at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
      at com.sqribe.rm.AASessionImpl.(Unknown Source)
      at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
      at Login.(Login.java:28)
      at Login.main(Login.java:69)

        • 1. Re: Runtime error while trying to run Login.java sample prgram to establish connection to Hyperion workspace
          User10888283-Oracle

          Hi,

           

          Check whether the GSM service is up and running. Also check whether user is able to access the workspace without any issues.

           

          Thanks,

          Nirmala

          • 2. Re: Runtime error while trying to run Login.java sample prgram to establish connection to Hyperion workspace
            Gowri Ramalingam-Oracle

            Hi

             

            Please check this knowledge base article and see if this answered your query


            Error: "com.sqribe.rm.ReportMartException: cannot establish binding" When Running Java Program Against SDK To Establish Session Instance (Doc ID 1228638.1)


            Applies to: 

            Hyperion BI+ - Version 9.3.1.3.00 and later

            Information in this document applies to any platform.

            ***Checked for relevance on 30-Jul-2012***

             

            Symptoms

            The following error occurs while running an SDK program from a machine other than the GSM server itself to establish a session instance.

            C:\Hyperion\BIPlus\SDK\bin>execapi.bat Login admin password servername 6800
            com.sqribe.rm.ReportMartException: cannot establish binding
            at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
            at com.sqribe.rm.AASessionImpl.open(Unknown Source)
            at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
            at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)
            at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
            at Login.<init>(login.java:36)
            at Login.main(login.java:69)

            The SDK works from the localhost.

            Cause

            Each server had a production Network IP address and a backup Network IP address. In the GSM machine the backup IP address was taking the first place and the services were running under that IP address. But when we tried to connect from the remote computer, it referenced the real Production Network IP address, producing the binding error.

            Solution


            1.       Go to My network places > Properties > Advanced tab in the menu bar > Select Advanced settings > In the Adapters and Binding section: Change the order of the network
            2.       Reboot the server
            3.       Restart all Hyperion Services.

             

            Thanks

            • 4. Re: Runtime error while trying to run Login.java sample prgram to establish connection to Hyperion workspace
              3aae7f5b-7a91-460f-b139-27b19b3fea9a

              While Trying to run AddBQYDocument sample program I am getting the following error : Please help me in identifying this error

              General Error: class java.lang.NullPointerException : null
              com.sqribe.transformer.TransformerException: General Error: class java.lang.Null
              PointerException : null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
              rce)
                      at java.lang.reflect.Constructor.newInstance(Unknown Source)
                      at com.sqribe.transformer.TRCP.receiveException(Unknown Source)
                      at com.sqribe.transformer.TransException.unmarshal(Unknown Source)
                      at com.sqribe.transformer.TRCP.receiveTransferable(Unknown Source)
                      at com.sqribe.transformer.TRCPClient.transactionReceive(Unknown Source)
                      at com.sqribe.transformer.ServiceAgent.sendCommand(Unknown Source)
                      at com.sqribe.transformer.ServiceAgent.sendCommand(Unknown Source)
                      at com.sqribe.transformer.ServiceAgent.sendCommand(Unknown Source)
                      at com.sqribe.transformer.ServiceBroker.submit(Unknown Source)
                      at com.brio.one.services.portal.proxy.TRCPServiceProxy.submit(Unknown So
              urce)
                      at com.sqribe.rm.AASessionImpl.trcp_submit(Unknown Source)
                      at com.sqribe.rm.AASessionImpl.__submit(Unknown Source)
                      at com.sqribe.rm.SessionImpl.submit(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.createBQYDocument(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at AddBQYDocument.publish(AddBQYDocument.java:78)
                      at AddBQYDocument.main(AddBQYDocument.java:264)
              [1003803]: class java.lang.NullPointerException, null
              May 02 00:50:23.143
              General Error: class java.lang.NullPointerException : null
              com.sqribe.transformer.TransformerException: General Error: class java.lang.Null
              PointerException : null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
              rce)
                      at java.lang.reflect.Constructor.newInstance(Unknown Source)
                      at com.sqribe.transformer.TRCP.receiveException(Unknown Source)
                      at com.sqribe.transformer.TransException.unmarshal(Unknown Source)
                      at com.sqribe.transformer.TRCP.receiveTransferable(Unknown Source)
                      at com.sqribe.transformer.TRCPClient.transactionReceive(Unknown Source)
                      at com.sqribe.transformer.ServiceAgent.sendCommand(Unknown Source)
                      at com.sqribe.transformer.ServiceAgent.sendCommand(Unknown Source)
                      at com.sqribe.transformer.ServiceAgent.sendCommand(Unknown Source)
                      at com.sqribe.transformer.ServiceBroker.submit(Unknown Source)
                      at com.brio.one.services.portal.proxy.TRCPServiceProxy.submit(Unknown So
              urce)
                      at com.sqribe.rm.AASessionImpl.trcp_submit(Unknown Source)
                      at com.sqribe.rm.AASessionImpl.__submit(Unknown Source)
                      at com.sqribe.rm.SessionImpl.submit(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.createBQYDocument(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at AddBQYDocument.publish(AddBQYDocument.java:78)
                      at AddBQYDocument.main(AddBQYDocument.java:264)
              [1003803]: class java.lang.NullPointerException, null
              com.sqribe.rm.ReportMartException: 1003803
                      at com.sqribe.rm.SessionImpl.submit(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.createBQYDocument(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at AddBQYDocument.publish(AddBQYDocument.java:78)
                      at AddBQYDocument.main(AddBQYDocument.java:264)
              May 02 00:50:23.159
              General Error: class java.lang.NullPointerException : null
              com.sqribe.transformer.TransformerException: General Error: class java.lang.Null
              PointerException : null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
              rce)
                      at java.lang.reflect.Constructor.newInstance(Unknown Source)
                      at com.sqribe.transformer.TRCP.receiveException(Unknown Source)
                      at com.sqribe.transformer.TransException.unmarshal(Unknown Source)
                      at com.sqribe.transformer.TRCP.receiveTransferable(Unknown Source)
                      at com.sqribe.transformer.TRCPClient.transactionReceive(Unknown Source)
                      at com.sqribe.transformer.ServiceAgent.sendCommand(Unknown Source)
                      at com.sqribe.transformer.ServiceAgent.sendCommand(Unknown Source)
                      at com.sqribe.transformer.ServiceAgent.sendCommand(Unknown Source)
                      at com.sqribe.transformer.ServiceBroker.submit(Unknown Source)
                      at com.brio.one.services.portal.proxy.TRCPServiceProxy.submit(Unknown So
              urce)
                      at com.sqribe.rm.AASessionImpl.trcp_submit(Unknown Source)
                      at com.sqribe.rm.AASessionImpl.__submit(Unknown Source)
                      at com.sqribe.rm.SessionImpl.submit(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.createBQYDocument(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at AddBQYDocument.publish(AddBQYDocument.java:78)
                      at AddBQYDocument.main(AddBQYDocument.java:264)
              [1003803]: class java.lang.NullPointerException, null
              com.sqribe.rm.ReportMartException: 1003803
                      at com.sqribe.rm.SessionImpl.submit(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.createBQYDocument(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at AddBQYDocument.publish(AddBQYDocument.java:78)
                      at AddBQYDocument.main(AddBQYDocument.java:264)
              com.sqribe.rm.ReportMartException: 1003803
                      at com.sqribe.rm.BQYDocumentImpl.createBQYDocument(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.BQYDocumentImpl.<init>(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at com.sqribe.rm.RepositoryImpl.loadBQYDocument(Unknown Source)
                      at AddBQYDocument.publish(AddBQYDocument.java:78)
                      at AddBQYDocument.main(AddBQYDocument.java:264)

              E:\Hyperion\BIPlus\InstallSDK\SDK\bin>

              • 5. Re: Runtime error while trying to run Login.java sample prgram to establish connection to Hyperion workspace
                Gowri Ramalingam-Oracle

                Hi,

                 

                Request to please mark the answer (Helpful answer or Correct answer ) by which the issue got resoled, so that other viewer will also get benefited.

                 

                Thanks,

                Gowri Ramalingam.