This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Nov 18, 2011, 9:08 AM
135 Posts

Inheriting Java design element from template breaks XPage

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: Java,SSJS
  • Replies: 1
I run into a problem with the new 8.5.3 Java design element: I use those Java classes in SSJS but every night when they get updated from the template by Design task, the SSJS stops working:
 
Script interpreter error, line=39, col=69: [ReferenceError] 'com' not found 
 
 'com' is here the start of the package name which I use like this: "new com.company.feature.Class(...". When I open the Java element and save it, the XPage starts working. I've also tried re-saving them in the template but that does not help.
 
Any ideas? Looks like I have to remove the inheritance which I would not like to do to be able to populate bug fixes and new features automatically. 
Nov 18, 2011, 10:41 AM
54 Posts
Re: Inheriting Java design element from template breaks XPage
Terve taas :)
 
We're having the same exact problem. Same behaviour also during development phase (build phase). Not always, but WAY too often.
 
"com not found" has started to be a bad joke here...


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal