cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter Problem

Former Member
0 Kudos

Hi,

My scenario is..i am using FTP file adapter where content conversion needed.For the sender adapter my config…

Transports Protocal : FTP

Message Protocal : File

In the Module tab I did the content conversion.

Can any one tell me it will work? Because In RWB adapter gives error like

Sender Adapter vXXXX for Party '', Service 'XXXX_XXXXXX':

Configured at 2007-05-21 08:48:11 UTC

History:

- 2007-05-21 08:49:00 UTC: Retry interval started. Length: 60.000 s

- 2007-05-21 08:49:00 UTC: Error: java.lang.NullPointerException

- 2007-05-21 08:49:00 UTC: Processing started

- 2007-05-21 08:48:11 UTC: Error: java.lang.NullPointerException

- 2007-05-21 08:48:11 UTC: Processing started

N:B.File exist(greater than 0 byte) in the FTP server.

Cheers!

Samarjit

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

><i>In the Module tab I did the content conversion.</i>

Did you use the MessageTranformBean?

If yes, why use the MessageTranfrom Bean when you have more features with the standard File Adapter Content Conversion?

Or, have you written a Custom Adapter Module? If yes, then the probelm is int he processing logic of you module.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Yes i used MessageTranformBean.Actually i m following in *.pdf of configutaion of JMS adapter.Now i m testing in file adapter.

I want to know that can possible to use MessageTranformBean in file adapter when i need content conversion.

Now RWB show the Error: java.lang.ClassCastException.Why?

Cheers!

Samarjit

bhavesh_kantilal
Active Contributor
0 Kudos

><i>I want to know that can possible to use MessageTranformBean in file adapter when i need content conversion.</i>

You sure can use the MessageTranformBean in the Sender File adapter, but the question is why use it when you have a better option in terms of the Content Conversion of the file adapter itself.

Meanwhile, without providing more info on the input file format, message transform bean parameters and the output expected, it would be very difficult to nail the reason for your error.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Scenario is in the interface sender adpater is jms bt i could not access of that.So when i used normal content version in File adapter will pick up data and transfer into xml.But when i use MessageTranformBean it will gives ClassCast Exception.

But according to pdf my configuration is correct.Any tricky tips you have?

Thanks

Cheers!

Samarjit

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

no it will not work due to some error

check it once more if you didn't miss any paramater in CC

Regards,

michal

Former Member
0 Kudos

Hi Michal,

Thanks for quick reply.All CC are correct.If anything wrong about CC then RWB will give the that particular error.But why it's showing nullPointer error?

Cheers!

Samarjit