Error: Invalid Character Constant

One Star

Error: Invalid Character Constant

What does the error "Invalid Character Constant" mean?
My job holds components:
Input -> AddLocationFrom IP -> tMap -> tLogRow
(with additional inputs to the tMap)
The error popping up during compilation, and is related to tLogRow-component.

Any ideas?
One Star

Re: Error: Invalid Character Constant

Hi,
Take a look at your source's view job, might help you.
One Star

Re: Error: Invalid Character Constant

Sorry,
but I'm not following you.
I'm a noob ;-)
The source component to tLogRow?
What is a "view job"?
One Star

Re: Error: Invalid Character Constant

You have the design view and the code view. Just open your job, on the bottom left of it you should see 2 tabs.
One Star

Re: Error: Invalid Character Constant

Ah!
Yes I know.
But, since I'm not a developer I will have a hard time interpret the code :-/
Any general hints of what to look for?
One Star

Re: Error: Invalid Character Constant

Do you have a red line?
One Star

Re: Error: Invalid Character Constant

Hi,
Found it and it helped!
Thanks!
(Now I'm struggling with a Null Pointer exception I get for some of my rows)
One Star mpa
One Star

Re: Error: Invalid Character Constant

Geuder,
What are you doing in your tMap component? Because doing function on columns with null values can give null pointer exceptions.
If that's the case you need to do an if statement like: row1.ColumnName == null ? null : Yourfunction(row1.ColumnName)
Regards
One Star

Re: Error: Invalid Character Constant

Thanks!
That was exactly it!
One input field being a part of several output expressions.
/G