Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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?
Labels (2)
8 Replies
Anonymous
Not applicable
Author

Hi,
Take a look at your source's view job, might help you.
Anonymous
Not applicable
Author

Sorry,
but I'm not following you.
I'm a noob 😉
The source component to tLogRow?
What is a "view job"?
Anonymous
Not applicable
Author

You have the design view and the code view. Just open your job, on the bottom left of it you should see 2 tabs.
Anonymous
Not applicable
Author

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?
Anonymous
Not applicable
Author

Do you have a red line?
Anonymous
Not applicable
Author

Hi,
Found it and it helped!
Thanks!
(Now I'm struggling with a Null Pointer exception I get for some of my rows)
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

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