Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031408
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2015-11-09 13:462015-11-12 16:24
ReporteralostaleView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revisionc5d95655b1fb
ProjectionnoneETAnoneTarget VersionRR15Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031408: errors deploying WebPOS in Tomcat 8

DescriptionTrying 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)
Steps To Reproduce1. Deploy Openbravo with retail modules in Tomcat 8
2. Open WebPOS
   -> see openbravo.log contains error described above
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0031407 closedalostale errors deploying WebPOS in Tomcat 8 

-  Notes
(0081680)
hgbot (developer)
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 (administrator)
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
---

- Issue History
Date Modified Username Field Change
2015-11-09 13:47 alostale Type defect => backport
2015-11-09 13:47 alostale Target Version => RR15Q4
2015-11-09 13:48 alostale Assigned To alostale => Retail
2015-11-09 13:48 alostale Review Assigned To marvintm =>
2015-11-11 10:43 hgbot Checkin
2015-11-11 10:43 hgbot Note Added: 0081680
2015-11-11 10:43 hgbot Checkin
2015-11-11 10:43 hgbot Note Added: 0081681
2015-11-11 10:43 hgbot Status scheduled => resolved
2015-11-11 10:43 hgbot Resolution open => fixed
2015-11-11 10:43 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/c5d95655b1fb9a825ca4bfa0aee3bf5b7be8b3c5 [^]
2015-11-11 10:43 hgbot Status scheduled => resolved
2015-11-12 11:51 marvintm Review Assigned To => marvintm
2015-11-12 11:51 marvintm Status resolved => closed
2015-11-12 11:51 marvintm Fixed in Version => RR15Q4
2015-11-12 16:22 gorka_gil Note Deleted: 0081681
2015-11-12 16:24 gorka_gil Note Added: 0081759


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker