Error in code like...

Hi,
I have errior of java,.null pointer ...at following codes.
public void onActiontoSubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActiontoSubmit(ServerEvent)
     IWDMessageManager Manager = wdComponentAPI.getMessageManager();
        try
               wdContext.currentRequisition_ItemsElement().setPreq_Item(wdContext.currentRequisition_ItemsElement().getPreq_Item());
               wdContext.currentRequisition_ItemsElement().setDoc_Type(wdContext.currentRequisition_ItemsElement().getDoc_Type());
               wdContext.currentRequisition_ItemsElement().setDeliv_Date(wdContext.currentRequisition_ItemsElement().getDeliv_Date());
               wdContext.currentRequisition_ItemsElement().setMaterial(wdContext.currentRequisition_ItemsElement().getMaterial());
               wdContext.currentRequisition_ItemsElement().setPlant(wdContext.currentRequisition_ItemsElement().getPlant());
               wdContext.currentRequisition_ItemsElement().setQuantity(wdContext.currentRequisition_ItemsElement().getQuantity()
               wdContext.currentBapi_Requisition_Create_InputElement().modelObject().execute(); 
               wdContext.nodeOutput().invalidate();
             catch(WDDynamicRFCExecuteException ce){
                  Manager.reportException(ce.getMessage(), false);
Please help me ..help will be rewarded.
Gurprit Bhatia          

hi,
before setting the value check the element is created or not.
if( wdContext.currentRequisition_ItemsElement() != null)
wdContext.currentRequisition_ItemsElement().setPreq_Item(wdContext.currentRequisition_ItemsElement().getPreq_Item());
wdContext.currentRequisition_ItemsElement()
What is the cardinality of the node Requisition_Items.
if its not 1..n then create an element and then access this.
Regards
Ayyapparaj

Similar Messages

  • Hi, my iphone 4 is stuck telefonu because put the wrong security code. And I can not connect to itunes to update telefonu. I get an error and would like to help me with information Thank you!

    Hi, my iphone 4 is stuck telefonu because put the wrong security code.
    And I can not connect to itunes to update telefonu.
    I get an error and would like to help me with information
    Thank you! [email protected]

    We need the exact error message in order to help you.

  • "Error Result code = -43" AND "Audio file not found"

    In Garageband I was trying to  click Join, but kept getting "Error Result code = -43"
    What does this mean?
    Also, I thought saving the file and restarting Garageband would help, but upon re-opening the program BIG problem: the file (just this one, others are opening fine) has this error message upon opening "Audio file “07 I See the Light.aif” not found!"

    mcgregorsgal wrote:
    so do I have to basically start over?
    for that one recording, it looks like it.
    the error -43 is a system level error, so i HIGHLY doubt this will help, however you can ctrl-click the project file, choose Show Package Contents, open the media folder and preview any audio files in there to see if the missing file is there, but in all likelihood, you will need to re-record it

  • Can you Ignore Error Response Code in HttpUrlConnection?

    I have a problem with a HttpUrlConnection object throwing an IOException when it gets an HTTP Error Response code. Especially when there is an actual response from the server sent back that has more details in it that are actually helpful.
    I would like to just tell the HttpUrlConnection ot ignore HTTP error responses and just pass along the page or data that was returned instead. I need to handle this myself.
    The reason if it matters, is I am sending SOAP Envelopes, and if the Web Service doesn't like it, it will send an HTTP 500 Response Code, but it also sends a response SOAP Envelope that tells me exactly what is wrong.
    Right now to get this response I have to use a Sniffer, or worse since it is HTTPS (ssl) i have to use the jvm's SSL debug mode, and pull the response out of the hex code.
    I couldn't find anything about this, so I am afraid I am SOL, just hoping that there might be an obscure "feature" or "property" that can deal with this, that I can't find.
    ** 10 Duke Dollars to first person to provide a solution that works **

    Just call the getErrorStream() method to read the error response. Eg.
    HttpURLConnection conn = null;
    try {
      conn = (HttpURLConnection)
        new URL("http://www.google.com/givemea404").openConnection();
    } catch (Exception e) {
      InputStream in = conn.getErrorStream();
      int i = in.read();
      while (i != -1) {
        System.out.print((char) i);
        i = in.read();
    }

  • Select query gives error in Code inspector and extended program check

    Hi,
    I have a query .
    SELECT pernr
      FROM pa9100
      INTO TABLE t_nca_tab
      WHERE endda EQ c_date AND
      z_nca_required EQ c_yes.
    This query gives me an error in Code inspector like :
    Large table pa0001: No first field of table index in WHERE  condition
    I have one more query that gives error in extended program check
    SELECT SINGLE stell ename
          INTO (g_stell, g_name)
          FROM pa0001
          WHERE pernr EQ wa_nca_tab-pernr AND
                endda EQ c_date.
    The warning says:
    *In "SELECT SINGLE ...", the WHERE condition for the key field "SEQNR" does not
    test for equality. Therefore, the single record in question may not be unique.*
    Its too urgent.
    Please reply.
    Regards,
    Binay.

    The first field is PERNR .. so if UR not giving pernr it will fetch
    all the data from the said table and between the given dates ..
    Check if this is your requirement ...
    write the select as ...
    where r_pernr is a range ...
    SELECT pernr
    FROM pa9100
    INTO TABLE t_nca_tab
    WHERE pernr in r_pernr  <----
                 endda EQ c_date AND
                 z_nca_required EQ c_yes.
    As UR using select single it's expecting to use all the key
    fields in the where condition ...
    U can ignore this warning message

  • My Nokia N95 doesn't show the codes like *#0000# a...

    My Nokia N95 doesn't show the codes like *#0000# and *#06# anymore. Actually all the codes , even those for restoring to the factory settings  don't work anymore. Now when i type them in  , the phone only bips once and that's all. They worked before , but i don't know exactly what may have caused this error. Maybe some application i installed on it or what else!? Please help. Thank you. 

    >
    Thanks to john3136 . That�s what i neededHELLOOOOO! Where's john3136's Dukes then????

  • Error in Webservice Call HTTP error (return code 404, message conn failed)

    Hi
    We wish to call  a standard EP7 webservice through ABAP.
    When we try to create consumer proxy , we get the following error.
    HTTP error (return code 404, message "conn failed")
    Message no. SPRX090
    ==> Display Error Document
    If you want to generate a proxy for an external WSDL document by specifying a URL, check that the proxy settings of the system are correct (transaction SICF - Client - Proxy Settings). If you want to generate a proxy for an XI Repository object, check the connection to the Enterprise Services Builder as follows:
    Check List for Setting Up a Connection to the Service Repository
    1. The address of the Enterprise Services Repository must be known in the SAP system
    Check with report SPROX_CHECK_IFR_ADDRESS
    The address is taken from the following parameters in the exchange profile ('Connections' section):
    com.sap.aii.connect.repository.name: Server (for example,pwdf0436)
    com.sap.aii.connect.repository.httpport: Port (for example, 1080)
    com.sap.aii.connect.repository.contextroot: Root (for example,rep)
    The logon data is also read from the exchange profile ('ApplicationSystem' section):
    com.sap.aii.applicationsystem.serviceuser.name: User
    com.sap.aii.applicationsystem.serviceuser.pwd: Password
    As an alternative to using the exchange profile, you can maintain the RFC destination SAP_PROXY_ESR. If this RFC destination is maintained it will be used by the proxy generation in place of data from the exchange profile to access the Service Repository. In this case, the Exchange Profile will even not be read.
    The RFC destination has to be set up using transaction SM59 and should look like this:
    RFC Destination: SAP_PROXY_ESR
    Connection Type: G (HTTP Connection to External Serv)
    Description1: ESR for Proxy Generation
    Target Host: esr_host
    Service No: 1080
    Path Prefix: rep
    Logon and Security:
    Basic Authentication: active
    User: esr_user
    Password: esr_password
    2. The HTTP Framework of the Web Application Server must function
    Check with report SPROX_CHECK_HTTP_COMMUNICATION
    If necessary, contact your system administrator. Please be aware of the fact, that the HTTP framework is depending on the application server. Thus the result of the report may differ for different application servers.
    3. Proxy generation must interpret the data of the Enterprise Services Repository correctly
    Check with report SPROX_CHECK_IFR_RESPONSE
    you can also login in dev and go to Xn se91
    enter msg id SPRX and msg no 090
    select the message and click on long text..
    you get the same message in a formatted manner..
    How to get rid of this ?
    Regards
    Rajendra

    Hi
    we have given the correct path as we have tested the webserive from
    other technology (.net) by providing the same path.
    regards
    Rajendra

  • To get notification with error's code

    Hi everyone,
    Database Control
    OMS:
    OMS_VERSION=10.1.0.4.0
    EMAgent10.1.0.4.1
    When some error happend in Database, by Notification I just get like this on mail:
    Name=test
    Type=Database Instance
    Host=dba
    Metric=Generic Alert Log Error Status
    Timestamp=29.04.2008 12:35:03 GMT+05:00
    Severity=Critical
    Message=2 distinct types of ORA- errors have been found in the alert log.
    Rule Name=Database Availability and Critical States
    Rule Owner=SYSMAN
    but in message just "distinct types of ORA- errors" without code of error like ORA-01550 or any other kind of code.
    Is it possible to get distinct code of error in message through Notification ?
    Will be glad to any helpfull advice.

    DBMS Direct,
    But in the post How to be notified for all ORA- Errors recorded in the alert.log file
    11iuser complain about that why he/she just get error number without any explain of arrised error.
    In my situation I just get "distinct types of ORA- errors" without even any error code.
    Perhaps I need to change something in emoms.properties or emd.properties.
    By the way I select Message format -- Long Format
    Sorry for my poor English

  • Mac OS Error Result Code 12082

    Can anyone at all shed some light on this? Recently have been getting an error message when burning DVDs that says "Could not record the disk because of a Mac OS Error: Result Code 12082". OS is 10.3.9, error occurs on a 20" G5 iMac.
    After searching through all the error code listings I can find none that have any info on that one, so would like to throw it out there for assistance.
    Thanks
    20" G5 iMac   Mac OS X (10.3.9)  

    Hello Precise,
    I found this on Roxio's support:
    Mac Os X Error 18775
    sorry if that is not related to your problem,
    littleshoulders

  • Device Error - Sense Code

    I have tried to burn a DVD using Premier 2.0. Once I got a message - Device Error - Sense Code (04 91 C0) the second time I got the same message but a different Code - (04 92 05). A Third time I got an "Unknown Error" message.
    After the first error, I saved it as an AVI, imported it into a new project, fixed the tail end - which had black frames on it, and am burning from that project.
    I have saved the file to a folder and tried to copy it using Magic DVD Writer, and get an error message there, too.
    When I play the DVD using Nero, it looks fine.
    I am using an AOpen writer. Do you suppose it is the burner - or something else?
    The thing is that 2 weeks ago, I burned one and it flew through. Prior to that I couldn't get 2 others to burn, and I ended up saving them to folders on an external hard drive and taking them to someone else to burn the master DVDs. The final movies are great!
    Thanks,
    Penny

    Penny,
    Usually "Sense Code" errors reflect a problem with the burner and the process.
    This can be:
    1.) burner is bad or improperly connected
    2.) burner is "in use" by another application, like a packet-writing module from Nero or Roxio, or even the OS itself
    3.) media is not the correct type, has been used or is bad
    Let's check these in order.
    1.) does this burner function properly in any other application? If so, we can *probably* eliminate #1
    2.) do you have Nero, Roxio or does your OS have a packet-writing (drag-n-drop) application? If so, this is *probably* the cause. If not go down to the next level. Adobe authoring apps need 100% control of the burner. If you must keep the packet-writing app, then look into the free ImgBurn program to actually do your burns.
    3.) what brand of media are you using and what type is it? Have you used this brand and type before? If so, could this particular disc have already been written to, even if it was an aborted burn? I use Taiyo Yuden, or Verbatim blank DVDs, and none has ever failed to burn, or to play in a client's player. Note: some brands, like Memorex might actually contain several different producer's media, marked with their name - part of a spindle can be perfect and the rest bad. Ritek used to have a good rep, but lately they have been causing as many problems as Memorex and "bargain brands." Always use the best media you can possibly afford, and burn at the slowest speed, if your burning app allows you to reduce the burn speed.
    Chances are that the cause is one of the above. If you go though all three of these and are still having problems, let us know the answers to the questions posed in the solutions area.
    Good luck,
    Hunt
    [Edit] John types much more quickly, than I do!

  • DBM_CONNECT error, return code -11, tp error

    Hello
    I have an SCM 5.0 ABAP-only system (sid=APC) not correctly communicating with a 7.6.0.3 liveCache.  In transaction LC10, clicking the monitoring button for any DB connection results in:
    Name and Server     : LPC - dngdbs07                         
    DBMRFC Function     : DBM_CONNECT                            
    Error               : DBM Error
    Return Code         :        -11
    Error Message       : tp error: sapparam: SAPSYSTEMNAME neithe
    Notice how error message is cut off ...
    1.  LCA, LDA, and LEA connection tests in DB59 all fail with the same error.
    2.  From transaction SM49, dbmcli -d LPC -n dngdbs07 -tpp no_longer_used -tpi APC -tpc LCA <any command> fails with the same error.
    3.  From the command-line, dbmcli -d LPC -n dngdbs07 -tpp no_longer_used -tpi APC -tpc LCA <any command> succeeds for both apcadm and SAPserviceAPC users.  (ABAP system is Windows, liveCache system is HP-UX.)
    4.  RFC destinations SAPDB_DBM, SAPDB_DBM_DAEMON, and SAPXPG_DBDEST_<HOSTNAME> are all successful.
    5.  I un-checked the Central Authorization checkbox in LC10 --> Integration and the error goes away, so I can then see the liveCache system status.
    I tried debugging the ABAP and it appears sapxpg is having trouble calling the external command when Central Authorization is enabled.  Does anyone have any ideas about what's wrong with this? 
    SAP_BASIS SP 14
    NW 700 kernel patch 159
    non-unicode
    Thanks

    > Name and Server     : LPC - dngdbs07                         
    > DBMRFC Function     : DBM_CONNECT                            
    > Error               : DBM Error
    > Return Code         :        -11
    > Error Message       : tp error: sapparam: SAPSYSTEMNAME neithe
    >
    > Notice how error message is cut off ...
    Ok, the cutoff is just due to the error handling routine - I believe the full error message would be "SAPSYSTMNAME neiter in environment or parameterfile specified" or something like this.
    > 1.  LCA, LDA, and LEA connection tests in DB59 all fail with the same error.
    Of course they do - they are all the same connection setup, just for different purposes.
    > 2.  From transaction SM49, dbmcli -d LPC -n dngdbs07 -tpp no_longer_used -tpi APC -tpc LCA <any command> fails with the same error.
    Of course it does. The TP is used to get logon data from the SCM database (central authorization) for the logon to the liveCache. with the -tpp -tpi -tpc arguments you tell dbmcli to use TP.
    > 3.  From the command-line, dbmcli -d LPC -n dngdbs07 -tpp no_longer_used -tpi APC -tpc LCA <any command> succeeds for both apcadm and SAPserviceAPC users.  (ABAP system is Windows, liveCache system is HP-UX.)
    Well, perhaps you've  a different environment setup here? On Windows it's a quite common issue that everything works fine as <SID>adm but the SAP workprocesses run as SAPSERVICE<SID> ... so checking the environment variables for both might be a good idea.
    > 4.  RFC destinations SAPDB_DBM, SAPDB_DBM_DAEMON, and SAPXPG_DBDEST_<HOSTNAME> are all successful.
    Sure - they've nothing to do with TP. Instead these are just calls to the dbmcli command. SAPDB_DBM is just running one command and returning the result, where SAPDB_DBM_DEAMON is used for multiple commands in one DBM session.
    > 5.  I un-checked the Central Authorization checkbox in LC10 --> Integration and the error goes away, so I can then see the liveCache system status.
    Also quite clear - TP is only used with dbmcli when central authorization is used. If it's not used, then XUSER data is used to connect to the liveCache.
    > I tried debugging the ABAP and it appears sapxpg is having trouble calling the external command when Central Authorization is enabled.  Does anyone have any ideas about what's wrong with this? 
    As already said: check the environment variables. Also check the Transportprofile (TMS).
    If you don't succeed: open a support message.
    regards,
    Lars

  • I/O error result code= -36 ???? Please help!!

    Im running studio with apogee duet, just got the apple care (god bless it) superdrive replacement, now I get audio input output functioning realtime, but *** soon as I attempt to record the error pops up. I cant find anyone else with this problem, and apogee unfortunately was clueless. I find it strange that an I/O error is occurring when I pass audio in/out no problem. It blasts the error as soon as I press that quick key R.
    I'm running ProTools8 in the meantime on a MBox and it feels so inadequate/fake/unprofessional/. Show me why it was a good thing apple bought out E-Magic fellas!!!
    P.S. where do you guy get the definitions of these codes?

    I have never experienced that error, but I Googled "I/O Error: Result Code=-36" and found this...
    It really has nothing to do with Logic. It is a Mac OSX error being passed on
    by Logic. It has to do with not being able to write to the drive. You can
    get this error in Logic if your recording drive is too full, is too
    fragmented, or the directory is messed up.
    Some things you can do to solve the problem are: Make sure you are recording
    to a drive other then the system drive, make sure you have plenty of free
    space on the recording drive, repair permissions, defrag the recording
    drive, or run a disk utility like Disk Warrior to check and repair directory
    issues.
    Hans
    here is the link to that ...
    http://logic-users.org/forums/LUG/thread/81375

  • I/O Error result code -36: Logic bug, or Mac OSX bug?

    Hello-
    I encountered a problem in Logic Pro 8 today that severely damaged one of my audio files in my session. I was working in the sample editor, and I went to copy and paste an audio fragment. When I tried to paste the audio, this error came up:
    "I/O Error, result code = -36"
    After that, the cursor turned into a black and white spinner, and the audio file that I was working with suddenly was altered in a way that somehow erased a portion of it in the song. I had to ability to undo, view the changes in the audio file, etc, etc. It was damaged irreversibly, and I had to end up re-recording that segment. Does anyone know why this happens, and is it a bug in Logic?
    BTW, I have over 500 gigs free on the external drive that I am recording to, and nothing has changed, hardware-wise on my system in over 6 months... Any help would be greatly appreciated.

    Adam Nitti wrote:
    Hello-
    I encountered a problem in Logic Pro 8 today that severely damaged one of my audio files in my session. I was working in the sample editor, and I went to copy and paste an audio fragment. When I tried to paste the audio, this error came up:
    "I/O Error, result code = -36"
    After that, the cursor turned into a black and white spinner, and the audio file that I was working with suddenly was altered in a way that somehow erased a portion of it in the song. I had to ability to undo, view the changes in the audio file, etc, etc. It was damaged irreversibly, and I had to end up re-recording that segment. Does anyone know why this happens, and is it a bug in Logic?
    BTW, I have over 500 gigs free on the external drive that I am recording to, and nothing has changed, hardware-wise on my system in over 6 months... Any help would be greatly appreciated.
    This sounds like one of two things that I have seen with this error :
    1.- your external hard drives' connection to the computer is not 100% stable (loose cable...dusty environment...)
    2.- Your audio device, is ti FireWire too? Is it daisy chained to this external hard drive? Maybe the order of the daisy chaining needs to be looked at.
    Cheers

  • I/O Error: Result Code=-36  HELP!!!

    Anyone got any idea what this is about? The problem in a nutshell is as follows...
    I'm running Logic 7.2.3 on a G5 (PowerPC version) with a dedicated, built in 250gig HD for audio. Over the last week I've suddenly become aware that everything I thought was being saved to this HD is impossible to access anymore and I get the above error code coming up each time.
    However, anything recorded to this HD prior to the last week still opens fine with no issues at all.
    Tell me I'm being stupid and have done something ridiculous, please!!! There's a whole lot of work down the drain if that's not the case.
    Any help you can offer would be greatly appreciated.
    Thanks.

    I have never experienced that error, but I Googled "I/O Error: Result Code=-36" and found this...
    It really has nothing to do with Logic. It is a Mac OSX error being passed on
    by Logic. It has to do with not being able to write to the drive. You can
    get this error in Logic if your recording drive is too full, is too
    fragmented, or the directory is messed up.
    Some things you can do to solve the problem are: Make sure you are recording
    to a drive other then the system drive, make sure you have plenty of free
    space on the recording drive, repair permissions, defrag the recording
    drive, or run a disk utility like Disk Warrior to check and repair directory
    issues.
    Hans
    here is the link to that ...
    http://logic-users.org/forums/LUG/thread/81375

  • Error Class Code: 70 on Linux Redhat 6.0

    hi guys!!
    I was installing package by using yum commad on my fresh Linux Red hat 6.0 which i have installed it first time  as follow.
                        $ yum install libaio-devel-0.3.107-10.el6.i686
    But it return error as:
    Loaded plugins: refresh-packagekit, rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Setting up Install Process
    No package libaio-devel-0.3.107-10.el6.i686 available.
    Error: Nothing to do
    So to reslove this I created account on rhn.redhat.com. I saw under "Registered system" that there was no old system registered. Then I tried to register my system with rhn as follow.
    1. Login as root
    2. rhn_register
        After supplying username and password it returns error like
    Error Class Code: 70
    Error Class Info:
         All available subscriptions for the requested channel have been exhausted.
         Please contact a Red Hat Network Sales associate.
    Explanation:
         An error has occurred while processing your request. If this problem
         persists please enter a bug report at bugzilla.redhat.com.
         If you choose to submit the bug report, please be sure to include
         details of what you were trying to do when this error occurred and
         details on how to reproduce this problem.
    So how can i resolve this error?
    Plz help me....

    As the error states:
    Please contact a Red Hat Network Sales associate.
    If you have a problem with your Red Hat subscription you should contact Red Hat support. It has nothing to do Oracle and I'm afraid no one here will help you with it. RHEL is not a free product beyond its evaluation period.
    Perhaps you might want to take advantage of Oracle Linux as mentioned in your previous discussion at https://forums.oracle.com/thread/2593755
    Here are some more links that may help you to make the right decisions:
    https://linux.oracle.com/switch.html
    https://blogs.oracle.com/linux/entry/migration_made_easy_switch_from
    http://www.oracle-base.com/articles/linux/oracle-linux-frequently-asked-questions.php

Maybe you are looking for