Exception occurs. When the click button

Hello.

I use jdev 11.1.5
I created a page of jspx in master and detail of the table

I had draaged an af:button and baptized as post

In the action listner I wrote code like
    public void cb5_actionListener(ActionEvent actionEvent) {
                   BindingContainer bc = this.getBindings();
            OperationBinding op = bc.getOperationBinding("recintGlJrnlHd");
            Object r = op.execute();
 
In the AMimpl method, I write code like
    public void recintGlJrnlHd(List selectedRowIndexs){
        ViewObjectImpl vo = this.getGlJrnlHd1();
        Row newRow = vo.createRow();
        ViewObjectImpl c1 = this.getCursorC1_1();
        Row cr1 = c1.getCurrentRow();
        newRow.setAttribute("GjhBu", cr1.getAttribute("GrhBu"));
        newRow.setAttribute("GjhPlant", cr1.getAttribute("GrhPlant"));
        newRow.setAttribute("GjhJrnlType", cr1.getAttribute("GrvlJrnlType"));
        newRow.setAttribute("GjhJrnlNo", cr1.getAttribute("GrvlJrnlNo"));
        newRow.setAttribute("GjhJrnlSfx", cr1.getAttribute("GrhJrnlSfx"));
        newRow.setAttribute("GjhJrnlDate", cr1.getAttribute("GrhJrnlDate"));
        newRow.setAttribute("GjhYear", cr1.getAttribute("GrvlYear"));
        newRow.setAttribute("GjhPeriod", cr1.getAttribute("GrvlPeriod"));
        newRow.setAttribute("GjhDesc", cr1.getAttribute("GrhDesc"));
        newRow.setAttribute("GjhAppl", "GLM");
        newRow.setAttribute("GjhReversal", "N");
        newRow.setAttribute("GjhStatus","N");
        newRow.setAttribute("GjhCreBy", "NULL");
       newRow.setAttribute("GjhCreDate", "NULL");
        newRow.setAttribute("GjhUpdBy", "NULL");
        newRow.setAttribute("GjhUpdDate", "NULL");
        this.getTransaction().commit();
    }
When I press the button an is Null pointer EXception
to
Object r = op.execute();
can someone help me solve this problem

have you added recintGlJrnlHd method in the section of links in your page definition file?

Tags: Java

Similar Questions

  • Error '80004005', an Exception occurred in the Microsoft JET Database Engine

    Hello

    I use Microsoft Jet 4.0 OLE DB Provider for storage in the database file Microsoft 2000 (.mdb file) for the past two months with no problems, now I get the error '80004005', of Exception occurred in the Microsoft JET Database Engine: could not open the database. It may not be a database that your application recognizes, or the file may be corrupt. I study some forums but could not get a definitive answer as to why this might be happening.

    Please, help me to understand this error so that I can avoid losing data in the future.

    Thank you

    Guilhem

    It is impossible to say when the problem occurred, but as Dennis said that Jet is not a robust database. It falls particularly in situations where is is called to manage large sets of data or be accessible from multiple users at the same time.

    In terms of alternatives, they are many if you want to go this route.

    Mike...

  • printer do not wake off mode 'sleep' and does not turn off when the Start button / stop pressed or pushed.

    HP printer all-in-one B210a win 7 64 bit.

    no error message just don't wake up from power saving mode and does not turn off when the power button is pressed. must be disconnected and then turned back on. works fine until the power saving mode he did go to sleep then not answer the test print command or Toolbox controls.  power saving mode is turned off, but still goes to sleep.

    First, you will need to make sure that the printer is under warranty.  You can do it here.  So, if you are in warranty, you must contact HP at 1-800-474-6836 and the United States in computer science, international users click here.

  • ORA-12170: TNS: Connect timeout occurred Description: an unhandled exception occurred during the execution of the current web request. P

    Hello

    I deployed a simple asp.net application in a sharepoint wfe Server

    Client 32-bit installed oracle 12

    32-bit Oracle Data Access Components (ODAC)
    with Oracle Developer Tools for Visual Studio

    bit alias 32 and 54 sql set up in all the sharepoit servers to connect to sql server

    SharePoint farm works very well

    ASP.net application to connect to sql server and oracle dbs to get and display the data

    in iis, asp.net application compatible 32-bit and executed under asp.net version 4.0

    When I connect to sql server and a data base of data it displays error below

    ORA-12170: TNS: Connect timeout occurred

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and its origin in the code.

    Exception details: System.Data.OleDb.OleDbException: ORA-12170: TNS: Connect timeout occurred

    Source error:

    Line 4142: Dim da2 as new OleDbDataAdapter (sqlStr2, conStr2)
    Line 4143: Dim ds2 As New DataSet
    Line 4144: da2. Fill (DS2)
    Line 4145:
    4146 line: DropDownList38.DataSource = ds2

    Source file: C:\inetpub\wwwroot\wss\VirtualDirectories\lxxxx\xxx.ascx.vb line: 4144

    Stack trace:

    a common cause of Timeout is a firewall on or between customer & dbserver

    What was the last time it worked without error?

    What has changed since then?

  • Validation of the user interface of by-pass when the click on the menu

    Hello

    Scenario:

    Go to any entity change the navigation bar page, having required validations on the fields of the user interface.

    Now, try to browse page by clicking on an item of menu registered in the recent items menu in the Shell of the user interface.

    The required validation is triggered.

    Earlier we faced a similar question of the necessary validation is triggered when the click on the button 'Cancel' in the edit page. At this point, we immediately applied = true to the Cancel button and the problem is solved.

    Is there something on similar lines for the validation of UI bypassing during the click on the recent items?

    Thank you
    Ravi

    Hello

    Earlier we faced a similar question of the necessary validation is triggered when the click on the button 'Cancel' in the edit page. At this point, we immediately applied = true for > Cancel button and the problem is solved.

    It is the same for the af:menuItem IE (immediately apply = "true" to get around the validation of the user interface [client side], its support by almost all components of the adf).

    Kind regards
    Sicard.

  • Satellite C Touchpad Scrolls series / moves when the left button is pressed

    Hello

    Seem to have a problem with my touchpad.
    After about 2 weeks of normal operation, it now only rolls / moves when the left button is pressed.
    Had a quick look in the settings but can't seem to get anywhere.

    Any IDE?

    Thank you

    K

    It is not easy to say what the problem is here. Maybe this kind of behavior is the result of defective material.
    I recommend reinstalling the operating system using HARD drive recovery option and check again with the factory settings. If the same thing will happen again from the first moment he must be a bad operation of the equipment and in this case, you should contact the nearest Toshiba service provider.

    They can check, repair if necessary and all costs will be covered by the warranty.

  • Exception occurred in the Microsoft Access database engine: the field is too small to accept the amount of data you attempted to add.

    Hello

    I try to save a path in a table in an access database, but an error occurs:

    "Exception occurred in the Microsoft Access database engine: the field is too small to accept the amount of data you attempted to add." Try insert or paste less data. "in create a NI_Database_API.lvlib:Rec - Command.vi-> NI_Database_API.lvlib:Cmd Execute.vi-> NI_Database_API.lvlibData.vi B tools insert-> project total.vi.

    I've attached a JPEG of a part of the code and the code, but it won't work because the database is not attached,

    any help please?

    Ok

    I solve the resized problem.i column size

    Thank you

  • The HP printer won't turn on or respond when the power button is pressed

    The HP printer won't turn on or respond when the power button is pressed

    The HP printer won't turn on or respond when the power button is pressed

  • Computer laptop screen goes black when the VGA cable is connected, but you press TV poster display correctly when the VGA button on the remote control.

    Computer laptop screen goes black when the VGA cable is connected, but you press TV poster display correctly when the VGA button on the remote control.   I need the laptop screen too.  It started just after years of correct use.

    Original title: VGA:

    In Panel > all items in the control panel > display > screen resolution you should be able to see the two devices / displays and be able to set options...

    http://Windows.Microsoft.com/en-us/Windows7/change-your-screen-resolution

  • I cannot associate my signature to the creative cloud, an error occurs when the opening of the first, he is asking me to renew the subscription, what I do?

    I cannot associate my signature to the creative cloud, an error occurs when the opening of the first, he is asking me to renew the subscription, what I do?

    Hello

    Please see CC help | 'Renew your membership' window appears when you launch an application Cloud Creative

    Kind regards

    Sheena

  • Mac Illustrator CC 2015 bug: option-a path to reproduce moving often does not release the path when the mouse button is released

    Mac Illustrator CC 2015 bug: option-a path to reproduce moving often does not release the path when the mouse button is released

    Delete my preferences file and restart the machine seem to have solved that problem.

  • Exception occurred during the event dispatching: java.lang.NoSuchMethodError

    Hello

    We have upgraded to the latest Oracle Application Server version 10.1.2.3.0 and webutil version 1.0.6.

    But we are facing the following error while accessing the web link. Message captured from the Java Console.
    Please suggest if you have a solution/idea about this error. Thank you!

    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22- internal Java hotspot Client VM
    Maximum size: 50 MB
    Compression level: 0 -.
    c: clear console window
    f: finalize objects on the finalization queue
    g: garbage collection
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: Hide console
    S: dump system properties
    t: dump thread list
    x: delete the cache of class loaders
    0-5: set the level of trace to < n >
    ----------------------------------------------------
    Download http://si02938.in.irt.com:7778/forms/java/frmall_jinit.jar to JAR cacheDownloading http://si02938.in.irt.com:7778/forms/java/frmwebutil.jar to JAR cacheDownloading http://si02938.in.irt.com:7778/forms/java/jacob.jar to JAR cacheDownloading http://si02938.in.irt.com:7778/forms/java/FileInformation.jar to JAR cacheDownloading cacheproxyHost = nullproxyPort = 0connectMode = HTTP, native.
    Version forms cmdlet is: 10.1.2.3
    Exception occurred during the event dispatching: java.lang.NoSuchMethodError at oracle.forms.webutil.common.VBeanCommon.init(VBeanCommon.java:281) at oracle.forms.handler.UICommon.instantiate (Unknown Source) at oracle.forms.handler.UICommon.onCreate (Unknown Source) at oracle.forms.handler.JavaContainer.onCreate (Unknown Source) at oracle.forms.engine.Runform.onCreateHandler (Unknown Source) at oracle.forms.engine.Runform.processMessage(Unknown Source) at oracle.forms.engine.Runform.processSet(Unknown Source) at oracle.forms.engine.Runform.onMessageReal(Unknown Source) at oracle.forms.engine.Runform.onMessage(Unknown Source) at oracle.forms.engine.Runform.processEventEnd(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl (unknown Source) at java.awt.Container.dispatchEventImpl (unknown Source) at java.awt.Component.dispatchEvent (unknown Source) at the java.awt.EventQueue.dispatchEvent (Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (unknown Source) at the java.awt.EventDispatchThread.pumpEventsForHierarchy (Unknown Source) at java.awt.EventDispatchThread.pumpEvents (unknown Source) at java.awt.EventDispatchThread.run (Unknown Source)

    Published by: user12233243 on November 16, 2009 22:28

    Published by: user12233243 on November 16, 2009 22:29

    Hello

    Your welcome, but you need to mark it as correct or relatively useful because other users will be able to solve their problems.

    Sarah

  • Close the window when the previous button is clicked on the film

    I have a .swf movie which is accessible via a link on a Web site. At the end of the film are two buttons: one for the 'return' and one for 'Replay '. Thanks to the helpful folks on the forum here, I've got buttons working so the Back button goes to the previous URL and the Replay button, well, replays.

    However, the previous button opens a new window. Is there a piece of the Action Script 3 can I add the following to close the window in my .fla Action Script window to close the window as it jumps to the URL? Here's the script.

    Stop();

    var link: URLRequest = new URLRequest ("urlgoeshere");

    bck_btn.addEventListener (MouseEvent.CLICK, onClick);

    function onClick(event:MouseEvent):void


    {
    navigateToURL (link);
    }

    play_btn.addEventListener (MouseEvent.CLICK, regarderMovie);
    function playMovie(event:MouseEvent)
    {
    Play();
    }

    I don't have full access to the HTML page, so I can't use javascript. I work with a CMS application to add content on the site, so I need to close this window using ActionScript 3 in the .swf file.

    Thank you

    Marilyn

    No matter if you close the window?... How about you just open the page in the same page...

    use

    navigateToURL (link, "_self");

    thelegendaryghost

  • display a warning when the exit button is clicked

    Hello
    Nobody knows how to set up a warning message when someone tries to get away a page (that is to say, press the home button). I'm doing an internal student site and the customer wants a message to say that this student needs to save your work before leaving... Is there a way to do this?
    Thank you
    NIC

    Friday, October 10, 2008 10:26:43-0400, "Murray * ACE."
    wrote:

    >

    Gary

  • communication error occurred when the power VI

    Hi all

    I have a frustrating situation.  I am trying to run a few screws on a Compact RIO 9073 chassis, and each time I start or stop the VI, I get two pop-up windows: "Communication Error occurred" (spelling is like on the popup) follow-up by ' WARNING: connection to the target in time real (NOR-cRIO9073 blah blah) has been lost.

    If I then go to the project manager, right-click on the cRIO and select Connect, it connects again very well, and the VI is still running.  I then two same popups again when the VI stops.  In the meantime, I can communicate with the VI without any problem.  I tried to reinstall the software on the RIO to the but minimal, OR RIO 3.4.0 it did not help.

    The RIO I NI-VISA and Visa 4.6 LabVIEW time server real 9.0.1 and NOR-RIO 3.4.0.  Same numbers on the computer except that real-time is 9.0.0.

    Any suggestions would be greatly appreciated!

    See you soon,.

    ~ Ben

    : sigh:

    Never mind, I noticed myself when I realized that my RT versions differed.  (Seems that naming scheme would require a little tweaking si.0.1 is quite different for breaking things...).

    Not sure how I managed to get a version more recent of RT on the box as on the pc, but good.

Maybe you are looking for