Error When Exporting Instance Lists from Workspace to Pdf (Doc ID 1338165.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version: 10.3.2 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.

Symptoms

When generating pdf listing of instances you might get an error trying to build an image for the report. The full exception you will see in the workspace logs is:

javax.faces.el.EvaluationException: //bk/weblogic/obpm_apps/workspace/workspace.war/jsf/view/exportPdfDialog.xhtml @31,146 onActivate="#{exportPdfDialogBean.export}": fuego.lang.exception.ProgramException: Error building an image cell
at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
at com.bea.opencontrols.XPControl.invokeEventMethod(XPControl.java:546)
at com.bea.opencontrols.form.ActiveButtonRenderer.broadcastAjaxEvent(ActiveButtonRenderer.java:34)
at com.bea.opencontrols.form.ActiveButton.broadcastAjaxEvent(ActiveButton.java:32)
at com.bea.opencontrols.faces.JSFUtility.broadcastAjaxEvent(JSFUtility.java:252)
at com.bea.opencontrols.XPControl.broadcast(XPControl.java:806)
at com.bea.opencontrols.XPCommand.broadcast(XPCommand.java:185)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
at fuego.workspace.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:132)
at fuego.workspace.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:60)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at fuego.web.filter.NoCacheNoStoreFilter.doFilter(NoCacheNoStoreFilter.java:39)
at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: fuego.lang.exception.ProgramException: Error building an image cell
at fuego.lang.exception.ProgramException.wrap(ProgramException.java:55)
at fuego.pdf.table.PdfRowTableBuilder.newImage(PdfRowTableBuilder.java:109)
at fuego.workspace.model.view.export.ExportPdfDialogBean.addHeaders(ExportPdfDialogBean.java:259)
at fuego.workspace.model.view.export.ExportPdfDialogBean.export(ExportPdfDialogBean.java:178)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69) ... 35 more Caused by: java.net.UnknownHostException: bpm10.int.bankinter.bk
at java.net.InetAddress.getAllByName0(InetAddress.java:1157)
at java.net.InetAddress.getAllByName(InetAddress.java:1083)
at java.net.InetAddress.getAllByName(InetAddress.java:1019)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:303)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:419)
at weblogic.net.http.HttpClient.New(HttpClient.java:246)
at weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:191)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:413)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
at java.net.URL.openStream(URL.java:1010)
at com.lowagie.text.Image.getInstance(Unknown Source)
at fuego.pdf.table.PdfRowTableBuilder.newImage(PdfRowTableBuilder.java:100) ... 45 more
=================================================================================
http://<domain>/html/api/com/lowagie/text/Image.java.html
public static Image getInstance(URL url) throws BadElementException,MalformedURLException, IOException {
InputStream is = null;
is = url.openStream();

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms