Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031408Retail ModulesWeb POSpublic2015-11-09 13:462015-11-12 16:24
alostale 
Retail 
normalmajorhave not tried
closedfixed 
5
 
RR15Q4RR15Q4 
marvintm
No
0031408: 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.
blocks defect 0031407 closed alostale errors deploying WebPOS in Tomcat 8 
Issue History
2015-11-09 13:47alostaleTypedefect => backport
2015-11-09 13:47alostaleTarget Version => RR15Q4
2015-11-09 13:48alostaleAssigned Toalostale => Retail
2015-11-09 13:48alostaleReview Assigned Tomarvintm =>
2015-11-11 10:43hgbotCheckin
2015-11-11 10:43hgbotNote Added: 0081680
2015-11-11 10:43hgbotCheckin
2015-11-11 10:43hgbotNote Added: 0081681
2015-11-11 10:43hgbotStatusscheduled => resolved
2015-11-11 10:43hgbotResolutionopen => fixed
2015-11-11 10:43hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/c5d95655b1fb9a825ca4bfa0aee3bf5b7be8b3c5 [^]
2015-11-11 10:43hgbotStatusscheduled => resolved
2015-11-12 11:51marvintmReview Assigned To => marvintm
2015-11-12 11:51marvintmStatusresolved => closed
2015-11-12 11:51marvintmFixed in Version => RR15Q4
2015-11-12 16:22gorka_gilNote Deleted: 0081681
2015-11-12 16:24gorka_gilNote Added: 0081759

Notes
(0081680)
hgbot   
2015-11-11 10:43   
Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: c5d95655b1fb9a825ca4bfa0aee3bf5b7be8b3c5
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Nov 09 13:52:11 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/c5d95655b1fb9a825ca4bfa0aee3bf5b7be8b3c5 [^]

fixed bug 31408: 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
---
(0081759)
gorka_gil   
2015-11-12 16:24   
Repository: retail/backports/3.0RR15Q4/org.openbravo.mobile.core
Changeset: e38b703e54e3
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Nov 09 13:50:41 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.mobile.core/rev/e38b703e54e3 [^] [^]

fixed bug 31408: 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
---