Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 373076 - Possible NullPointerException when switching views very fast
Summary: Possible NullPointerException when switching views very fast
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Claudio Guglielmo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 07:33 EST by Oli Schmid CLA
Modified: 2021-08-19 10:59 EDT (History)
1 user (show)

See Also:
claudio.guglielmo: juno+


Attachments
Possible patch (1.22 KB, patch)
2012-03-02 07:45 EST, Oli Schmid CLA
claudio.guglielmo: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oli Schmid CLA 2012-03-02 07:33:21 EST
Build Identifier: Version: 3.6.2 Build id: M20110210-1200

When swiching the view while set title event. Releated form can be nulled by the previouse event already. This causes a NullPointerException. In the two methods setTitleFromScout and setImageFromScout in the class org.eclipse.scout.rt.ui.swt.window.desktop.view.AbstractScoutView

I asume the problem is caused by implementation of changes in due to Bug 365458.

Reproducible: Sometimes

Steps to Reproduce:
1. Define multiple views with title and let them switch by a loop.
Comment 1 Oli Schmid CLA 2012-03-02 07:45:32 EST
Created attachment 211954 [details]
Possible patch
Comment 2 Claudio Guglielmo CLA 2012-05-01 07:58:16 EDT
Thank you for the patch! It's fixed for Juno.
Comment 3 Matthias Zimmermann CLA 2012-07-09 06:49:19 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)