Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0010645 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 01. General setup | critical | have not tried | 2009-09-17 12:40 | 2009-10-06 10:53 | |||
| Reporter | arunkumar | View Status | public | |||||
| Assigned To | marvintm | |||||||
| Priority | immediate | Resolution | fixed | Fixed in Version | 2.50MP6 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | c517a8f39fc4 | ||||
| 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 | 0010645: Unable to setup the Initial client | |||||||
| Description | While setting up the initial client in Pi context gives error - NullPointerException | |||||||
| Steps To Reproduce | * Login as Openbravo/openbravo * Click on icon "user info" and select the role "System Administrator" * Go General Setup -> Client-> Initial client setup * Fill the client field : SampleClient * Fill the Client Username: SampleClientAdmin * Fill the currency. EUR * Unmark the flag Include accounting * Click OK It shows java.lang.NullPointerException error. Please refer the screenshot. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0020142) rafaroda (viewer) 2009-09-17 14:13 |
Seem to have been caused by https://code.openbravo.com/erp/devel/pi/rev/f011e8d56e91 [^] I debugged it and fails when trying to execute yourCompanyBigImage.setBindaryData(sys.getYourCompanyBigImage().getBindaryData()); inside // Add images Client newClient = OBDal.getInstance().get(Client.class, AD_Client_ID); SystemInformation sys = OBDal.getInstance().get(SystemInformation.class, "0"); Image yourCompanyBigImage = OBProvider.getInstance().get(Image.class); yourCompanyBigImage.setBindaryData(sys.getYourCompanyBigImage().getBindaryData()); yourCompanyBigImage.setName(sys.getYourCompanyBigImage().getName()); newClient.getClientInformationList().get(0).setYourCompanyBigImage(yourCompanyBigImage); |
|
(0020144) hgbot (developer) 2009-09-17 15:17 |
Repository: erp/devel/pi Changeset: c02eb5b9178453279cbe8f30dfa7a1c143c59ddc Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Thu Sep 17 15:17:19 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/c02eb5b9178453279cbe8f30dfa7a1c143c59ddc [^] Fixed issue 10645. Improved the InitialClientSetup and InitialOrganizationSetup so that they don't fail if logo images weren't correctly loaded to SystemInfo table. --- M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java M src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java --- |
|
(0020145) marvintm (viewer) 2009-09-17 15:22 |
With the change, neither Initial Client Setup nor Initial Org Setup should fail when images weren't loaded in the system. However, images _should_ be loaded into the System. |
|
(0020150) hgbot (developer) 2009-09-17 17:52 |
Repository: erp/devel/pi Changeset: c517a8f39fc4eb7ff4d72d2d596fc345372e3a81 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Thu Sep 17 15:27:32 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/c517a8f39fc4eb7ff4d72d2d596fc345372e3a81 [^] Small mistake in fix of issue 10645. --- M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java --- |
|
(0020181) sureshbabu (viewer) 2009-09-18 08:47 |
Tested able to create a new client |
|
(0020481) hgbot (developer) 2009-09-29 14:12 |
Repository: erp/devel/pi-pageddatagrid Changeset: c02eb5b9178453279cbe8f30dfa7a1c143c59ddc Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Thu Sep 17 15:17:19 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/c02eb5b9178453279cbe8f30dfa7a1c143c59ddc [^] Fixed issue 10645. Improved the InitialClientSetup and InitialOrganizationSetup so that they don't fail if logo images weren't correctly loaded to SystemInfo table. --- M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java M src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java --- |
|
(0020482) hgbot (developer) 2009-09-29 14:13 |
Repository: erp/devel/pi-pageddatagrid Changeset: c517a8f39fc4eb7ff4d72d2d596fc345372e3a81 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Thu Sep 17 15:27:32 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/c517a8f39fc4eb7ff4d72d2d596fc345372e3a81 [^] Small mistake in fix of issue 10645. --- M src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java --- |
|
(0020738) psarobe (viewer) 2009-10-06 10:53 |
Closed again because hudson has reopened without no reason |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-09-17 12:40 | arunkumar | New Issue | |
| 2009-09-17 12:40 | arunkumar | Assigned To | => rafaroda |
| 2009-09-17 12:40 | arunkumar | File Added: Initialclientsetup.JPG | |
| 2009-09-17 12:40 | arunkumar | OBNetwork customer | => No |
| 2009-09-17 14:13 | rafaroda | Note Added: 0020142 | |
| 2009-09-17 14:13 | rafaroda | Priority | normal => immediate |
| 2009-09-17 14:13 | rafaroda | Severity | major => critical |
| 2009-09-17 14:13 | rafaroda | Status | new => acknowledged |
| 2009-09-17 15:06 | rafaroda | Assigned To | rafaroda => marvintm |
| 2009-09-17 15:06 | rafaroda | Status | acknowledged => scheduled |
| 2009-09-17 15:17 | hgbot | Checkin | |
| 2009-09-17 15:17 | hgbot | Note Added: 0020144 | |
| 2009-09-17 15:17 | hgbot | Status | scheduled => resolved |
| 2009-09-17 15:17 | hgbot | Resolution | open => fixed |
| 2009-09-17 15:17 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c02eb5b9178453279cbe8f30dfa7a1c143c59ddc [^] |
| 2009-09-17 15:22 | marvintm | Note Added: 0020145 | |
| 2009-09-17 17:52 | hgbot | Checkin | |
| 2009-09-17 17:52 | hgbot | Note Added: 0020150 | |
| 2009-09-17 17:52 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/c02eb5b9178453279cbe8f30dfa7a1c143c59ddc [^] => http://code.openbravo.com/erp/devel/pi/rev/c517a8f39fc4eb7ff4d72d2d596fc345372e3a81 [^] |
| 2009-09-18 08:47 | sureshbabu | Status | resolved => closed |
| 2009-09-18 08:47 | sureshbabu | Note Added: 0020181 | |
| 2009-09-18 08:47 | sureshbabu | Fixed in Version | => 2.50MP6 |
| 2009-09-19 00:00 | anonymous | sf_bug_id | 0 => 2861745 |
| 2009-09-29 14:12 | hgbot | Checkin | |
| 2009-09-29 14:12 | hgbot | Note Added: 0020481 | |
| 2009-09-29 14:12 | hgbot | Status | closed => resolved |
| 2009-09-29 14:12 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/c517a8f39fc4eb7ff4d72d2d596fc345372e3a81 [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/c02eb5b9178453279cbe8f30dfa7a1c143c59ddc [^] |
| 2009-09-29 14:13 | hgbot | Checkin | |
| 2009-09-29 14:13 | hgbot | Note Added: 0020482 | |
| 2009-09-29 14:13 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/c02eb5b9178453279cbe8f30dfa7a1c143c59ddc [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/c517a8f39fc4eb7ff4d72d2d596fc345372e3a81 [^] |
| 2009-10-06 10:53 | psarobe | Status | resolved => closed |
| 2009-10-06 10:53 | psarobe | Note Added: 0020738 | |
| Copyright © 2000 - 2009 MantisBT Group |