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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051042
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2022-11-30 14:302023-01-09 17:10
ReporterngarciaView Statuspublic 
Assigned Tofrancisco_ofarril 
PriorityurgentResolutionfixedFixed in VersionPR23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051042: NullPointerException when opening Open/Close Period Control window if it is included in Role - Window Access - Tab Access

DescriptionNullPointerException when opening Open/Close Period Control window if it is included in Role - Window Access - Tab Access
Steps To ReproduceAs group admin role:
   Go to Role window and select your role
   In the Window Access tab select Open/Close Period Control
   Add Period Control - Open/Close Period Control in Tab Access tab

   Log out and log in
   Open Open/Close Period Control window

   Check a Pop-up appears with the following error:

      Error occured: org.openbravo.base.exception.OBException: java.lang.NullPointerException

   The log shows:

   ERROR org.openbravo.client.kernel.KernelUtils - org.openbravo.base.exception.OBException: java.lang.NullPointerException
java.lang.IllegalStateException: org.openbravo.base.exception.OBException: java.lang.NullPointerException
    at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:64) ~[classes/:?]
    at org.openbravo.client.application.WindowSettingsActionHandler$Proxy$_$$_WeldClientProxy.execute(Unknown Source) ~[classes/:?]
    at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:319) [classes/:?]
    at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:208) [classes/:?]
    ...
Caused by: org.openbravo.base.exception.OBException: java.lang.NullPointerException
    at org.openbravo.client.application.WindowSettingsActionHandler.execute(WindowSettingsActionHandler.java:110) ~[classes/:?]
    at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:59) ~[classes/:?]
    ... 50 more
Caused by: java.lang.NullPointerException
    at org.openbravo.client.application.WindowSettingsActionHandler.getFieldLevelRoles(WindowSettingsActionHandler.java:179) ~[classes/:?]
    at org.openbravo.client.application.WindowSettingsActionHandler.execute(WindowSettingsActionHandler.java:102) ~[classes/:?]
    at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:59) ~[classes/:?]
    ... 50 more

The status field does not have a related column and the following call fails

field.getColumn().isUpdatable()
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0144494)
hgbot (developer)
2022-12-09 12:08

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/782 [^]
(0145214)
hgbot (developer)
2023-01-09 17:10

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/782 [^]
(0145215)
hgbot (developer)
2023-01-09 17:10

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: b6f038e37986526e7b91264eb07c0166f521ddfe
Author: francisco.ofarril87 <francisco.ofarril@openbravo.com>
Date: 09-01-2023 17:10:09
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/b6f038e37986526e7b91264eb07c0166f521ddfe [^]

Fixed ISSUE-51042: NullPointerException when opening Open/Close Period Control window if it is included in Role - Window Access - Tab Access

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java
---

- Issue History
Date Modified Username Field Change
2022-11-30 14:30 ngarcia New Issue
2022-11-30 14:30 ngarcia Assigned To => Triage Omni OMS
2022-11-30 14:30 ngarcia Modules => Core
2022-11-30 14:30 ngarcia Triggers an Emergency Pack => No
2022-12-05 16:28 francisco_ofarril Assigned To Triage Omni OMS => francisco_ofarril
2022-12-06 22:00 francisco_ofarril Status new => acknowledged
2022-12-09 12:08 hgbot Note Added: 0144494
2022-12-09 12:31 vmromanos Status acknowledged => scheduled
2022-12-27 10:48 aferraz Review Assigned To => AugustoMauch
2023-01-09 17:10 hgbot Note Added: 0145214
2023-01-09 17:10 hgbot Resolution open => fixed
2023-01-09 17:10 hgbot Status scheduled => closed
2023-01-09 17:10 hgbot Fixed in Version => PR23Q1
2023-01-09 17:10 hgbot Note Added: 0145215


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker