Dave throws Java NullPointerException

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi there,

today I modified the Dave model of my Project. Since then, I get always the following error when generating code:

Description: Failed to generate file MUX_C.c java.lang.NullPointerException
Resource: MUX_C.jet
Path: /PipettorXMC4500/Dave/Model/DAVESUPPORT/1.0.42/Templates
Location: line 100
Type: JET Script

I cleared the Dave code generator cache, cleaned the project, closed Dave, reverted (SVN) the whole project (including the Dave model) and restarted the computer (in that order), but the problem is still there. I'm pretty sure, that the reverted project version worked just fine last week. I don't even have an idea where to start searching for the problem. I would appreciate any help. I work with Dave 3.1.10 and Library Version 1.0.62. I work every day with Dave on the XMC4500 and experienced this problem for the first time today.

Cheers, Felix
0 Likes
2 Replies
User8487
Level 2
Level 2
First like received
Same issue here...
Any Hinds?

Thx, M
0 Likes
Not applicable
Hi Felix,

May I know the reason why you modified the DAVE Model file? We highly discourage users to modify this file. 🙂

For this model issue, can you please delete the file called .dconfig in “\project_name>\DAVE” folder and try to generate the code again.
Hopefully this may solve your issue.

Regards,
Daryl
0 Likes