Difference between revisions of "Error Messages"

From Documentation
Line 72: Line 72:
 
* '''Network tab on a browser developer tool'''
 
* '''Network tab on a browser developer tool'''
 
Open a browser developer tools > network tab. ZK does not load every package from page initialization. Instead, packages will be loaded on demand. For example, the zul.inp (input package) will be loaded if you add a textbox, intbox, ect to your page. If a browser was unable to locate or load the relevant package for a newly added widget class, you should see a failed request for this package. This request should also display a return code. Anything other than "200 - success" should be documented and added to the support ticket.
 
Open a browser developer tools > network tab. ZK does not load every package from page initialization. Instead, packages will be loaded on demand. For example, the zul.inp (input package) will be loaded if you add a textbox, intbox, ect to your page. If a browser was unable to locate or load the relevant package for a newly added widget class, you should see a failed request for this package. This request should also display a return code. Anything other than "200 - success" should be documented and added to the support ticket.
 +
 +
 +
= Unknown message code: 27112200 =
 +
https://potix.freshdesk.com/a/tickets/4455

Revision as of 03:00, 7 February 2020

This section explains those common error messages you might encounter during developing with ZK, so that you can figure what's going wrong and eliminate them.

The Server is temporarily out of service

Out-of-service.png

The is the default browser-side error message which is displayed after sending an AJAX request.






Runtime Exception

Runtime-exception.png









out of sequence

https://potix.freshdesk.com/helpdesk/tickets/5785


contentId is required

The resource you request is no longer available

No-longer-available.png

The resource you request is no longer available: /ui/handling.zul (z_na20). This is normally caused by timeout, or opening too many Web pages. You have to reload the page and try again.

Suggestion

It could be caused by

  • the corresponding desktop is gone
  • a session was time out
  • your server or application is down

Please check them.




client error

Severe: [Desktop z_wew:/mypage.zul] client error: Failed to mount: Cannot read property 'colSpan' of undefined

Suggestion

Usually, a failed to mount error are caused by a bug in the specific widget code, invalid custom javascript, missing javascript packages or files, or other causes affecting the client.

When encountering a failed to mount error box, we suggest you to check:

  • Javascript console on a browser

Open a browser developer tools > console tab. You should find one ore more javascript errors in the console. Please expand the error stack trace and providing these full error stacks in the support ticket. This can help us pinpoint the exact cause of the issue.

To make the stack trace readable, you have to enable javascript debug mode in zk.xml

<client-config>
<debug-js>true</debug-js>
</client-config>

Restart your zk application.

  • Network tab on a browser developer tool

Open a browser developer tools > network tab. ZK does not load every package from page initialization. Instead, packages will be loaded on demand. For example, the zul.inp (input package) will be loaded if you add a textbox, intbox, ect to your page. If a browser was unable to locate or load the relevant package for a newly added widget class, you should see a failed request for this package. This request should also display a return code. Anything other than "200 - success" should be documented and added to the support ticket.


Unknown message code: 27112200

https://potix.freshdesk.com/a/tickets/4455