0

SEVERE: [Desktop z_6cx:/WEB-INF/jsp/app/page/header.zul] client error: Failed to mount: Cannot read properties of null (reading 'add')

asked 2023-05-19 13:55:06 +0800

AnkitIan gravatar image AnkitIan
101 1

updated 2023-05-22 11:00:46 +0800

hawk gravatar image hawk
3185 1 5
http://hawkphoenix.blogsp... ZK Team

Hi I am relatively new to zk while running my project i am getting this error:

SEVERE: [Desktop z_6cx:/WEB-INF/jsp/app/page/header.zul] client error: Failed to mount: Cannot read properties of null (reading 'add')

Complete stack trace is:

zk.wpd:20 Uncaught TypeError: Cannot read properties of null (reading 'add')
    at e.initADA (VM410 slick.min.js:1:19335)
    at e.init (VM410 slick.min.js:1:19101)
    at new <anonymous> (VM410 slick.min.js:1:2832)
    at i.fn.slick (VM410 slick.min.js:1:42781)
    at enableSlick (eval at <anonymous> (zk.wpd:8:5531), <anonymous>:12:42)
    at x.content [as _content] (eval at c.evalJSON (zk.wpd:24:1726), <anonymous>:65:9)
    at zul.utl.wpd:2:1141
    at r (zk.wpd:20:2897)
    at f (zk.wpd:20:2835)
    at q (zk.wpd:20:2800)

can anyone help me please. Thankyou.

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2023-05-22 11:16:02 +0800

hawk gravatar image hawk
3185 1 5
http://hawkphoenix.blogsp... ZK Team

Please make your error stack trace readable by enabling debug-js.

which zk version do you use?

According to the stack trace, I found it called functions in slick.min.js, this seems not to be part of ZK. Could you please check which code calls it? I think you will find more clues there.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2023-05-19 13:55:06 +0800

Seen: 4 times

Last updated: May 22

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More