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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tDBConnection + context variables - NullPointerException

Hello all,

I've defined a context group dbeasl as :

 

0683p000009Lyvv.png

 

 

 

 

 

 

My tDBConnection is defined as :

0683p000009LvyC.png

I run thru :

0683p000009Lyw0.png

 

and as you can see above, I obtain a null pointer exception...

Of cource, by replacing the context variables by their value in the component, it works perfectly...

 

Would you have any idea ?

 

I'm using Talend Open Studio for data Integration Version 7.0.1

 

Thanks in advance,

 

Fred

Labels (2)
5 Replies
fdenis
Master
Master

did you restart Talend? did you check Context File? did you test your db connection from metadata?
manodwhb
Champion II
Champion II

@FRibadeau, why dbeasl_Login is null ?,you should pass values for this.

 

Please check the contexts.

Anonymous
Not applicable
Author

Hi,
- Restart talend : No change
- Context : It's not a file, just context declaration in the tree on the left (am I clear?)
- DB connection from MetaData : Yes, it's working perfectly.

Thanks for your help.
Anonymous
Not applicable
Author

Hi,
It's an Access database, without any user/password set.
And the connection, from the metadata, is working perfectly.

Thanks for your help
fdenis
Master
Master

did you try to add blanc on login?
I think context may stay null if no data are set.