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 28, 2012, 6:02 PM
31 Posts

Caching, Errors, a whole heap of trouble

  • Category: Performance
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: ExtLib,XPiNC,DDE
  • Replies: 5
I'm on 8.5.3 FP2, using the ExtLib that's part of the 8.5.3 FP2 build, and am having no end of problems.   I'm trying to develop for XPiNC, but am even having issues when previewing an XPage in browsers.
 
- Design changes aren't being reflected.  I gave up using custom controls 'cause those changes never showed up.  Even if all code is on 1 XPage, design changes are being ignored.  I've shut down DDE, my Notes client, my browser, my pc, and still the old XPage is lingering.
 
- If I copy/paste from 1 XPage to another via the Source Pane, anything from the ExtLib starts to trigger errors (like The prefix "xe" for element "xe:dialog" is not bound), and loses its design like below:
 
 
- I get random Error 404 or Error 500 pages periodically whenever I make changes to the XPage design.
 
Cleaning project, refreshing project, shutting DDE, browsers, client, etc. do not seem to get rid of the cached design.
 
I know this issue has been reported here before:
 
http://www-10.lotus.com/ldd/xpagesforum.nsf/topicThread.xsp?action=openDocument&documentId=B871F2A37226FDE985257958003921A2#A1C8D704FD70D2F885257958004EE2DB
http://www-10.lotus.com/ldd/xpagesforum.nsf/topicThread.xsp?action=openDocument&documentId=136A65B9B1BE88EB8525793200700E5A
 
This is causing me to be the least productive developer on the continent!
 
Do I have to drop down to 8.5.2 to get back to a stable DDE/XPages environment?  Any other suggestions?  Desperation is setting in ...
TIA.
 
 
 
Nov 28, 2012, 6:27 PM
135 Posts
Re: Caching, Errors, a whole heap of trouble
FP3 is out, you could try if it helps at all:
 
http://www-01.ibm.com/support/docview.wss?uid=swg24032242#853FP3 
 
I'm currently having a build problem in one (non XPiNC) application. None of my changes to XPages (or new XPages) are shown but everything works fine for my colleque with older Designer and ExtLib (not sure which versions). Copying the XPages to other database fixes the problem in this case.
 
- Panu 
Nov 28, 2012, 8:19 PM
31 Posts
Re: Caching, Errors, a whole heap of trouble & more ... trouble with Searching
Thanks Panu, I took a look at the FP3 fix list & there's no mention of fixing anything with XPages or DDE so wonder if there's any point in installing it.
Think I'm probably going to test my XPages on an 8.5.2 install & see if the problems I'm encountering magically disappear.  I never had problems like this before.
 
In the meantime, here's the latest weird results.  In trying to do a simple database.search(searchquery,null,0) test, I'm getting the following error which seems to be telling me the 1st parameter to the search should be a NotesXspDocument (?).
That's not what the documentation says, so is this a red herring error and it's really complaining about something else?   My searchQuery was: ((Form = LCF) AND (LCFAmount >= 15000))  .  I think that syntax is OK.
  

Exception

Error while executing JavaScript action expression
Script interpreter error, line=4, col=51: [TypeError] Method NotesDatabase.search(NotesXspDocument, null, number) not found, or illegal parameters

JavaScript code

   1: var searchQuery = getComponent('inputText1').value;
   2: 
   3: if (database != null && searchQuery != ""){
   4: 	var dc:NotesDocumentCollection = database.search(searchQuery,null,0);
   5: 	viewScope.resultCount = dc.getCount();
   6: 	dc.recycle();
   7: }
   8: else{
   9: 	viewScope.resultCount = 'db does not exist'
  10: };
  11: /*
  12: var db:NotesDatabase = session.getCurrentDatabase();
  13: if ( db != null){
  14: 	var dc:NotesDocumentCollection = db.FTSearch(searchQuery,0);
  15: 	viewScope.resultCount = dc.getCount();
  16: 	dc.recycle();
  17: }
  18: else{
  19: 	viewScope.resultCount = 'db does not exist'
  20: };
  21: */

Stack Trace

javax.faces.FacesException: Error while executing JavaScript action expression
    com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Unknown Source)
    com.sun.faces.lifecycle.LifecycleImpl.phase(Unknown Source)
    com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source)
    com.ibm.xsp.controller.FacesControllerImpl.execute(Unknown Source)
    com.ibm.xsp.webapp.FacesServlet.serviceView(Unknown Source)
    com.ibm.xsp.webapp.FacesServletEx.serviceView(Unknown Source)
    com.ibm.xsp.webapp.FacesServlet.service(Unknown Source)
    com.ibm.xsp.webapp.FacesServletEx.service(Unknown Source)
    com.ibm.xsp.webapp.DesignerFacesServlet.service(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService.access$0(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
    java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    java.util.concurrent.FutureTask.run(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceThread.run(Unknown Source)
com.ibm.xsp.exception.EvaluationExceptionEx: Error while executing JavaScript action expression
    com.ibm.xsp.binding.javascript.JavaScriptMethodBinding.invoke(Unknown Source)
    com.ibm.xsp.application.ActionListenerImpl.processAction(Unknown Source)
    javax.faces.component.UICommand.broadcast(Unknown Source)
    com.ibm.xsp.component.UIEventHandler.broadcast(Unknown Source)
    com.ibm.xsp.component.UIViewRootEx.broadcast(Unknown Source)
    javax.faces.component.UIViewRoot.broadcastEvents(Unknown Source)
    javax.faces.component.UIViewRoot.processApplication(Unknown Source)
    com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Unknown Source)
    com.sun.faces.lifecycle.LifecycleImpl.phase(Unknown Source)
    com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source)
    com.ibm.xsp.controller.FacesControllerImpl.execute(Unknown Source)
    com.ibm.xsp.webapp.FacesServlet.serviceView(Unknown Source)
    com.ibm.xsp.webapp.FacesServletEx.serviceView(Unknown Source)
    com.ibm.xsp.webapp.FacesServlet.service(Unknown Source)
    com.ibm.xsp.webapp.FacesServletEx.service(Unknown Source)
    com.ibm.xsp.webapp.DesignerFacesServlet.service(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService.access$0(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
    java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    java.util.concurrent.FutureTask.run(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceThread.run(Unknown Source)
com.ibm.jscript.InterpretException: Script interpreter error, line=4, col=51: [TypeError] Method NotesDatabase.search(NotesXspDocument, null, number) not found, or illegal parameters
    com.ibm.xsp.script.WrapperDomino$fct_Database.call(Unknown Source)
    com.ibm.jscript.types.FBSObject.call(Unknown Source)
    com.ibm.jscript.ASTTree.ASTCall.interpret(Unknown Source)
    com.ibm.jscript.ASTTree.ASTVariableDecl.interpret(Unknown Source)
    com.ibm.jscript.ASTTree.ASTBlock.interpret(Unknown Source)
    com.ibm.jscript.ASTTree.ASTIf.interpret(Unknown Source)
    com.ibm.jscript.ASTTree.ASTProgram.interpret(Unknown Source)
    com.ibm.jscript.ASTTree.ASTProgram.interpretEx(Unknown Source)
    com.ibm.jscript.JSExpression._interpretExpression(Unknown Source)
    com.ibm.jscript.JSExpression.access$1(Unknown Source)
    com.ibm.jscript.JSExpression$2.run(Unknown Source)
    java.security.AccessController.doPrivileged(Unknown Source)
    com.ibm.jscript.JSExpression.interpretExpression(Unknown Source)
    com.ibm.jscript.JSExpression.evaluateValue(Unknown Source)
    com.ibm.jscript.JSExpression.evaluateValue(Unknown Source)
    com.ibm.xsp.javascript.JavaScriptInterpreter.interpret(Unknown Source)
    com.ibm.xsp.binding.javascript.JavaScriptMethodBinding.invoke(Unknown Source)
    com.ibm.xsp.application.ActionListenerImpl.processAction(Unknown Source)
    javax.faces.component.UICommand.broadcast(Unknown Source)
    com.ibm.xsp.component.UIEventHandler.broadcast(Unknown Source)
    com.ibm.xsp.component.UIViewRootEx.broadcast(Unknown Source)
    javax.faces.component.UIViewRoot.broadcastEvents(Unknown Source)
    javax.faces.component.UIViewRoot.processApplication(Unknown Source)
    com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Unknown Source)
    com.sun.faces.lifecycle.LifecycleImpl.phase(Unknown Source)
    com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source)
    com.ibm.xsp.controller.FacesControllerImpl.execute(Unknown Source)
    com.ibm.xsp.webapp.FacesServlet.serviceView(Unknown Source)
    com.ibm.xsp.webapp.FacesServletEx.serviceView(Unknown Source)
    com.ibm.xsp.webapp.FacesServlet.service(Unknown Source)
    com.ibm.xsp.webapp.FacesServletEx.service(Unknown Source)
    com.ibm.xsp.webapp.DesignerFacesServlet.service(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService.access$0(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
    java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    java.util.concurrent.FutureTask.run(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceThread.run(Unknown Source)
Nov 28, 2012, 8:45 PM
135 Posts
Re: Caching, Errors, a whole heap of trouble
Actually there are some XPages fixes in FP3 althought not necessarily related to the problem you are experiencing:
 
http://www-10.lotus.com/ldd/fixlist.nsf?OpenDatabase&Start=1&Count=300&Expand=2.31 
 
I'm not sure if all small fixes are listed.
 
Regarding your database.search I'd do it with this syntax:
 
database.search('Form = "LCF" & LCFAmount >= 15000');  
 
- Panu 
 

 
 
Nov 28, 2012, 9:12 PM
31 Posts
Re: Caching, Errors, a whole heap of trouble
 
Hi Panu, thanks so much for your responses!
Yes, you are right, my search syntax was incorrect (doh).  I've now managed to get the search working (once anyway ... fingers crossed).
 I'll take a closer look at the Fix Pack too.
 
I appreciate your help.
Judy
Nov 29, 2012, 8:14 PM
37 Posts
Re: Caching, Errors, a whole heap of trouble
 Hello!
 
   Well, I'm not sure what continent you're on, Judy, but if we're in the same place, maybe we're tired as "least productive developers".  I very much prefer the older way of building websites, but looks like we are stuck with buggy, unreliable XPages development. 
 
   I just upgraded to FP3, so hopefully, it'll work better.  I also have a WinXP machine, which is not strong enough for this kind of development.  Perhaps the memory of your machine is causing problems, too. 
 
   One thing I did find was that if you update a custom control (e.g. a layout, used in many XPages), the layout won't update after a build.  You can clear the cache, restart the server's http, switch browsers, etc..., but nothing seems to work.  What I do is open one XPage, make a small change, remove the change, save it, then build.  On the web, you'll see the changes. 
 
Good luck! 
 
 Steve in NYC
 
"It hurts to be on the cutting edge." 

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