2 Replies Latest reply: May 7, 2014 9:32 AM by Gowri Ramalingam-Oracle RSS

    Hyperion SDK Java API Null Pointer Exception while trying to run AddBQYDocument.java sample program

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

      Hi,

       

      I was successfully able to compile and run Hyperion SDK sample programs from a Hyperion development Environment. After that I had to move the code to a testing server. But I am facing issues in my AddBQYDocument code . Also while trying to run AddBQYDocument.java sample program (which we got after installing SDK) it is also giving the same error as pasted below: Plaese help me solve this issue as it is very critical for my project.

       

       

      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>