Skip to Content
Former Member
Aug 30, 2007 at 02:39 AM

Leading space in XML causing mapping error


Hi Experts,

I am tranfering data from JMS queue to BW using JMS and XI adapters respectively. The xml message that is coming from the JMS Queue has got a leading space. Therefore, in our PROD system one message threw a null pointer exception in the mapping program and blocked the queue. Everyday there are more messages coming and waiting in the queue to be processed.

Now, I can not delete the message that is throwing the error cause the subsequent messages has the leading space as well and they will throw the same error.

I also can not afford loosing data.

Anybody has any idea how to relosve this.

Award points for any clue.

Thank you.