Topic
1 reply Latest Post - ‏2009-01-12T20:43:39Z by SystemAdmin
SystemAdmin
SystemAdmin
334 Posts
ACCEPTED ANSWER

Pinned topic Retrieve Rich Text Items as HTML issue.

‏2008-11-25T13:03:39Z |
I'm using PF 6.1.0.1. I'm using Domino View & Form builder and trying to view the form detail. There are rich text fields with attachment in the form. When I check on "Retrieve Rich Text Items as HTML", it produce the error below. But if I uncheck it, it can display the form. Appreciate any help.

An error has occurred.
The error message returned was: "Error in method _gen_call_GoToMarketingViewDocumentView. Error in method GoToMarketingViewDocumentView. Error in method MarketingViewview.getDocumentData. java.io.IOException".

Please refer to the logs folder in your deployed application for additional error information.

Click here for a detailed error message. Click here to hide the detailed error message.

ExceptionError in method _gen_call_GoToMarketingViewDocumentView. Error in method GoToMarketingViewDocumentView. Error in method MarketingViewview.getDocumentData. java.io.IOException

Stack Trace
java.io.IOException
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:643)
at com.bowstreet.util.HTTPRequest.getOutput(HTTPRequest.java:1007)
at com.bowstreet.util.HTTPRequest.invoke(HTTPRequest.java:613)
at com.bowstreet.builders.webapp.methods.HTMLImporter.invoke(HTMLImporter.java:126)
at com.bowstreet.builders.webapp.methods.DominoHelper.getRichText(DominoHelper.java:1639)
at com.bowstreet.builders.webapp.methods.DominoHelper.getRichTextField(DominoHelper.java:1601)
at com.bowstreet.builders.webapp.methods.DominoHelper.addDocItemsToXml(DominoHelper.java:444)
at com.bowstreet.builders.webapp.methods.DominoHelper.getDocumentData(DominoHelper.java:481)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.bowstreet.webapp.engine.actions.MethodAction.callAction(MethodAction.java:90)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:405)
at genjava.app._Market2.MarketingViewDocumentViewOnEnter(_Market2.java:128)
at genjava.app._Market2.GoToMarketingViewDocumentView(_Market2.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.bowstreet.webapp.engine.actions.MethodAction.callAction(MethodAction.java:90)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:405)
at genjava.app._Market2._gen_call_GoToMarketingViewDocumentView(_Market2.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.bowstreet.webapp.engine.actions.MethodAction.callAction(MethodAction.java:90)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:405)
at com.bowstreet.webapp.engine.WebAppAccessImpl.processAction(WebAppAccessImpl.java:1046)
at com.bowstreet.webapp.engine.WebAppAccessImpl.processAction(WebAppAccessImpl.java:1146)
at com.bowstreet.webapp.engine.WebAppRequestRunner.doRequest(WebAppRequestRunner.java:364)
at com.bowstreet.webapp.engine.WebAppRunner.doActualRequest(WebAppRunner.java:866)
at com.bowstreet.webapp.engine.WebAppRunner.doRequest(WebAppRunner.java:526)
at com.bowstreet.webapp.engine.WebAppRunner.doRequest(WebAppRunner.java:291)
at com.bowstreet.webapp.engine.WebAppRunner.doRequest(WebAppRunner.java:228)
at com.bowstreet.webapp.engine.WebAppServlet.doPost(WebAppServlet.java:73)
at com.bowstreet.webapp.engine.WebAppServlet.doGet(WebAppServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:342)
at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:869)
at java.lang.Thread.run(Thread.java:570)
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://server:63148/Symfoni/MarkDB.nsf/0/70BE266EC0CD33B3C1256C59002ED1E4/$Fonts?OpenField
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:841)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:1546)
at com.bowstreet.util.HTTPRequest.getHeadersAndCookies(HTTPRequest.java:637)
at com.bowstreet.util.HTTPRequest.invoke(HTTPRequest.java:604)
... 59 more

Action Status
The following table lists the actions that have run during this request.
Action ID:
WebAppRunner.doRequest
_gen_call_GoToMarketingViewDocumentView
GoToMarketingViewDocumentView
StateManager.setCurrentStep
StateManagerInitializer
MarketingViewview.getDocumentData
MarketingViewview_Util.callReferenceResolver
_IRResolver_2
MarketingViewview_Util.callReferenceResolver
_IRResolver_1
Updated on 2009-01-12T20:43:39Z at 2009-01-12T20:43:39Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    334 Posts
    ACCEPTED ANSWER

    Re: Retrieve Rich Text Items as HTML issue.

    ‏2009-01-12T20:43:39Z  in response to SystemAdmin
    Enable HTTP task on your Domino server. (On Domino console, type "load http")

    In your project's web-inf\config\domino_config\whatever.properties, change ServerName key/val pair to use the Domino http port. Example: instead of servername:63148, use servername:80 (or whatever your http port is).

    Sam