cancel
Showing results for 
Search instead for 
Did you mean: 

UDF error

Former Member
0 Kudos

Hi Gurus,

we are getting following error messages by the mapping test.

Function init, Line 1:

class, interface, or enum expected

public void init(GlobalContainer container) throws StreamTransformationException{

^

Method cleanUp, Line 1:

class, interface, or enum expected

public void cleanUp(GlobalContainer container) throws StreamTransformationException{

Can anyone assist me?

Kind Regards,

PM

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Check the following areas

Curly braces opening matches the end one.

Check all import statements are included with ; semicolon at the end of each line.

MichalKrawczyk
Active Contributor
0 Kudos

hi,

do you have anything in those sections in the "Functions" tab ? maybe there are some commas or anything else added by mistake

try to remove it/clear it and activate again

Regards,

Michal Krawczyk