Hi, i got error when trying to print the Sales Order, before that, i can print the SO normally, but now I can't print and got error message like below. I am using SuSE and postgresql. If i use a other DB (not edited yet) it's normal with the same application server. Mmm.... Im not sure 100% but i believe the DB is broken. How to fix that problems.
Thank YOu.
Exception in thread "Thread-7" java.lang.NullPointerException
at
org.compiere.model.MLocation.isAddressLinesReverse(MLocation.java:353
)
at
org.compiere.print.layout.LocationElement.<init>(LocationElement.java
:47)
at
org.compiere.print.layout.LayoutEngine.createFieldElement(LayoutEngin
e.java:1251)
at
org.compiere.print.layout.LayoutEngine.layoutForm(LayoutEngine.java:9
64)
at
org.compiere.print.layout.LayoutEngine.layout(LayoutEngine.java:349)
at org.compiere.print.layout.LayoutEngine.<init>(LayoutEngine.java:54)
at org.compiere.print.ReportEngine.layout(ReportEngine.java:173)
at org.compiere.print.ReportEngine.print(ReportEngine.java:265)
at org.compiere.print.ReportCtl.startDocumentPrint(ReportCtl.java:158)
at org.compiere.print.ReportCtl.start(ReportCtl.java:57)
at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:269)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, i got error when trying to print the Sales Order, before that, i can print the SO normally, but now I can't print and got error message like below. I am using SuSE and postgresql. If i use a other DB (not edited yet) it's normal with the same application server. Mmm.... Im not sure 100% but i believe the DB is broken. How to fix that problems.
Thank YOu.
Exception in thread "Thread-7" java.lang.NullPointerException
at
org.compiere.model.MLocation.isAddressLinesReverse(MLocation.java:353
)
at
org.compiere.print.layout.LocationElement.<init>(LocationElement.java
:47)
at
org.compiere.print.layout.LayoutEngine.createFieldElement(LayoutEngin
e.java:1251)
at
org.compiere.print.layout.LayoutEngine.layoutForm(LayoutEngine.java:9
64)
at
org.compiere.print.layout.LayoutEngine.layout(LayoutEngine.java:349)
at org.compiere.print.layout.LayoutEngine.<init>(LayoutEngine.java:54)
at org.compiere.print.ReportEngine.layout(ReportEngine.java:173)
at org.compiere.print.ReportEngine.print(ReportEngine.java:265)
at org.compiere.print.ReportCtl.startDocumentPrint(ReportCtl.java:158)
at org.compiere.print.ReportCtl.start(ReportCtl.java:57)
at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:269)