Display exception in Adapter monitoring

We have a requirement in which we need to convert a specific flat file structure into XML and then pass the message using XI. For this we have deployed an EJB module which is doing this conversion from flat file to XML. This EJB is being called from XI and takes as input two parameters, the rootnode and namespace.
The flat file is divided into sections delimited with the character '['. One of the requirements for the EJB module is that if a certain section ([TRAILER]) is not present in the flat file then the EJB module should throw an exception. I have used stateless session bean to generate the EJB and if the TRAILER section is not present then have thrown a ModuleException from within the EJB containing a user defined message ("Trailer not present").
Now when I view the log for the Java stack, this user defined message is present when the flat file does not have a TRAILER section. However, in the adapter monitor, for files not containing the TRAILER section, its throwing a NullPointerException.
Can anyone help out as to why this is happening and how to get the user defined exception in the adapter monitor.

refer the how to guide on modules. you can set trace and raise exceptions in modules.
https://websmp205.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&

Similar Messages

  • Sender ADapter Monitor- ArrayIndexOutOfBOunds Exception

    Hi
    As me subject line reads,  I am getting an "ArrayIndeXOutofBOunds 9" exception at the sender adapter monitor logs in the RWB.
    I have an a<i>dapter monitor module</i> that picks up the file from the source  and pushes the file to a target directory based on some condition. I am able to see the file being pushed to the target directory but not able to view the "pipeline steps" in the message monitor.
    Do you think a restart of the server might fix the issue/ do you think there is a problem in my code. I have used just one array and i have checked that array if it is being accessed out of its bounds?
    Thanks
    krishna

    Hi,
    >>>>>ArrayIndeXOutofBOunds 9"
    looks like an error in code
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Click "adapter monitoring"  cause  "The page cannot be displayed"

    At RWB, the "adapter monitoring" used to be OK.
    But now it gives
    "The page cannot be displayed".
    How to debug it?
    Thanks!

    Hi,
    can you try a direct link:
    http://server:port/mdt/amtServlet ?
    BTW
    try restarting RWB (close all IE windows and open it again)
    Regards,
    michal

  • Adapter Monitoring - "Page cannot be displayed"

    Hi
    In RWB, Component Monitoring --> Adapter Monitoring, I'm getting page cannot be displayed error.  Can u please let me know why it is happening and what needs to be done for this ?
    Thanks
    Sreenivas

    hi,
    did you try this link:
    http://xiserver:port/mdt/amtServlet
    if so did you try to refresh ?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Cannot display Adapter Service in Adapter Monitor - XI Runtime Workbench

    Dear Experts,
    I have already done the system copy XI 3.0 from Win Server 2003 32bit to WIn Server 2003 64bit.
    I have also done the post activities in NW AS ABAP system copy and NW AS JAVA system copy.
    I have a problem now,
    I cannot display the adapter service in SAP XI Runtime Workbench ( http://jktbtr-sap01:50000/rwb/index.jsp )
    Tree Domain -> Integration Server  -> Adapter Engine jktbtr-sap01
    Button Adapter Monitoring.
    In the previous source system I can see all the adapter service : BC, File, JDBC, JMS, JPR, Mail , RFC, SOAP, XI.
    But in the target system, I just found JPR with red light.
    What configuration should I set to register and start those adapter services in target system?
    Regards,
    Adhi

    can u check whether u are able to see the list of adapters in communication channel. when u select the adapters.
    also do the CPACACHE refresh.
    chirag

  • Before starting AHT, be sure to disconnect all external devices except the keyboard, mouse, display, and Ethernet adapter. Also disconnect any external optical drives. What does this include?

    Before starting AHT, be sure to disconnect all external devices except the keyboard, mouse, display, and Ethernet adapter. Also disconnect any external optical drives. What is included in these external devices?

    I have tried repeatedly to use the Apple Hardware test on my iMac desktop 10.7.3 early 2009 4 GB with no luck.  What am I doing wrong? I have everything I can think of unplugged.  Do I need to disconnect BlueTooth in Preferences?
    Thanks

  • What do i need to connect my 30" cinema display as a second monitor to my new 27" imac?

    I recently purchased a new iMac and want to run my 30" cinema display as a second monitor. My local mac experts told me to use a mini display to dvi adaptor, but that didn't work for any of my cinema displays - the 30" that i want to use and a 21" that I have. I called the guys back up and after a little research, he told me to get a mini display port to dual link dvi adapter. This costs $99, so I want to be sure it's going to work.
    Does anyone know if this will work, or if there is a better idea, or ****, does the new iMac even except a 2nd monitor.
    Thanks. Looking forward to your input.

    Well I may have heard wrong, but I do not believe that you can hook that 6 year old monitor to the latest 27" iMacs with ThunderBolt. I would do more research before putting out the bucks, or make sure that you can return it if it does not work.
    But do let us know if you try it and it works.

  • Error in File Adapter Monitoring

    Hi,
    I have created a Sender Communication Channel to pick the file:
    The following error message is being displayed in Adapter Monitoring:
    Sender Adapter v2622 for Party '', Service 'BS_TRD_PILOT_YOGS':
    Configured at 2006-12-19 05:52:17 UTC
    History:
    - 2006-12-19 05:56:01 UTC: Retry interval started. Length: 60.000 s
    - 2006-12-19 05:56:01 UTC: Error: Conversion of complete file content of 'OB10_input.xml' to XML format failed around position 0: Exception: ERROR consistency check in recordset structure validation (line no. 14: missing structure(s) before type 'E1EDK14'
    - 2006-12-19 05:56:00 UTC: Processing started
    - 2006-12-19 05:55:01 UTC: Error: Conversion of complete file content of 'OB10_input.xml' to XML format failed around position 0: Exception: ERROR consistency check in recordset structure validation (line no. 14: missing structure(s) before type 'E1EDK14'
    - 2006-12-19 05:55:00 UTC: Processing started
    Please anybody do the needful.
    Thanks,
    Yogi.

    Hi Yogi,
    Just go thru your source structure once again.Such type of errors usally come when your source structure is not proper adn also when the parameters for comm'n channel are not mentioned properly.
    Usually the Content Conversion Parameters(recordset structure and recordset sequence fileds).
    regards
    Madhu

  • Adapter Monitoring in RWB

    Hi-
    I am having a IDOC to File scenario, The scenario was working fine but all of a sudden i am unable to send the File out,i don't see any errors in the Monitor.But the file is not present in the file system.So i went to RWB and clicked on adapter monitoring.I see all the adapter greyed out except the JPR and Xi adapter.JPR is in RED with a message.
    SLD host:port = homexi18:50000
    Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for XI3.SystemHome.homexi18 found
    No access to get JPR configuration
    What should i do?? is there something i should restart?
    Thanks
    Venkat

    HI Venkat,
    Can you check the File Adapter status ? Is it in Grey color ? If so , is this adapter is active in ID ?
    1) Try to change something in the File Adapter and activate it . And check the Adapter monitoring for the status..
    Are you able to see the messages in Message Display Tool(MDT)
    i.e RWB->Message Monitoring->MDT->Audit Log
    If you have still problem, then check the Adapter engine Cache etc.. Refresh the cache in SXI_CACHE for the Adapter Engine.
    Check the Adapter Metadata in the SAP BASIS Component in the IR..
    For more-
    https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf
    Hope this helps,
    Regards,
    Moorthy

  • Problems in adapter monitoring

    Hi all,
    We have a problem when we try to see the list of adapters in the adapter monitoring. It is showing only JPR adapter and the names of all the other adapters are missing.
    But we were getting the names of all adapters when we are trying to configure the adapter in the communication channel. We are working on a newly installed XI.
    Can anybody help me in this.
    Thanks in advance,
    Divija

    Hi Michal,
    We have already imported the .tpz file of SAP Basis 6.40 but still we are unable to find any adapters under the Adapter monitoring. 
    When we click Adapter Monitoring, we only get JPR with a red status.  Also on clicking the JPR node, the SLD access is also having red status.  The error message is pasted hereunder:-
    Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for XIT.SystemHome.itcxi1 found
    No access to get JPR configuration
    Kindly suggest how to get all the adapters displayed under Adapter Monitoring.  Thanks in advance.
    Regards.
    Bagavathi

  • HT201177 How to connect my MBP 13" (Mid-2012) to a projector/LED TV using a mini-display port VGA adapter (CAPDASE)

    Hello Sirs, I'm having a hard time connecting my MBP 13" (mid-2012) to my projector using my mini-display-VGA out adapter. But when I switch to Windows 7 (via bootcamp), it can easily be connected... Please help me with this problem. Thanks

    Try connecting the Minidvi to the VGA and connect it all together, first try turning ing on the MBP, then connecting dvi to the the projector. Make sure your projector input is set for VGA. If noo joy invert the affored mentioned proceedure. You should see your image if not, try going to system preferences>displays, click display.   Try readjusting the resolutions in display. reboot monitor.

  • Mac Mini 2012 and I want to use a new 27" Lighting Display and my old 27" Cinema Display as a second Monitor

    Evening all,
    I have a Mac Mini that I have been using a 27" Cinema Display on for a couple years - works GREAT, love the Mini and that display. The Cinema Display has Power for a Laptop, USB connector and a Mini Display Port connection on it.
    I am a Guitarist / Songwriter and I use Pro Tools a lot. So I thought I would invest in the new Lightning Display for my Mac Mini. I would get the extra ports for Firewire, and USB, as well as now I could "Daisy Chain" my old Cinema Display off the new Lightning Display.
    WHAT A PAIN IN THE BUTT THIS HAS TURNED INTO !!!!  I have honestly spent more than 6 hours trying to find adapters or ways to make these monitors BOTH work at the same time with the Mac Mini ( you know, a Dual Monitor Setup . . .)
    HELP !!!
    1 - If I could find a HDMI MALE to Mini Display Port FEMALE adapter, I would run it on the HDMI interface - apparently no such adapter exists.
    2 - You apparently can NOT daisy chaine the Cinema Display off the Thunderbolt Port on the new Monitor ( silly that that does not work, but it does not )
    I am really stuck here - how do I get these monitors to work as "Dual Monitors" on the Mac Mini ???
    Thanks !

    The HDMI port won't work for a 27" monitor, it maxes out at 1920*1200...
    Supports dual simultaneous displays -- 1920x1200 on an HDMI display or a DVI display using the included HDMI-to-DVI adapter and 2560x1600 on a Thunderbolt or Mini DisplayPort display or even a VGA display (with adapter). Thunderbolt is backwards-compatible with Mini DisplayPort-equipped displays as well as adapters that are compatible with Mini DisplayPort (DVI, VGA, dual-link DVI and HDMI).
    http://www.everymac.com/systems/apple/mac_mini/specs/mac-mini-core-i7-2.3-late-2 012-specs.html

  • How to connect a cinema display and a VGA monitor to mac mini

    I bought a Macmini and want to connect to a cnema display and to a monitor that uses VGA connection. I also bought a MiniDisplayPort to VGA adapter but the MacMini only has ONE Minidisplay port.  I thought this would be more straitforward....

    I'm unsure of the issue, the Mini has both mDP and HDMI outputs, right? If so, the mDP for the Cinema Display an a HDMI to VGA adapter for the 2nd monitor.

  • Mini Display to VGA adapter stopped. The Mini Display to HDMI is still working fine. How´s that possible?

    The mini display to VGA adapter had stopped, whinle the Mini Display to HDMI keeps working fine. The minid display to VGA adapter was replaced and the VGA cable as well, and the problem is the same. This test was made with two diferent monitors with VGA entries. How´s that possible to happen? Is that a configuration trouble in the MBP?

    The Apple´s customer support gave us the solution for this problem:
    SMC reset
    PRAM reset
    The VGA adapter return to work properly aflter this procedure.

  • Best Mini Display to DVI adapter for 2011 17" MBP w/no blocked ports!

    I am looking to get a Mini Display to DVI adapter for my 2011 17" MBP.
    +(Preferably it would even be one with a 6' cord.)+
    It is not clear which one I should buy. Apple's (adapter only, no cord), is $30, while I can see others for far less on Amazon.
    I have read that some of these adapters actually block the FW800 and USB ports on either side.
    A blocked, or displaced FW800 port is a deal breaker.
    1. Can someone with a 2011 17" MBP tell me that they have either one of these adapters, or the one with the cord, and that it doesn't block their FW800 port? (I'll pay the $30 (albeit grudgingly) if its the only one that works.)
    2. This may be a dumb question, but the specs on these adapters say that they are capable of 1080p resolution. Would that mean they would work with a 1920x1200 monitor?

    You might want to try the "MBP Display" discussion threads, might be able to find what you are looking for in there or get better support there.
    I don't think I can help very much, but I have the Apple's adapter (no cord) and it doesn't block my usage of FW.

Maybe you are looking for