Welcome, Guest
Username: Password: Remember me
Welcome to TeslaSCADA forum!

Tell us and our members about your experience of using our products.

TOPIC: Error in script

Error in script 7 months 3 weeks ago #3445

  • Sandeep
  • Sandeep's Avatar
  • Offline
  • Senior Member
  • Posts: 43
  • Karma: 0
When i run the script then it showing error is showing
Line: 4.Error message: Wrong call function java.lang.NullPointerException

so for reference i have attached the screenshot also kindly give a solution of this error.
Attachments:
The administrator has disabled public write access.

Error in script 7 months 3 weeks ago #3446

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 993
  • Thank you received: 134
  • Karma: -102
Hello,

It seems that you don't have tag with name "M1_KI".

Best regards,
Ruslan
The administrator has disabled public write access.

Error in script 7 months 3 weeks ago #3447

  • Sandeep
  • Sandeep's Avatar
  • Offline
  • Senior Member
  • Posts: 43
  • Karma: 0
M1_K1 also did not used in script, why it is showing kindly give me solution, if possible please share with a example
The administrator has disabled public write access.

Error in script 7 months 3 weeks ago #3448

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 993
  • Thank you received: 134
  • Karma: -102
You use function gettagvalue. First argument of this function name of the tag. You get M1 in the name variable. So you should have M1_KI tag in your project.

Best regards,
Ruslan
The administrator has disabled public write access.
Go to top