Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceFactoryProviderNotFound when closing design #1941

Closed
anssit opened this issue Nov 8, 2018 · 0 comments
Closed

ServiceFactoryProviderNotFound when closing design #1941

anssit opened this issue Nov 8, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@anssit
Copy link
Contributor

anssit commented Nov 8, 2018

Steps to reproduce

Open a Flow design
Edit the design in source mode
Go back to edit mode
Close the design

Actual behavior

Design closes but an exception is thrown:

Provider with the id flow/3802 could not be found.
com.vaadin.designer2.services.ServiceFactoryProviderNotFound: Provider with the id flow/3802 could not be found.
	at com.vaadin.designer2.services.ServiceFactory.getService(ServiceFactory.java:107)
	at com.vaadin.designer2.intellij.editor.actions.SelectPaperSizeAction.getViewPortService(SelectPaperSizeAction.java:322)
	at com.vaadin.designer2.intellij.editor.actions.SelectPaperSizeAction.getPaperSize(SelectPaperSizeAction.java:315)
	at com.vaadin.designer2.intellij.editor.actions.SelectPaperSizeAction.selectSizePresetInComboBox(SelectPaperSizeAction.java:132)
	at com.vaadin.designer2.intellij.editor.actions.SelectPaperSizeAction.lambda$new$0(SelectPaperSizeAction.java:87)
	at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
	at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)
	at javax.swing.JComboBox.contentsChanged(JComboBox.java:1330)
	at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118)
	at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:93)
	at javax.swing.JComboBox.actionPerformed(JComboBox.java:1314)
	at javax.swing.plaf.basic.BasicComboBoxUI$Handler.focusLost(BasicComboBoxUI.java:1838)
	at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:230)
	at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:229)
	at java.awt.Component.processFocusEvent(Component.java:6425)
	at java.awt.Component.processEvent(Component.java:6289)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:995)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:661)
	at java.awt.Component.dispatchEventImpl(Component.java:4760)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Expected behavior

Design closes.

IDE, Designer and OS version

IntelliJ IDEA, Designer 4.0.0.beta1, any OS

@anssit anssit added the bug label Nov 8, 2018
@anssit anssit self-assigned this Nov 9, 2018
@szolo szolo self-assigned this Nov 12, 2018
@ripla ripla added this to the 4.0.0.beta2 milestone Nov 22, 2018
@szolo szolo closed this as completed Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants