Why do i get this error when i run my application which has one Business comp Frame

I do have one application and a business component frame.
I followed all the steps of how to create a workspace a project , application and a business component. But my application when it runs gives the following errors.
This error is from the following statement in the Constructor of Frame
Frame(){
jbInit();
//the above statement executes well
sessionInfo.publishSession(executeQueriesNow);
//the above statement gives the error shown below.
null
java.lang.NullPointerException
void oracle.jbo.server.DBTransactionImpl.initTransaction()
void oracle.jbo.server.DBTransactionImpl.<init>(java.lang.String, java.lang.String, java.lang.String)
oracle.jbo.server.DBTransactionImpl oracle.jbo.server.DatabaseTransactionFactory.create(java.lang.String, java.lang.String, java.lang.String)
void oracle.jbo.server.NullDBTransactionImpl.connect(java.lang.String, java.lang.String, java.lang.String)
oracle.jbo.ApplicationModule oracle.dacf.dataset.SessionInfo._createAppModule()
void oracle.dacf.dataset.SessionInfo.connect()
void oracle.dacf.dataset.SessionInfo.openProducerObject()
void oracle.dacf.dataset.ProducerObject.open(boolean)
void oracle.dacf.dataset.SessionInfo.publishSession(boolean)
void package22.Frame1.<init>()
void package22.Application1.<init>()
void package22.Application1.main(java.lang.String[])
oracle.dacf.dataset.DataSourceOperationException: SessionInfo: Application module creation failed; className: MyProject9
void oracle.dacf.dataset.ProducerObject.open(boolean)
void oracle.dacf.dataset.SessionInfo.publishSession(boolean)
void package22.Frame1.<init>()
void package22.Application1.<init>()
void package22.Application1.main(java.lang.String[])
null

I solved the problem. The invoked method was not part of the VO, but was part of the AM.

Similar Messages

  • Why do I get this error when I want to run a test using Ant?

    Why do I get this error when I run the Ant build file?
    Testsuite: JUnit
    Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    Caused an ERROR
    JUnit
    java.lang.ClassNotFoundException: JUnit
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

    Abder-Rahman wrote:
    In the "XML" file, I was giving the name of the test as JUnit ---> <test name="JUnit">Well, do you have a class called just "JUnit" that contains a test?

  • Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.

    Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.

    I may have already resolved this issue buy removing the device from my computer and re-pairing it. It is currently working just fine.

  • More than maximum 5 filtered album lists trying to register. This will fail,Why i am getting this error when i pick video from Photo library.

    I am able to pick 4 videos from the Photo library in my iPhoneAPP but when i try to pick 5th one it throws an error:
    "More than maximum 5 filtered album lists trying to register. This will fail,Why i am getting this error when i pick video from Photo library."

    Hello Tate r Bulic
    I don't have any idea how to remove this error,can i pick more than 5 videos from the photo library...
    If it's then please help me and gimme idea..Thanks

  • I get this error when i run diagnostic 4MEM/9/40000000 : 0x7f561d90

    MacBook Pro 13-inch, Mid 2012,
    2.5 GHz Intel Core i5
    16 GB 1600 MHz DDR3
    YOSEMITE 10.10
    My computer started shutting down.  error message stated Your computer restarted because of a problem.  Press any key. 
    I get this error when i run diagnostic 4MEM/9/40000000 : 0x7f561d90 but can't find the error code reference.

    Check to see if your MBP has a kernel panic report.  If so use these instructions and post it:
    http://support.apple.com/en-us/HT2546
    Ciao.

  • Can anyone tell me why I'm getting this error when trying to make visibility variables

    I have set these up in previous versions of Illustrator. CS and illustrator 10 worked just fine with Variables. Now I can't seem to switch between data sets. I just keep getting this error when I try to switch from one data set to another.

    I'll start with the permissions and see if it changes the behavior.

  • Why do I get this error when activating my COOLER E-BOOK?

    Have tried off and on for four week to figure this out. When I try to activate my Cooler E-Book I keep getting
    this error  E_AUTO_BAD _DEVICE_KEY. What do I need to do. lease help

    Yesterday ADE excepted & put ebooks on my Literati eReader.....  Today I getting that same code!!    Any ideas???

  • Why am I getting this error when trying to do Image Processor?

    Ok I am using Bridge & Image Processor to add a water mark to multiple photos at a time with my ready made action.  But for some reason I seem to be getting this error message every few pictures?
    I've never had problems with other photo sets doing this before, but it was just recently that it started.
    But it will successfully add the water mark to some of them via the Image Processor

    Actually, my DVD multi-drives are I:\ and J:\, as my C:\ thru H:\ drives are my individual internal HDD's. Even on my laptop, my multi-drive is F:\. I always list my internals in order, and my multi-drives afterwards. In my case, it's simple layout for simple minds. I am also keen on having my internals listed at the hardware level as 0 = C:\, 1 = D:\, 2 = E:\, 3 = F:\ and so on. Once let a builder deviate from this order and it bit me big time - never again!
    Now, you are possibly correct that the D:\ might be the OP's D:\ is the multi-drive, and now some source disc is not in it. To keep this sort of thing from happening, I ALWAYS Copy my Assets to an internal from my externals (usually), my NAS, and from any archive discs. Importing/Opening from a DVD/CD is often asking for trouble.
    Good luck to the OP,
    Hunt

  • Why do I get this error when opening I-Tunes 10.5.2?Internal Error: Could not insert menu bar item..  Error code = 5603

    I just upgraded to Snow Leopard and downloaded the latest version of I-tunes, 10.5.2, but everytime I open I-tunes, i get this error: Internal Error: Could not insert menu bar item.. Error code = 5603
    How do I fix this? Any help would be appreciated.
    Thanks.

    hello Mac.INXS, please [[Clear the cache - Delete temporary Internet files to fix common website issues|clear the cache]] & [[Delete cookies to remove the information websites have stored on your computer|cookies from mozilla.org]] and then try logging into AMO again.

  • I am getting this error  when i run the webdynpro application

    I am getting follwoing error, when i click on the link available in the webdypro application. Please tell me what is the reason,
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: is.eimskip.pdfmodel.Zmulti_Pdf
    Found in negative cache
    Loader Info -
    ClassLoader name: [local/SalesOrder]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:tccolapi
       library:com.sap.aii.util.misc
       library:tc~cmi
       library:tccolruntime
    Resources:
       D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\local\SalesOrder\webdynpro\public\lib\app.jar
    Loading model: {parent,references,local}
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:378)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:186)
         at is.eimskip.pdfmodel.Zbapi_Salesorder_Getpdf_Output_Input.<init>(Zbapi_Salesorder_Getpdf_Output_Input.java:51)
         at is.eimskip.comp.PDFCust.GetPdfFileName(PDFCust.java:145)
         at is.eimskip.comp.wdp.InternalPDFCust.GetPdfFileName(InternalPDFCust.java:171)
         at is.eimskip.comp.ResultView.onActionShowBL(ResultView.java:409)
         at is.eimskip.comp.wdp.InternalResultView.wdInvokeEventHandler(InternalResultView.java:365)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:640)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.lang.ClassNotFoundException: is.eimskip.pdfmodel.Zmulti_Pdf
    Found in negative cache
    Loader Info -
    ClassLoader name: [local/SalesOrder]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:tccolapi
       library:com.sap.aii.util.misc
       library:tc~cmi
       library:tccolruntime
    Resources:
       D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\local\SalesOrder\webdynpro\public\lib\app.jar
    Loading model: {parent,references,local}
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:373)
         ... 32 more

    Found in negative cache.... very strange.
    RFC found in negative cache
    What is the negative cache?

  • After upgrade to lastest version af iTunes (10.3.1, I believe), I get this error, when iTunes runs the update of my iTunes library

    I get this error message from Windows: Instruction af 0x76f8de2d referred memey at 0x000000ca. Memory could not be written.
    The iTunes stops working.
    I am running Windows Vista with lastest updates from Microsoft. My iTunes folder is located on a QNAP nas drive.  I have around 58500 podcast, about 15 CDs, some iPhone apps in my iTunes folder.
    What do I do?

    That's most likely a problem with a library file or a content file, Per.
    I'd perhaps try a library recreation first. There's advice for both types of issues in the User-specific troubleshooting section of the following document:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues

  • Why do I get this error when specifying a parameter from the URL?

    Hello,
    I am trying to "install" a parameter in a page, so that it's value can be specified in the URL and a VO updated according to this value.
    Here's is the page definition file, with an executable and a binding to a method call:
    <executables>
    <invokeAction Binds="prepareMainMenuView1" id="invokeQuery"
    Refresh="prepareModel"/>
    </executables>
    <methodAction id="prepareMainMenuView1"
    InstanceName="AppModuleDataControl.dataProvider"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="prepareMainMenuView1"
    IsViewObjectMethod="true">
    <NamedData NDName="param" NDValue="#{param.root_menu}"
    NDType="java.lang.String"/>
    </methodAction>
    if I run the MyMenu application with:
    http://127.0.0.1:7101/MyMenu-ViewController-context-root/faces/menu?root_menu=anything
    then I get this exception:
    ADF: Adding the following JSF error message: String index out of range: -1
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    Do you know why? Where do I fail?
    I followed the isntruction here:
    http://www.jasonsdevelopercorner.com/?p=65
    So far I have not been able to read a parameter in a way, do you have any example on how can I use parameters from URL from within a single page in an unbounded task flow?
    I worked all the day on this, but with no luck.
    Thanks

    I solved the problem. The invoked method was not part of the VO, but was part of the AM.

  • Why do I get this error when I try to install Reader XI in Windows 8.1?

    "Error 1303.  The installer has insufficient privileges to access this directory: C:\Program Files (X86)\Adobe\Reader 11.0\Reader.  The installation cannot continue.  Log on as an administrator or contact your system administrator."
    This is my personal home computer.  I have no administrator to contact.  I have gone through all the trouble-shooting suggestions provided by Adobe but I still get this message trying to download Reader XI or X.  I previously had Reader on this computer but it started failing so I uninstalled it and now I'm trying to re-install it.  My antivirus system is Webroot SecureAnywhere and it says there are no problems with my computer.  I'm using a 6 month old Dell computer and System Mechanic also says there are no problems with my computer.
    Any suggestions will be appreciated.

    I have the exact same problems as reported by Vector at the start of this thread.  Running Windows 8, Reader stopped responding, so I uninstalled and tried to reinstall XI, I get Error 1303, with the issue being permissions on that same directory (x86\Adobe\Reader 11.0\Reader).  If I open Explorer and try to navigate to that folder, I see it there under the Reader 11.0 folder, but if I double-click I cannot even open it, I get an "is not accessible.  Access is denied" error.  I checked the Security settings on the Reader 11.0 folder, SYSTEM, Administrators, Users, and TrustedInstaller all have Full Control.  When I go into Advanced and check the box for "Replace all child permission entries with inheritable permission entries from this object" and click Apply, I get an error for the \Reader folder (Failed to enumerate objects in the container.  Access is denied").  I tried deleting the Adobe folder on down, hoping I could just start fresh with the re-install,  but it does not allow me to.  Completely stuck.  Any ideas?

  • HT4305 "Update in available with this Apple ID" why do I get this error when my Apple ID is correct

    I restored my phone to the last backup point to see if I could regain a deleted contact. Now I when trying to update apps I get the a over error. How do I correct this?

    Several users are putting up "me too" posts, so it's starting to look like it might be a glitch at Apple's end.  Give it a day or two. I have yet to see an urgent update.

  • Why do I get this error when executing this javascript?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    <code>var firefoxWindow = getWindows()[0];
    var browser = firefoxWindow.getBrowser();
    var doc = browser.contentDocument;
    var elem = null;
    var elems = doc.getElementsByTagName('td');
    for(a=0;a &lt; elems.length;a++){ if( [[elems[a] !== null && elems[a].hasAttributes() <u> true && elems[a].getAttribute('onclick') !== null && elems[a].getAttribute('onclick').toString().match(/doNothing/gim) !== null && elems[a].getAttribute('onclick').toString().match(/Goodbye Wonderful/gim).length &gt;= 0) || (elems[a] !== null && elems[a].onclick !== null && elems[a].onclick.toString().match(/Goodbye Wonderful/gim) !== null && elems[a].onclick.toString().match(/Goodbye Wonderful/gim).length &gt;= 0]]) { elem = elems[a]; } }
    var found = false;
    var window = null;
    for(var i=0; i &lt; firefoxWindow.frames.length; i++) }
    function recursiveSearch(frames){ for(var i=0; i= 0) || (elems[a] !== null && elems[a].onclick !== null && elems[a].onclick.toString().match(/Goodbye Wonderful/gim) !== null && elems[a].onclick.toString().match(/Goodbye Wonderful/gim).length &gt;= 0))) { elem = elems[a]; } } if(elem) else{ if(frames[i].frames.length&gt;0) }}}if(!elem && window.frames.length &gt; 0){ recursiveSearch(window.frames); }var origColor = '';if(elem !== null) elem.style.backgroundColor = 'yellow';}
    </code>
    Using this javascript through jssh to assert that there is a element with an onclick handler that contains the phrase Goodbye Wonderful returns an odd error message :
    Received: uncaught exception: [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: interactive :: :: line 1" data: no]
    I've looked just about everywhere for an answer and none of them have anything to do with what I'm trying to do with this javascript. It works fine in FF 3.6 but when run in the 4.0b1 this causes that weird exception.
    == This happened
    ==
    Every time Firefox opened
    == Updated to FF 4.0b1
    ==
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.0 Safari/534.3

    Sorry but the javascript syntax got messed up a little bit when posted. And jssh was built with 4.0b1 and then I packaged it as an XPI to install as an extension.

Maybe you are looking for