Article - CS253700

Creo & WGM Interaction How To handle Script Errors

Modified: 13-Dec-2023   


Applies To

  • Creo Parametric 2.0 to 7.0
  • Windchill PDMLink 9.0 to 12.0
  • Windchill ProjectLink 9.0 to 11.1
  • Windchill PDM Essentials 10.1 to 11.0
  • Pro/INTRALINK 8.x + 9.0 to 11.1

Description

  • Creo Parametric embedded or standalone browser can sometimes display script errors while performing data management operations. Often it is a result of a Java Script failure parsing, reading or creation/rendering of page content.
  • Symptoms of a script error with a Creo Parametric client can be:
    • Internet Explorer Script Error
    • An error has occurred in the script on this page
    • The page renders empty or incomplete
    • The browser hangs or page needs a refresh

 

  • The most frequent Scripts errors are :

An error has occurred in the script on this page.
Line: 236
Char: 20
Error: Syntax Error
Code: 0
URL: http:/­/<SERVER>/­Windchill/­servlet/­WindchillAuthGW/­wt.­enterprise.­URLProcessor/­URLTemplateAction?action=ObjProps&oid=OR%


An error has occurred in the script on this page.
Line: 267
Char: 3
Error: Syntax error
Code: 0
URL: https:/­/­<SERVER>/­Windchill/­WindchillAuthGW/­wt.­enterprise.­URLProcessor/­URLTemplateAction?u8&oid=OR%3Awt.­epm.­workspaces.­EPMWorkspace%


### Code issues,  sometimes it is related to customer defined table view which includes user-defined attributes,  display of other object type in the workspace as WTPart, specific workspace configuration…

An error has occurred in the script on this page.
Line: 1194
Char: 4
Error: 'undefined' is null or not an object
Error 'c' is null or not an object
Error 'height' is null or not an object
Code: 0
URL: http://<SERVER>/Windchill/servelet/WindchillAuthGW/wt.enterprise.URLProcessor/URLTemplateAction?u8&oid=OR%3Awt.epm.workspaces.EPMWorspace%

### Customization, incorrect format or cache corruption.

An error has occurred in the script on this page.
Line: 1247
Char: 3
Error: Object expected
Code: 0
URL: http://<SERVER>/Windchill/servlet/WindchillAuthGW/wt.enterprise.URLProcessor/URLTemplateAction?oid=OR%3Awt.epm.workspaces.EPMWorkspace%


### Corrupted cache either from client of from server side. 

An error has occurred in the script on this page.
Line: 226
Char: 3
Error: Object doesn't support this property or method
Code: 0 URL: http://<SERVER>/Windchill/servlet/WindchillAuthGW/wt.enterprise.URLProcessor/URLTemplateAction?oid=OR%3Awt.epm.workspaces.EPMWorkspace% 

### Most of the time related to customization or system issue (out of memory), third party browser extension installed like a pop-up blocker or Google / Yahoo toolbar or e-mail notifier…

An error has occurred in the script on this page
Line: 25
Char: 5
Error: Expected ')'
Code: 0
URL: http://server/Windchill/app 

### Usage of characters like single quote on attributes names, or other object  properties.

An error has occurred in the script on this page.
Line: 3888
Char: 7
Error: Permission denied
Code: 0
URL: http://.../*.js

This is a printer-friendly version of Article 253700 and may be out of date. For the latest version click CS253700