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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031407
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2015-11-09 13:462015-11-12 11:51
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revision2f725c08fa40
ProjectionnoneETAnoneTarget Version
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

0031407: 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 ]
related to design defect 0027247 closedcaristu Openbravo ERP Tomcat 8 is not supported 
related to defect 0030901 closedcaristu Openbravo ERP Images refernced from css are not working fine 
depends on backport 0031408RR15Q4 closedRetail Retail Modules errors deploying WebPOS in Tomcat 8 

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

- Issue History
Date Modified Username Field Change
2015-11-09 13:46 alostale New Issue
2015-11-09 13:46 alostale Assigned To => alostale
2015-11-09 13:46 alostale Triggers an Emergency Pack => No
2015-11-09 13:47 alostale Review Assigned To => marvintm
2015-11-09 13:47 alostale Status new => scheduled
2015-11-09 13:48 alostale Relationship added related to 0027247
2015-11-09 13:49 alostale Relationship added related to 0030901
2015-11-09 13:51 hgbot Checkin
2015-11-09 13:51 hgbot Note Added: 0081622
2015-11-09 13:51 hgbot Status scheduled => resolved
2015-11-09 13:51 hgbot Resolution open => fixed
2015-11-09 13:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b65c56e09b54b45d5f4448f9752c121da4d86503 [^]
2015-11-09 13:52 hgbot Checkin
2015-11-09 13:52 hgbot Note Added: 0081623
2015-11-09 13:52 hgbot Fixed in SCM revision http://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:51 marvintm Status resolved => closed
2015-11-12 11:51 marvintm Fixed in Version => RR16Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker