0

I'm having an error on my Job when I do adding of BigDecimal on my tMap.

this is my code.

Var.var1.add(Var.var2).add(Var.var3).add(Var.var4)

all of my variables are BigDecimal.

my error is 'NullPointerException'.

I already checked data on my Database and all have values. I also checked Nullable on my tMap.

Thank You.

dane rias
  • 21
  • 1
  • 11

1 Answers1

0

This error is happening because you are calling uninitialized variables.

Maybe you are writing this sentence inside the Var box in the tMap?

If not, are you able to output all the Var.varN BigDecimals independently without errors?

Daniel San
  • 1,937
  • 3
  • 19
  • 36