RuntimeException in RequestMessageMapping .but works fine in message mappin

Hi ,
I m doing a JMS-RFC scenario. (wiht Content Conversion) I m getting a Message mapping Runtime Exception in SXI_MONI. (Java Null Pointer Exception)
But when i copy the same payload and tested in Message mapping, it works fine.
When i tried  the same scenario with a File Channel instead of jms channel, it works firn for the same input message. any suggestions, wat might have gone wrong?

Hi Aarthi,
Basically null pointer exception is occured when you perform some operation on an object which is null or calling some method on the object that is null. It is nothing but patching the problem and it is not the right way. You should try to avoid performing any operation on null object.
In XI it will occur only in mapping (Graphical mapping and java mapping) if u used any UDF in it.
refer the following link
http://c2.com/cgi/wiki?NullPointerException
when you are writing any UDF don't forget to catch the exception, How to catch the exception showed below...
When you encounter a NULL pointer exception ( Null pointer exception is the exception that is thrown by the JVM when you perform some operation on an object which is null or calling some method on the object that is null), you should not try to handle that exception i.e., DONT try ...catch the null pointer exception. It is nothing but patching the problem and it isin't the right way. You should try to avoid performing any operation on null object.
Eg:
object.method();
Assume this statement generates a null pointer exception.
Wrong method :
try {
object.method();
} catch ( Exception Ex) {
// handle the exception
Correct Method :
if ( object != null) {
object.method();
Regards,
Vinod.

Similar Messages

  • BPEL process fails in SOA (in UNIX), but works fine in SOA (in Windows) env

    Hello,
    BPEL process fails in SOA (in UNIX), but works fine in SOA (in Windows) environment
    Step 1: Build a asynchronous BPEL process which has no extra node. Make and deploy it in 'local windows desktop SOA' server
    The BPEL process has three nodes:
    a. client - on the left side of the swim lane
    b. receiveInput - first node in swim lane (client calls 'receiveInput')
    c. callbackClient - second and last node in the swim lane ('callbackClient' calls client)
    Step 2: Go to BPEL console and 'Initiate' the BPEL process -> 'Post XML Message'
    Step 3: Now, I can see the successfully completed BPEL instance in the BPEL console.
    Now,
    Step 4: Deploy the same BPEL process (dummy asynchronous) in the SOA server (hosted in unix box)
    Step 5: Go to BPEL console and 'Initiate' the BPEL process -> 'Post XML Message'
    Step 6: I find that the BPEL instance appears to have ended in error (on the second node i.e. callbackClient )
    With the following error message
    +<invalidVariables xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>9710</code>+
    +</part><part name="summary"><summary>Invalid xml document.+
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-complex-type.2.4.b: The content of element 'DummyBPELProcessProcessResponse' is not complete. One of '{"http://xmlns.oracle.com/DummyBPELProcess":result}' is expected.
    Please make sure that the xml document is valid against your schemas.
    +</summary>+
    +</part></invalidVariables>+
    Has anyone faced similar issue as above ?
    i.e. process works find in windows environment (local SOA), but fails in SOA server in UNIX environment
    Appreciate your help in understanding this issue.
    Thanks,
    Santhosh

    Hello,
    The fix to this issue appears to have been as follows:
    +<schema attributeFormDefault="unqualified"+
    +     elementFormDefault="qualified"+
    +     targetNamespace="http://xmlns.oracle.com/DummyBPELProcess"+
    +     xmlns="http://www.w3.org/2001/XMLSchema">+
    +     <element name="DummyBPELProcessProcessRequest">+
    +          <complexType>+
    +               <sequence>+
    +                    <element name="input" type="string"/>+
    +               </sequence>+
    +          </complexType>+
    +     </element>+
    +     <element name="DummyBPELProcessProcessResponse">+
    +          <complexType>+
    +               <sequence>+
    +                    <element name="*:result*" type="string"/>+
    +               </sequence>+
    +          </complexType>+
    +     </element>+
    +</schema>+
    In DummyBPELProcess.xsd,
    modifiying "result" to ":result" appears to have resolved the issue in SOA under unix environment.
    If anyone can explain why "result" works in SOA under windows and ":result" works in SOA under unix environment, I would really appreciate your help.
    Thanks,
    Santhosh

  • I have a Mac running 10.9.2. My wireless mouse with not scroll in mail but works fine in other applications? Any suggestions?

    I have a Mac running 10.9.2. My apple wireless mouse will not scroll in Mail but works fine in other applications.
    Any suggestions?

    First, see this discussion. If the solution suggested there doesn't work for you, continue.
    If you've installed a Mail plugin called "Mail Unread Menu" and you know how to remove it, please do that, then quit and relaunch Mail. Test. Otherwise, see below.
    Back up all data.
    1. Triple-click anywhere in the line below on this page to select it:  
    ~/Library/Mail/Bundles
    Right-click or control-click the highlighted line and select 
    Services ▹ Open
    from the contextual menu.* A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.
    2. Repeat with this line:
    /Library/Mail/Bundles
    This time you may be prompted for your login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • HP ProBook 5220m Fan not working with battery power but work fine with adapter plugged in

    Hi,
    Any one have this issue?
    HP ProBook 5220m (Bios Version F50) Fan not working with battery power but work fine with adapter plugged in.
    This issue was found in my replacement motherboard. the original mother do not have this issue.
    The origianl mother to be replace is due to can't power on after a power failure recovery. I believe was due to power surge killed the motherboard's power controller circuitry.
    Appreciate any one can provide clue for resolving the problem.
    I have tried to install speedfan to try my luck, but it can't any fan in the application to configure. (Bios Version F50) 

    @wheng 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • HT1414 touch screen does not work on my ipod when playing music on itunes, but works fine on every other thing on ipod

    touch screen does not work on my ipod when playing music on itunes, but works fine on every other thing on ipod, can anyone help or what is the cause

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • My iphone5 wont charge with usb port but works fine with wall plug... Infact computer. Doesn't recognizes the iphone

    Battery not charging with usb port but works fine with wall plug.. So the prob is computer is not detecting the iphone5 . This problem started after upgrading to 6.1.3 version

    Try to see what happens on another computer. If it works on another computer, the issue is not at the iPhone.

  • Superdrive no longer recognizes CD, but works fine with DVD

    my Superdrive seems to have a problem recognizing any type of CD media, but works fine with DVD media.
    I reinstalled Leopard and still the same problem. I also zapped the NVRAM (this is an Intel 2.0 Ghz Mac Mini w/ 2 GB Ram.
    Is there anything else I can do or do I just need to replace the drive?

    Typically when this sort of symptom appears, it relates to a hardware failure, either due to a faulty lens, or dirt. You might try a lens cleaner to ensure it is not the latter.
    Since this is a 2.0GHz mini, it ought to be still under warranty - if that is the case it would be wise to have Apple, or an approved service provider, check it and undertake any necessary repairs.

  • People picker is not working for ie11 but working fine for other lower version

    i am using sharepoint 2010 and windows authentication
    recently i have updated my ie to ie11 and problem goes here.
    when i try to select from people picker, there are an unexpected error happened 
    however when i use other ie version, people picker work fine, what goes wrong?
    i have already added my system as trusted site
    if there any others thing i miss out?

    Hi,
    According to your post, my understanding is that People picker is not working for ie11 but working fine for other lower version.
    IE 11 is known to have compatibility issues on SharePoint 2010, please make sure to:
    first of all, try installing latest update for IE 11 (several compatibility issues were fixed since the first release)
    add the site to compatibility view (in IE> Tools> Compatibility view settings> type site name> add)
    add the site to trusted sites and set the zone security level to low (in IE> Internet Options> Security> trusted sites> sites>add your site there> ok> custom level> select low> reset> ok)
    You can use developer tools (f12) and set browser mode to the version that is most compatible with your environment.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I just installed CC Lr 5.5 and it will not open on my laptop but works fine on my desktop.

    I just installed CC Lr 5.5 and it will not open on my laptop, but works fine on my desktop.

    Try this:
    https://helpx.adobe.com/lightroom/kb/unable-launch-lightroom-55.html

  • TS2972 First night I was able to watch 2 TV shows (45 min each) with no problems, but thereafter programs will not stream without constant pause to buffer. Weather conditions are ideal and my internet comes from crappy hugesnet, but worked fine the first

    First night I was able to watch 2 TV shows (45 min each) with no problems, but thereafter programs will not stream without constant pause to buffer. Weather conditions are ideal and my internet comes from crappy hugesnet, but worked fine the first night.

    The speed may have been ok at that time and is too inconsistent/too slow overall. interference may have proven to be more of an issue since as well. If using public DNS that will provide Intermittant results
    I'm sure using a hotspot would be fine but it depends on your viewing habits. An HD movie is around 4-5GB. It would also be subject to speed. requirements so best to test to see how it compares.
    You would have to check with your Carrier if hotspot it's enabled then just to into your settings and toggle it ON

  • Newest version of flash player not playing in newest version of google chrome but works fine in IE

    newest version of flash player not playing in newest version of google chrome but works fine in IE

    jennifer.jones214 wrote:
    In your  opinion, should I uninstall Firefox if I am installing Waterfox?
    Waterfox can coexist peacefully with Waterfox.  I have both installed, but never use Firefox any more.
    Not only can Waterfox run in 64-bit address space, it also is better optimized during compile time than Firefox.  (For obvious reasons; Firefox is compatible with many old systems, Waterfox only needs to be compatible with new 64-bit systems.)
    P.S. regarding Chris' advice above; Firefox and Waterfox use the same profile, so if that is actually the problem, then it will occur in both browsers.

  • I changed my apple id and everything works fine except message and face time. I cannot reactivate imessage and facetime shows my email to send and receive instead of my mobile number.

    I changed my apple id and everything works fine except message and facetime. I cannot reactivate imessage and facetime is using my email instead of my mobile number. How do I reactivated message and use my mobile number on both applications?

    I apologize. I misread your statement.
    The information that I provided about adding the phone number back to the iPad is valid and should work. Now as for the activation of messages, take a look at these support articles for starters. Hopefully, something in one of these will help.
    iOS: Troubleshooting FaceTime and iMessage activation
    iOS: Troubleshooting Messages - Support - Apple

  • After updating to iOS 6.0.1 "Yahoo! Server Unavailable" but works fine on iPhone.  Help please!

    after updating to iOS 6.0.1 "Yahoo! Server Unavailable" but works fine on iPhone.  Help please!

    GIve it time. Yahoo has been have persistently random issues in past weeks. If you don't want to wait, you can try deleting and readding your account info.
    The issue is on yahoo's end and all their updates/upgrades.

  • My imac feels really hot, but works fine.  Should I be worried?

    My imac feels really hot, but works fine.  Should I be worried??  My son plays a Star Wars game on line that seems to make it become really hot.  He says it skips during the game, so he gets out of the game.  When I check the computer, everything is fine.  Thanks!!

    alb,
    What you are experiencing is fairly commom.  When our grandkids play games on our Mac, that's when things do get pretty warm, especially in the upper left hand corner where the CPU is.  The imac does rely heavily on "heat sink" technology instead of high speed, noisy fans to keep things running properly.  That being said, be sure to keep the vents that are located on the top back section of the computer screen, clean.  This will allow for proper venting. If your son plays computer games long and often, you can keep a small external fan running in back of the Mac. This may be appropriate in the hot Summer,  in a non air conditioned environment.
    Wuz

  • I try to log in to password protected sites and nothing happens but works fine on Internet Explorer. Can't get past login page. I even had to use Internet Explorer to login to ask this question!

    I try to log in to password protected sites and nothing happens but works fine on Internet Explorer. Can't get past log in page. I even had to use Internet Explorer to login to ask this question!
    On the page where you enter username and password after entering and pressing "Log in" the page just stays in place. If you look at the error log you see
    "Warning: Unknown property 'border-radius'. Declaration dropped.
    Source File: https://support.mozilla.com/media/css/common-min.css?build=3fabbc0
    Line: 1"

    Make sure that you do not block the referrer.
    * http://kb.mozillazine.org/network.http.sendRefererHeader
    Also make sure that you do not block cookies in Firefox or the firewall.
    * [[Cookies]]
    * [[Enabling and disabling cookies]]

Maybe you are looking for

  • Ipod nano error message 13019

    Lately, when I sync my ipod nano I have been getting an error message of 13019. It won't let me sync anything to my ipod. I have tried to restore it and everything and it is still not working. Not sure what to do and could really use some help?

  • How to list a calculated column in Main Report from a subreport

    Hello all, I am using CR 2008 and I have a coulmn in my subreport which I was to list in my main report. Let's say I have a main report which is run by item number and then I have a subreport where I have calculated annual usage of items and then I w

  • Parallel instances using ONE Action Engine

    Hi Everyone. I just wanted to see what type of ideas this would bring to this issue. I have an AE that holds all the pointers (or referances) that 20 instances of a reentrantVI use in parallel. Obviously the issue is the execution speed as all the in

  • Using Adobe Flash Player on Iphone?

    Is there a way to use videos created with Adobe Flash Player on an iphone or ipad?  I would really like to use this software and create them but believe we are missing a big audience.  If anyone has found a way, would you please share with me?

  • Sync error AND can't uninstall AND can't download new iTunes

    So last week I tried to add some stuff to my iPod because I hadn't in a while. When I connected it to the computer and opened iTunes, I got an error message about the sync-up. I got on the 'net to download an iTunes update (10.7 at the time, I believ