-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Description
The getOrientation() method in TabbedDemo.java does not check if currentLayout is null before calling currentLayout.getOrientation(), which can result in a NullPointerException when the method is called before any content is loaded.
Location
File: src/main/java/com/flowingcode/vaadin/addons/demo/TabbedDemo.java
Method: getOrientation() (around lines 346-348)
Context
Other similar methods like toggleSourcePosition() and setOrientation() include null checks for currentLayout, but getOrientation() does not follow this pattern.
References
Metadata
Metadata
Assignees
Labels
No labels