[MGNLSLOCK-25] NPE occures at DefaultSoftLockingSupport Created: 30/Aug/13  Updated: 30/Aug/13  Resolved: 30/Aug/13

Status: Closed
Project: Magnolia Soft Locking Module
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.3

Type: Bug Priority: Major
Reporter: Milan Divilek Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

EEbundle tests sometimes fails cause of NPE at info.magnolia.module.softlocking.impl.DefaultSoftLockingSupport

[WARNING] [talledLocalContainer] Caused by: java.lang.NullPointerException
[WARNING] [talledLocalContainer] 	at info.magnolia.module.softlocking.impl.DefaultSoftLockingSupport.addOrUpdateCurrentUserToEditingList(DefaultSoftLockingSupport.java:205)
[WARNING] [talledLocalContainer] 	at info.magnolia.module.softlocking.impl.DefaultSoftLockingSupport.lockedBy(DefaultSoftLockingSupport.java:112)
[WARNING] [talledLocalContainer] 	at info.magnolia.module.softlocking.impl.DefaultSoftLockingSupport.lock(DefaultSoftLockingSupport.java:89)
[WARNING] [talledLocalContainer] 	at info.magnolia.module.softlocking.impl.DefaultSoftLockingSupport$$EnhancerByCGLIB$$3dfc036.lock(<generated>)
[WARNING] [talledLocalContainer] 	at info.magnolia.module.softlocking.filters.SoftLockingFilter.doFilter(SoftLockingFilter.java:161)
[WARNING] [talledLocalContainer] 	...
500 Error - http://localhost:8088/magnoliaTest/demo-project/service/glossary/g/g5.html?mgnlIntercept=PREVIEW&mgnlPreview=false


 Comments   
Comment by Jan Haderka [ 30/Aug/13 ]

Skipping the test due to timing issue. Previous failure was caused by removal of item from the map between containsKey() and get() calls.

Generated at Mon Feb 12 07:14:36 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.