zeromancer1972 / FileSilo

A simple app for sharing files
Apache License 2.0
0 stars 0 forks source link

Problem with filesJson.java #6

Closed feedrss81 closed 10 years ago

feedrss81 commented 10 years ago

First of all, congratulations for a job well done!

Once opened FileSilo Designer I get the following errors:

Description Resource Path Location Type DateTime cannot be resolved to a type FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 89 Java Problem Document cannot be resolved to a type FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 65 Java Problem EmbeddedObject cannot be resolved to a type FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 100 Java Problem Session cannot be resolved to a type FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 57 Java Problem The import org.openntf.domino cannot be resolved FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 15 Java Problem The import org.openntf.domino cannot be resolved FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 16 Java Problem The import org.openntf.domino cannot be resolved FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 17 Java Problem The import org.openntf.domino cannot be resolved FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 18 Java Problem The import org.openntf.domino cannot be resolved FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 19 Java Problem The import org.openntf.domino cannot be resolved FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 20 Java Problem The import org.openntf.domino cannot be resolved FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 21 Java Problem ViewEntry cannot be resolved to a type FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 64 Java Problem ViewEntryCollection cannot be resolved to a type FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 62 Java Problem XSPUtil cannot be resolved FilesJson.java ShareBox.nsf/Code/Java/org/openntf/filesilo line 57 Java Problem

Domino Server is 9.0.1 version (Win2008R2) XPages Extension Library Feature: 9.0.1.v00_06_20140424-0600 XPages Toolkit: 1.1.1.201401142113 OpenNTF Domino XSP/OSGi version: 1.0.0.201312231409

If I open the Browser application opens correctly, I can sign in to load documents and generate links. If I open the nsf from Notes (8.5.3-FP6 - 9) gives me the following error:

com.ibm.xsp.exception.EvaluationExceptionEx: Error while executing JavaScript action expression

Stack

com.ibm.xsp.binding.javascript.JavaScriptMethodBinding.invoke(Unknown Source) com.ibm.xsp.component.UIIncludeComposite.initBeforePageContents(Unknown Source) com.ibm.xsp.page.compiled.AbstractCompiledPage.initComponent(Unknown Source) com.ibm.xsp.page.compiled.AbstractCompiledPage.createTree(Unknown Source) com.ibm.xsp.page.compiled.AbstractCompiledPage.addComponent(Unknown Source) com.ibm.xsp.component.UIIncludeComposite.buildContents(Unknown Source) com.ibm.xsp.page.compiled.AbstractCompiledPage.initComponent(Unknown Source) com.ibm.xsp.page.compiled.CompiledComponentBuilder.buildChildren(Unknown Source) com.ibm.xsp.page.compiled.CompiledComponentBuilder.buildAll(Unknown Source) com.ibm.xsp.component.UIViewRootEx.buildContents(Unknown Source) com.ibm.xsp.component.UIViewRootEx2.buildContents(Unknown Source) com.ibm.xsp.page.compiled.AbstractCompiledPage.initComponent(Unknown Source) com.ibm.xsp.page.compiled.AbstractCompiledPage.createTree(Unknown Source) com.ibm.xsp.page.compiled.AbstractCompiledPage.createViewRoot(Unknown Source) com.ibm.xsp.application.ViewHandlerExImpl._createViewRoot(Unknown Source) com.ibm.xsp.application.ViewHandlerExImpl.createViewRoot(Unknown Source) com.ibm.xsp.application.ViewHandlerExImpl.doCreateView(Unknown Source) com.ibm.xsp.application.ViewHandlerEx.createView(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)

Can you help me?

zeromancer1972 commented 10 years ago

Did you install the JAR of OpenNTF API onto you Notes client? If not, download it here: http://mardou.dyndns.org/Privat/filesilo.nsf/file.xsp?action=openDocument&documentId=E1E0D02D904BD32DC1257C7700741EC9

Copy the JAR to [NotesBinaryDir]\jvm\lib\ext folder and restart Notes.

The problem is that your client (and Designer) is not able to resolve all the OpenNTF Domino API objects (e.g. Document, DateTime etc.). After that it should work fine. Repeat this on your Domino machine (same folder in the Domino binary folder).

BTW: the OpenNTF API runs under 9.0.x only, not 8.5.3.x!

feedrss81 commented 10 years ago

Thank you very much, but I can not download the file, the donwload always stops as attached image.

thanks cattura

zeromancer1972 commented 10 years ago

Hmm had this download tested, everything works fine. Please check your connection / browser. You should be able to download the file.