Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031407Retail ModulesWeb POSpublic2015-11-09 13:462015-11-12 11:51
alostale 
alostale 
normalmajorhave not tried
closedfixed 
5
 
RR16Q1 
marvintm
No
0031407: errors deploying WebPOS in Tomcat 8
Trying to deploy WebPOS in Tomcat 8, the following error can be seen in openbravo.log:

...
caused by: java.lang.NullPointerException
    at java.io.File.<init>(File.java:277)
    at org.openbravo.mobile.core.MobileCoreApplicationCacheComponent.getAssets(MobileCoreApplicationCacheComponent.java:75)
1. Deploy Openbravo with retail modules in Tomcat 8
2. Open WebPOS
   -> see openbravo.log contains error described above
No tags attached.
related to design defect 0027247 closed caristu Openbravo ERP Tomcat 8 is not supported 
related to defect 0030901 closed caristu Openbravo ERP Images refernced from css are not working fine 
depends on backport 0031408RR15Q4 closed Retail Retail Modules errors deploying WebPOS in Tomcat 8 
Issue History
2015-11-09 13:46alostaleNew Issue
2015-11-09 13:46alostaleAssigned To => alostale
2015-11-09 13:46alostaleTriggers an Emergency Pack => No
2015-11-09 13:47alostaleReview Assigned To => marvintm
2015-11-09 13:47alostaleStatusnew => scheduled
2015-11-09 13:48alostaleRelationship addedrelated to 0027247
2015-11-09 13:49alostaleRelationship addedrelated to 0030901
2015-11-09 13:51hgbotCheckin
2015-11-09 13:51hgbotNote Added: 0081622
2015-11-09 13:51hgbotStatusscheduled => resolved
2015-11-09 13:51hgbotResolutionopen => fixed
2015-11-09 13:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b65c56e09b54b45d5f4448f9752c121da4d86503 [^]
2015-11-09 13:52hgbotCheckin
2015-11-09 13:52hgbotNote Added: 0081623
2015-11-09 13:52hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b65c56e09b54b45d5f4448f9752c121da4d86503 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2f725c08fa401c0df4af012a7f46465db0d57e5b [^]
2015-11-12 11:51marvintmStatusresolved => closed
2015-11-12 11:51marvintmFixed in Version => RR16Q1

Notes
(0081622)
hgbot   
2015-11-09 13:51   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b65c56e09b54b45d5f4448f9752c121da4d86503
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Nov 09 13:50:41 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b65c56e09b54b45d5f4448f9752c121da4d86503 [^]

fixed bug 31407: errors deploying WebPOS in Tomcat 8

  NPE was logged when opening WebPOS if deployed in Tomcat 8 because in Tomcat 8
  RequestContext.getServletContext().getRealPath requires real path to start with
  "/" whereas before it was not required.

---
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
---
(0081623)
hgbot   
2015-11-09 13:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2f725c08fa401c0df4af012a7f46465db0d57e5b
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Nov 09 13:52:11 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2f725c08fa401c0df4af012a7f46465db0d57e5b [^]

fixed bug 31407: errors deploying WebPOS in Tomcat 8

  NPE was logged when opening WebPOS if deployed in Tomcat 8 because in Tomcat 8
  RequestContext.getServletContext().getRealPath requires real path to start with
  "/" whereas before it was not required.

---
M src/org/openbravo/retail/posterminal/ApplicationCacheComponent.java
---