Hi,
I am using pd4ml_demo.jar an on the whole it generally works. I know we need to get the whole version at some point. However it now doesn't work when you are viewing a record. But it used to sort off - if I was using a hosted file as the background image on a table it was not being included in the PDF. Now it just errors on the view, The data is from an Openedge object.
I keep getting the following, "System Error Error generating PDF document."
Not long after I get an email containing "java.lang.NullPointerException".
I can't seem to find any other error messages which might help me to fix it.
Has anyone else experienced this?
Regards,
Liz
This issue is fixed. The fix will be available in 3.2.3 release.
It is Rollbase 3.2
HI Liz,
In what version of Rollbase Private cloud you have encountered this error?
Regards,
Mani.
Hi,
It is Rollbase 3.2
Thanks,
Liz
[mention:cc624afa7ef94e8d84ecb9a17bd7f26a:e9ed411860ed4f2ba0265705b8793d05] and [mention:ce2116fd258e46ee8b4509379c9663a4:e9ed411860ed4f2ba0265705b8793d05] Sorry for the trouble but earlier this week we had some SPAM attacks so we had to tune some of our anti-spam rules and some posts have to be moderated prior to be posted. We are actively looking into this and hopefully we'll get things back to normal. Thanks for your understanding
Hi,
Yeah I had a few problems submitting (it kept saying that there was no resource) and then I realised that it had gone through multiple times!
Thanks,
Liz
Thanks for sharing.
Please attach exception trace from email.
Hi,
Here it is,
java.lang.NullPointerException
java.lang.NullPointerException
at com.rb.core.data.object.a378.sendABLRequest(a378.java:479)
at com.rb.core.data.object.a378.loadObjects(a378.java:58)
at com.rb.core.data.object.a378.getByUID(a378.java:200)
at com.rb.core.data.object.DataObjectHandler.getDataObject(DataObjectHandler.java:375)
at com.rb.core.ui.web.a369.<init>(a369.java:62)
at com.rb.core.logics.servlet.PdfServlet.doGet(PdfServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:193)
at org.apache.catalina.valves.CrawlerSessionManagerValve.invoke(CrawlerSessionManagerValve.java:180)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:314)
at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:305)
at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:83)
at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:305)
at org.apache.catalina.valves.RemoteHostValve.invoke(RemoteHostValve.java:83)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Regards,
Liz
Hi LIz,
I can confirm this is an issue to be addressed. Tracking Defect as # PSC00331742.
Regards,
Mani.
Hi Mani
Phew I thought I was going slightly mad!
Many Thanks!
Liz
Hi Liz,
I confirmed defect from by checking the code. However I would need your help in reproducing this issue
Can you please help me with the detailed steps that were followed to see this issue
Regards,
Mani.
Hi,
I didn't really do anything in particular.
I have a "Person" tab with an object imported from Openedge. It contains general fields like first name, surname, address fields etc.
In the"List all" when selecting the PDF button the view of the screen is rendered correctly. However when I am in the "View" of a particular record and select the PDF button I get the PDF error.
This is the temp table of the Openedge table
DEFINE {&SCOPE} TEMP-TABLE ttPerson{&SUFFIX} NO-UNDO {&REFERENCE-ONLY}
BEFORE-TABLE ttPersonBefore{&SUFFIX}
FIELD PersonId AS INT64
FIELD Surname AS CHARACTER COLUMN-LABEL "Last Name"
FIELD Forename1 AS CHARACTER COLUMN-LABEL "First Name"
FIELD Forename2 AS CHARACTER COLUMN-LABEL "Middle Name"
FIELD Forename3 AS CHARACTER
FIELD PreferredName AS CHARACTER
FIELD AddressId AS INT64
FIELD AddressLine1 AS CHARACTER COLUMN-LABEL "Street Address-1"
FIELD AddressLine2 AS CHARACTER COLUMN-LABEL "Street Address-2"
FIELD AddressLine3 AS CHARACTER COLUMN-LABEL "City"
FIELD AddressLine4 AS CHARACTER
FIELD DummyProvince AS CHARACTER COLUMN-LABEL "State/Province"
FIELD AddressCountry AS CHARACTER
FIELD DummyCountry AS CHARACTER COLUMN-LABEL "Country"
FIELD AddressPostcode AS CHARACTER COLUMN-LABEL "ZIP/Postal Code"
FIELD NiNumber AS CHARACTER
FIELD BirthDate AS DATE
FIELD PersonTitleId AS INT64
FIELD PersonRef AS CHARACTER
FIELD PayslipName AS CHARACTER
FIELD NewPerson AS LOGICAL
FIELD PersonTitle AS CHARACTER
FIELD LoginName AS CHARACTER
FIELD external_password AS CHARACTER
FIELD PersonEmail AS CHARACTER COLUMN-LABEL "Email"
FIELD EmployeeRef AS CHARACTER
FIELD external_role AS CHARACTER
FIELD MobileNo AS CHARACTER COLUMN-LABEL "Mobile"
FIELD NotificationType AS CHARACTER
FIELD max_tries AS INTEGER
FIELD login_failures AS INTEGER INITIAL ?
FIELD password_locked AS LOGICAL
FIELD password_locked_until AS DATETIME-TZ
FIELD LeaveDate AS DATE
FIELD HomeTelephone AS CHARACTER COLUMN-LABEL "Phone"
FIELD Fax AS CHARACTER COLUMN-LABEL "Fax"
FIELD PayrollAccess AS CHARACTER
FIELD LastPayslipDetail AS CHARACTER
FIELD RoleDetails AS CHARACTER
FIELD SortNum AS INTEGER SERIALIZE-HIDDEN
INDEX PI_sortnum IS PRIMARY SortNum
INDEX PK_person IS UNIQUE
PersonId ASCENDING.
It worked before I moved to Rollbase 3.2.
Regards,
Liz
As Added Info...
it is on a Customer Tenant with "Current User Authentication".
An Openedge Object View with "Basic Authentication" on the Master Tenant seems to render correctly.
I have further info....
I changed it to Basic Authentication and entered a valid username and password and the rendering works... However we do need this work with "Current User Authentication"
This issue is fixed. The fix will be available in 3.2.3 release.