Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029775Retail ModulesWeb POSpublic2015-05-05 11:562015-05-07 10:15
Orekaria 
Orekaria 
normalminoralways
closedfixed 
5
 
RR15Q3 
malsasua
No
0029775: Improve the error message when a bean fails to be created
Improve the error message when a bean fails to be created
Provoke an error in a request. e.g: backout the related issue changeset and reproduce it

Verify that this message is shown:

2015-05-04 19:05:42,712 [main] WARN VBS1001.I29558_IncorrectCurrencyAmountAfterCancelingPayment - java.lang.AssertionError: (4) errors in the tomcat log (Mon May 04 19:05:40 UTC 2015):
2015-05-04 19:05:40,847 [TP-Processor12] ERROR org.openbravo.dal.core.ThreadHandler - WELD-001308 Unable to resolve any beans for Types: [interface org.openbravo.client.kernel.ComponentProvider]; Bindings: [QualifierInstance{annotationClass=interface org.openbravo.client.kernel.ComponentProvider$Qualifier, values={[method] public abstract org.openbravo.client.kernel.ComponentProvider$Qualifier.value()=img}, hashCode=629312463}, QualifierInstance{annotationClass=interface javax.enterprise.inject.Any, values={}, hashCode=540192487}]
2015-05-04 19:05:40,848 [TP-Processor12] ERROR org.openbravo.base.exception.OBException - Exception thrown WELD-001308 Unable to resolve any beans for Types: [interface org.openbravo.client.kernel.ComponentProvider]; Bindings: [QualifierInstance{annotationClass=interface org.openbravo.client.kernel.ComponentProvider$Qualifier, values={[method] public abstract org.openbravo.client.kernel.ComponentProvider$Qualifier.value()=img}, hashCode=629312463}, QualifierInstance{annotationClass=interface javax.enterprise.inject.Any, values={}, hashCode=540192487}]
2015-05-04 19:05:40,848 [TP-Processor12] ERROR org.openbravo.dal.core.ThreadHandler - Exception thrown WELD-001308 Unable to resolve any beans for Types: [interface org.openbravo.client.kernel.ComponentProvider]; Bindings: [QualifierInstance{annotationClass=interface org.openbravo.client.kernel.ComponentProvider$Qualifier, values={[method] public abstract org.openbravo.client.kernel.ComponentProvider$Qualifier.value()=img}, hashCode=629312463}, QualifierInstance{annotationClass=interface javax.enterprise.inject.Any, values={}, hashCode=540192487}]
2015-05-04 19:05:40,848 [TP-Processor12] ERROR org.openbravo.base.exception.OBException - Exception thrown Exception thrown WELD-001308 Unable to resolve any beans for Types: [interface org.openbravo.client.kernel.ComponentProvider]; Bindings: [QualifierInstance{annotationClass=interface org.openbravo.client.kernel.ComponentProvider$Qualifier, values={[method] public abstract org.openbravo.client.kernel.ComponentProvider$Qualifier.value()=img}, hashCode=629312463}, QualifierInstance{annotationClass=interface javax.enterprise.inject.Any, values={}, hashCode=540192487}]
Log the URI requested
No tags attached.
related to defect 0029772 closed Orekaria An image failing to be loaded results in a tomcat error because the bean is not found 
Issue History
2015-05-05 11:56OrekariaNew Issue
2015-05-05 11:56OrekariaAssigned To => Orekaria
2015-05-05 11:56OrekariaTriggers an Emergency Pack => No
2015-05-05 16:48OrekariaRelationship addedrelated to 0029772
2015-05-05 16:50OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8443#r8443
2015-05-06 15:32hgbotCheckin
2015-05-06 15:32hgbotNote Added: 0077058
2015-05-06 15:32hgbotStatusnew => resolved
2015-05-06 15:32hgbotResolutionopen => fixed
2015-05-06 15:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a8d474293cc419ecce7b30c0f191631f517b1a83 [^]
2015-05-07 10:15malsasuaReview Assigned To => malsasua
2015-05-07 10:15malsasuaNote Added: 0077069
2015-05-07 10:15malsasuaStatusresolved => closed
2015-05-07 10:15malsasuaFixed in Version => RR15Q3

Notes
(0077058)
hgbot   
2015-05-06 15:32   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a8d474293cc419ecce7b30c0f191631f517b1a83
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue May 05 11:58:12 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a8d474293cc419ecce7b30c0f191631f517b1a83 [^]

Fixes issue 29775: Better error message when a Bean cannot be created

The problem was that the message was not explicit enought to provide useful information

---
M src/org/openbravo/mobile/core/MobileCoreComponentServlet.java
---
(0077069)
malsasua   
2015-05-07 10:15   
verified