{"action":"created","issue":{"url":"https://api.github.com/repos/vaadin/designer-issues/issues/1171","repository_url":"https://api.github.com/repos/vaadin/designer-issues","labels_url":"https://api.github.com/repos/vaadin/designer-issues/issues/1171/labels{/name}","comments_url":"https://api.github.com/repos/vaadin/designer-issues/issues/1171/comments","events_url":"https://api.github.com/repos/vaadin/designer-issues/issues/1171/events","html_url":"https://github.com/vaadin/designer-issues/issues/1171","id":186555333,"number":1171,"title":"Designer IntelliJ Splitting a Design editor causes exception","user":{"login":"vaadin-bot","id":20280877,"avatar_url":"https://avatars.githubusercontent.com/u/20280877?v=3","gravatar_id":"","url":"https://api.github.com/users/vaadin-bot","html_url":"https://github.com/vaadin-bot","followers_url":"https://api.github.com/users/vaadin-bot/followers","following_url":"https://api.github.com/users/vaadin-bot/following{/other_user}","gists_url":"https://api.github.com/users/vaadin-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin-bot/subscriptions","organizations_url":"https://api.github.com/users/vaadin-bot/orgs","repos_url":"https://api.github.com/users/vaadin-bot/repos","events_url":"https://api.github.com/users/vaadin-bot/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin-bot/received_events","type":"User","site_admin":false},"labels":[{"id":212814223,"url":"https://api.github.com/repos/vaadin/designer-issues/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-17T12:11:23Z","updated_at":"2016-12-02T21:18:52Z","closed_at":null,"body":"**Originally by @ripla**\n\n___\nExpected: Splitting an editor in IntelliJ shows a duplicate of the editor\n\nActual: Splitting an editor in IntelliJ shows an exception, and a black box where the new editor should be\n\nSteps to reproduce:\n1. Create a new design\n2. Select Window -> Editor tabs -> Split...\n\nTested with macOS / IntelliJ 1.1 RC1\n\n```\njava.lang.IllegalStateException: Model can be set only once.\n    at com.vaadin.designer.intellij.editor.VaadinDesignWebEditor.setModel(VaadinDesignWebEditor.java:771)\n    at com.vaadin.designer.intellij.editor.VaadinDesignWebEditor.<init>(VaadinDesignWebEditor.java:314)\n    at com.vaadin.designer.intellij.editor.VaadinDesignWebEditorProvider.createEditor(VaadinDesignWebEditorProvider.java:53)\n    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:872)\n```\n\n___\n Imported from https://dev.vaadin.com/ issue #20404"},"comment":{"url":"https://api.github.com/repos/vaadin/designer-issues/issues/comments/264565221","html_url":"https://github.com/vaadin/designer-issues/issues/1171#issuecomment-264565221","issue_url":"https://api.github.com/repos/vaadin/designer-issues/issues/1171","id":264565221,"user":{"login":"andrei-tara","id":957133,"avatar_url":"https://avatars.githubusercontent.com/u/957133?v=3","gravatar_id":"","url":"https://api.github.com/users/andrei-tara","html_url":"https://github.com/andrei-tara","followers_url":"https://api.github.com/users/andrei-tara/followers","following_url":"https://api.github.com/users/andrei-tara/following{/other_user}","gists_url":"https://api.github.com/users/andrei-tara/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-tara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-tara/subscriptions","organizations_url":"https://api.github.com/users/andrei-tara/orgs","repos_url":"https://api.github.com/users/andrei-tara/repos","events_url":"https://api.github.com/users/andrei-tara/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-tara/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T21:18:52Z","updated_at":"2016-12-02T21:18:52Z","body":"I have the same issue "}}
{"actor":{"display_login":"andrei-tara"}}