Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0013537 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | major | have not tried | 2010-06-04 19:07 | 2010-06-08 00:00 | |||
| Reporter | shuehner | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | 3e66944fd007 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | pi | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0013537: [NewCR] NPE in butler log when use Module tab of newly created forge project | |||||||
| Description | NPE in butler log when using Module tab of newly create forge project (which does not yet have a module assigned) 83.230.226.193 - - [04/Jun/2010:19:03:40 +0200] 33025 "GET /heartbeat-server/org.openbravo.utility.centralrepository.ui.sso/CentralRepository?navigate=ModuleTab&projectname=test1test2&projectId=715 HTTP/1.1" 200 461 "http://crtest.essentiaforge.org/projects/test1test2/module" [^] "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3" ==> /var/log/tomcat/butler.log <== 251ef582 19:03:41 [ajp-8009-3] ERROR org.openbravo.dal.core.ThreadHandler - java.lang.NullPointerException at org.openbravo.utility.centralrepository.ui.sso.ModuleTab.printPageVersion(ModuleTab.java:166) at org.openbravo.utility.centralrepository.ui.sso.ModuleTab.doPost(ModuleTab.java:77) | |||||||
| Steps To Reproduce | Create a new project in the forge, mark the option 'module' when doing so go to the projects page Use the 'module' link on the top-menu browser message says: Module not found butler.log file has NPE | |||||||
| Tags | NewCR | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0028008) shuehner (administrator) 2010-06-04 19:08 |
In ModuleTab.java around line 66: if (module == null) { printPageError(resp, "Module Not Found!"); } the error message is added however the servlet flow continues and later code fails as module == null |
|
(0028014) hgbot (developer) 2010-06-04 22:55 |
Repository: erp/pmods/org.openbravo.utility.centralrepository Changeset: 3e66944fd0079784c0cea0484a6050d633cf0c0c Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Jun 04 22:54:08 2010 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/3e66944fd0079784c0cea0484a6050d633cf0c0c [^] fixed bug 13537: prevent npe after showing no module found msg --- M src/org/openbravo/utility/centralrepository/ui/sso/ModuleTab.java --- |
|
(0028052) shuehner (administrator) 2010-06-07 12:56 |
Tested, NPE does no longer happen. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-06-04 19:07 | shuehner | New Issue | |
| 2010-06-04 19:07 | shuehner | Assigned To | => alostale |
| 2010-06-04 19:07 | shuehner | OBNetwork customer | => No |
| 2010-06-04 19:08 | shuehner | Tag Attached: NewCR | |
| 2010-06-04 19:08 | shuehner | Note Added: 0028008 | |
| 2010-06-04 22:55 | hgbot | Checkin | |
| 2010-06-04 22:55 | hgbot | Note Added: 0028014 | |
| 2010-06-04 22:55 | hgbot | Status | new => resolved |
| 2010-06-04 22:55 | hgbot | Resolution | open => fixed |
| 2010-06-04 22:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/3e66944fd0079784c0cea0484a6050d633cf0c0c [^] |
| 2010-06-07 12:55 | shuehner | Relationship added | related to 0013553 |
| 2010-06-07 12:56 | shuehner | Note Added: 0028052 | |
| 2010-06-07 12:56 | shuehner | Status | resolved => closed |
| 2010-06-08 00:00 | anonymous | sf_bug_id | 0 => 3012881 |
| Copyright © 2000 - 2009 MantisBT Group |