Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Add halo-theme.properties and hover-theme.properties to jmix.ui.themeConfig (port to 0.9) #413

Closed
glebfox opened this issue Mar 30, 2021 · 2 comments
Assignees
Milestone

Comments

@glebfox
Copy link
Contributor

glebfox commented Mar 30, 2021

See #401

@glebfox glebfox added this to the 0.9.x milestone Mar 30, 2021
@glebfox glebfox self-assigned this Mar 30, 2021
@glebfox glebfox changed the title Add halo-theme.properties and hover-theme.properties to jmix.ui.themeConfig Add halo-theme.properties and hover-theme.properties to jmix.ui.themeConfig (port to 0.9) Mar 31, 2021
@natfirst natfirst assigned DartVerder and unassigned natfirst Mar 31, 2021
@DartVerder DartVerder reopened this Apr 2, 2021
@DartVerder
Copy link

java.lang.NullPointerException: null
	at io.jmix.ui.icon.IconsImpl.getThemeIcon(IconsImpl.java:126) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.icon.IconsImpl.get(IconsImpl.java:113) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.xml.layout.loader.AbstractComponentLoader.getIconPath(AbstractComponentLoader.java:542) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.xml.layout.loader.AbstractComponentLoader.initAction(AbstractComponentLoader.java:636) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.xml.layout.loader.AbstractComponentLoader.loadDeclarativeActionDefault(AbstractComponentLoader.java:584) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.xml.layout.loader.AbstractComponentLoader.loadDeclarativeAction(AbstractComponentLoader.java:565) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.xml.layout.loader.WindowLoader.loadDeclarativeAction(WindowLoader.java:216) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.xml.layout.loader.AbstractComponentLoader.loadActions(AbstractComponentLoader.java:560) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.xml.layout.loader.WindowLoader.loadComponent(WindowLoader.java:67) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.sys.ScreensImpl.loadWindowFromXml(ScreensImpl.java:323) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.sys.ScreensImpl.createScreen(ScreensImpl.java:201) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.sys.ScreensImpl.create(ScreensImpl.java:142) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.Screens.create(Screens.java:68) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.App.createTopLevelWindow(App.java:259) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.JmixApp.initializeUi(JmixApp.java:68) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.JmixApp.loginOnStart(JmixApp.java:36) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.AppUI.setupUI(AppUI.java:336) ~[jmix-ui-0.9.0.jar:na]
	at io.jmix.ui.AppUI.init(AppUI.java:265) ~[jmix-ui-0.9.0.jar:na]

@glebfox
Copy link
Contributor Author

glebfox commented May 20, 2021

@DartVerder The provided fix is intended to fix this exception, not add it. According to your stack trace, you've tested on 0.9.0 release version instead of SNAPSHOT.

@knstvk knstvk modified the milestones: 0.9.x, 0.9.1 May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants