cancel
Showing results for 
Search instead for 
Did you mean: 

Sender Mail Adapter - java.lang.NullPointerException in CC monitoring

Former Member
0 Kudos

hi,

I configured my Sender Mail Adapter correctly.

I have the correct POP URL, authentication. I'm not using PayloadSwapBean right now.

I can't get rid of the exception inside my Channel monitoring.

exception caught during processing mail message; java.lang.NullPointerException

does anyone know why?

I've been told the POP account has emails already.

I will try to create an outlook account for this POP e-mail account in the mean time to see the e-mails.

Thank you

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

sorry.

its stupid.

I have to use SSL, and the URL has to be pops://

I somewhere overlooked the 's'.

now it's working.

no more Java Null Pointer Exception. Thank God.

Thank you for all the replies.

I tested with Outlook and Thunderbird. I have to check SSL in order to establish a successful connection.

Former Member
0 Kudos

one thing i know is that I have to use SSL to log into the Mail Server.

I wonder if my XI connection to the mail adapter is using SSL.

DO I need configure something in the Module tab in order to use SSL?

meantime, i try to ask if we can log on without using SSL.

Shabarish_Nair
Active Contributor
0 Kudos

>

> one thing i know is that I have to use SSL to log into the Mail Server.

> I wonder if my XI connection to the mail adapter is using SSL.

> DO I need configure something in the Module tab in order to use SSL?

encrypt/decrypt??

http://help.sap.com/saphelp_nw04/helpdata/en/27/c0524257a1b56be10000000a155106/content.htm

Former Member
0 Kudos

no.

there are no messages in the MessagingSystem Monitor.

There are no messages in the Adapter Monitor also.

Former Member
0 Kudos

Have you set the POP URL Correctly as POP3:// and have the correct authentication (did you specify the default interfacenamespace and message type not related to error but have recheck this also )

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/bd5950ff-0701-0010-a5bc-86d45fd5...

Check the section 7.5.2 , May be helpful.

Regards

Rajesh

Edited by: Rajesh on Jan 15, 2009 8:00 PM

Former Member
0 Kudos

hi.

i wonder about

http://sap.com/xi/XI/Mail/30.

Do I added it to my Repository under BASIS 7.0?

The default namespace in my Configuration should be my namespace?

http://test.com

and Interface Name is: MI_ABC

Right?

AaronLong
Advisor
Advisor
0 Kudos

Hi Will,

the namespace should be alright since it is from the system.

can you check the details error in the defaulttrace file (per timestamp of the file)under your system directory (e.g., ../SID/.../j2ee/cluster/server[x]/logs/ )for the Nullpointer exeception ?

It should bring some hints for the exception.

You may post the defaulttrace exception info here.

Cheers,

Aaron

Former Member
0 Kudos

thanks aaron.

I don't see the folder ./SYS/../j2ee/...

will it be under another folder? I don't see a trace log folder either.

I think the problem might be in the Module tab.

I tried.

AF_Modules/PayloadSwapBean

localejbs/AF_Modules/PayloadSwapBean

/localejbs/AF_Modules/PayloadSwapBean

sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean

localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean

/localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean

they all produce the same error. I wonder if these Beans actually exist.

I think we might have to reinstall this Mail Adapter altogether.

Or maybe it's really the connection to the Mail Server. But would it display this kind of message.

This is what I'm looking at.

Also, i had to use this URL

pop://server:995/

(995 is using SSL and it is the default port). When I use this, I see the Java Null Pointer Exception a lot less frequently. Weird.

Former Member
0 Kudos

Check the adapter Messaging system auditlog for detailed error message

http://host:httpport/MessagingSystem/monitor/monitor.jsp

HTH

Rajesh

Cortex2k
Active Participant
0 Kudos

Hi William

Try have a look at SAP note 817049

It might help, but depends on your XI/PI version

Best regards,

Chris