Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023626Openbravo ERP03. Procurement managementpublic2013-04-24 10:552013-04-26 23:54
caristu 
dmiguelez 
highmajoralways
closedfixed 
5
pi 
3.0MP23 
eduardo_Argal
Core
No
0023626: NullPointerException thrown when posting a goods receipt without a product selected
When posting a goods receipt (or a goods shipment) that hasn't a product selected in one of its lines a NullPointerException is thrown an a message with this text: "java.lang.NullPointerException" is displayed to the user. (See attachment)
1) Go to [Goods Receipt] window
2) Create a new record in the header
3) Create a new line, select the quantity and the storage bin but leave the product field empty
4) Complete it.
5) Try to post it.
Manage the error to show a friendlier message or modify the posting process to avoid this error.
No tags attached.
png nullPointerException.png (7,559) 2013-04-24 10:56
https://issues.openbravo.com/file_download.php?file_id=6109&type=bug
png
Issue History
2013-04-24 10:55caristuNew Issue
2013-04-24 10:55caristuAssigned To => dmiguelez
2013-04-24 10:55caristuModules => Core
2013-04-24 10:55caristuTriggers an Emergency Pack => No
2013-04-24 10:55caristuIssue Monitored: networkb
2013-04-24 10:56caristuFile Added: nullPointerException.png
2013-04-24 11:01caristuResolution time => 1369605600
2013-04-24 11:01caristuversion => pi
2013-04-24 12:14dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-04-25 10:44jonalegriaesarteAssigned Tojonalegriaesarte => dmiguelez
2013-04-25 12:24hgbotCheckin
2013-04-25 12:24hgbotNote Added: 0058241
2013-04-25 12:24hgbotStatusnew => resolved
2013-04-25 12:24hgbotResolutionopen => fixed
2013-04-25 12:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f74f6987c503b2702d41bab7fe0d25508e051d68 [^]
2013-04-25 12:26dmiguelezReview Assigned To => eduardo_Argal
2013-04-25 12:26dmiguelezNote Added: 0058242
2013-04-25 12:26dmiguelezStatusresolved => closed
2013-04-26 23:54hudsonbotCheckin
2013-04-26 23:54hudsonbotNote Added: 0058283

Notes
(0058241)
hgbot   
2013-04-25 12:24   
Repository: erp/devel/pi
Changeset: f74f6987c503b2702d41bab7fe0d25508e051d68
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Apr 25 12:23:10 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f74f6987c503b2702d41bab7fe0d25508e051d68 [^]

Fixes Issue 23626. Prevents Null Pointer Exception.

---
M src/org/openbravo/erpCommon/ad_forms/DocInOut.java
---
(0058242)
dmiguelez   
2013-04-25 12:26   
Code Review + Testing Ok
(0058283)
hudsonbot   
2013-04-26 23:54   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/1db7e66bd5c5 [^]

Maturity status: Test