{"action":"created","issue":{"url":"https://api.github.com/repos/UnderwaterApps/overlap2d/issues/181","labels_url":"https://api.github.com/repos/UnderwaterApps/overlap2d/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/UnderwaterApps/overlap2d/issues/181/comments","events_url":"https://api.github.com/repos/UnderwaterApps/overlap2d/issues/181/events","html_url":"https://github.com/UnderwaterApps/overlap2d/issues/181","id":100297463,"number":181,"title":"error when entering Composite item","user":{"login":"kutoman","id":5825645,"avatar_url":"https://avatars.githubusercontent.com/u/5825645?v=3","gravatar_id":"","url":"https://api.github.com/users/kutoman","html_url":"https://github.com/kutoman","followers_url":"https://api.github.com/users/kutoman/followers","following_url":"https://api.github.com/users/kutoman/following{/other_user}","gists_url":"https://api.github.com/users/kutoman/gists{/gist_id}","starred_url":"https://api.github.com/users/kutoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kutoman/subscriptions","organizations_url":"https://api.github.com/users/kutoman/orgs","repos_url":"https://api.github.com/users/kutoman/repos","events_url":"https://api.github.com/users/kutoman/events{/privacy}","received_events_url":"https://api.github.com/users/kutoman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-11T12:05:02Z","updated_at":"2015-08-12T13:22:54Z","closed_at":null,"body":"the editor crashes with this stack trace when I double click on a certain composite item:\r\n\r\njava.lang.IndexOutOfBoundsException: index can't be >= size: 9 >= 9\r\n        at com.badlogic.gdx.utils.Array.get(Array.java:127)\r\n        at com.uwsoft.editor.view.ui.box.UILayerBox.setCurrentSelectedLayer(UILayerBox.java:148)\r\n        at com.uwsoft.editor.view.ui.box.UILayerBoxMediator.handleNotification(UILayerBoxMediator.java:100)\r\n        at com.puremvc.core.CoreView$$Lambda$21/733663039.onNotification(Unknown Source)\r\n        at com.puremvc.patterns.observer.BaseObserver.notifyObserver(BaseObserver.java:82)\r\n        at com.puremvc.core.CoreView.notifyObservers(CoreView.java:128)\r\n        at com.puremvc.patterns.facade.SimpleFacade.notifyObservers(SimpleFacade.java:361)\r\n        at com.puremvc.patterns.facade.SimpleFacade.sendNotification(SimpleFacade.java:323)\r\n        at com.puremvc.patterns.facade.SimpleFacade.sendNotification(SimpleFacade.java:337)\r\n        at com.uwsoft.editor.controller.commands.CompositeCameraChangeCommand.doAction(CompositeCameraChangeCommand.java\r\n:63)\r\n        at com.uwsoft.editor.controller.commands.RevertableCommand.callDoAction(RevertableCommand.java:49)\r\n        at com.uwsoft.editor.controller.commands.RevertableCommand.execute(RevertableCommand.java:40)\r\n        at com.puremvc.core.CoreController.executeCommand(CoreController.java:139)\r\n        at com.puremvc.core.CoreController$$Lambda$19/1172317879.onNotification(Unknown Source)\r\n        at com.puremvc.patterns.observer.BaseObserver.notifyObserver(BaseObserver.java:82)\r\n        at com.puremvc.core.CoreView.notifyObservers(CoreView.java:128)\r\n        at com.puremvc.patterns.facade.SimpleFacade.notifyObservers(SimpleFacade.java:361)\r\n        at com.puremvc.patterns.facade.SimpleFacade.sendNotification(SimpleFacade.java:323)\r\n        at com.puremvc.patterns.facade.SimpleFacade.sendNotification(SimpleFacade.java:337)\r\n        at com.uwsoft.editor.view.stage.tools.SelectionTool.itemMouseDoubleClick(SelectionTool.java:302)\r\n        at com.uwsoft.editor.view.stage.SandboxMediator$SandboxItemEventListener.touchUp(SandboxMediator.java:227)\r\n        at com.uwsoft.editor.view.stage.input.SandboxInputAdapter.touchUp(SandboxInputAdapter.java:136)\r\n        at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:96)\r\n        at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:306)\r\n        at com.badlogic.gdx.backends.lwjgl.LwjglCanvas$3.run(LwjglCanvas.java:234)\r\n        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\r\n        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)\r\n        at java.awt.EventQueue.access$500(EventQueue.java:97)\r\n        at java.awt.EventQueue$3.run(EventQueue.java:709)\r\n        at java.awt.EventQueue$3.run(EventQueue.java:703)\r\n        at java.security.AccessController.doPrivileged(Native Method)\r\n        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)\r\n        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)\r\n        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n        at java.awt.spatchThread.run(EventDispatchThread.java:82)\r\nException in thread \"AWT-EventQueue-0\" java.lang.RuntimeException: No OpenGL context found in the current thread.\r\n        at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)\r\n        at org.lwjgl.opengl.GL11.glDeleteTextures(GL11.java:732)\r\n        at com.badlogic.gdx.backends.lwjgl.LwjglGL20.glDeleteTexture(LwjglGL20.java:248)\r\n        at com.badlogic.gdx.graphics.GLTexture.delete(GLTexture.java:170)\r\n        at com.badlogic.gdx.graphics.Texture.dispose(Texture.java:194)\r\n        at com.badlogic.gdx.graphics.g2d.TextureAtlas.dispose(TextureAtlas.java:418)\r\n        at com.badlogic.gdx.scenes.scene2d.ui.Skin.dispose(Skin.java:389)\r\n        at com.kotcrab.vis.ui.VisUI.dispose(VisUI.java:65)\r\n        at com.uwsoft.editor.Overlap2D.dispose(Overlap2D.java:92)\r\n        at com.badlogic.gdx.backends.lwjgl.LwjglCanvas$4.run(LwjglCanvas.java:309)\r\n        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\r\n        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)\r\n        at java.awt.EventQueue.access$500(EventQueue.java:97)\r\n        at java.awt.EventQueue$3.run(EventQueue.java:709)\r\n        at java.awt.EventQueue$3.run(EventQueue.java:703)\r\n        at java.security.AccessController.doPrivileged(Native Method)\r\n        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)\r\n        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)\r\n        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)"},"comment":{"url":"https://api.github.com/repos/UnderwaterApps/overlap2d/issues/comments/130299695","html_url":"https://github.com/UnderwaterApps/overlap2d/issues/181#issuecomment-130299695","issue_url":"https://api.github.com/repos/UnderwaterApps/overlap2d/issues/181","id":130299695,"user":{"login":"kutoman","id":5825645,"avatar_url":"https://avatars.githubusercontent.com/u/5825645?v=3","gravatar_id":"","url":"https://api.github.com/users/kutoman","html_url":"https://github.com/kutoman","followers_url":"https://api.github.com/users/kutoman/followers","following_url":"https://api.github.com/users/kutoman/following{/other_user}","gists_url":"https://api.github.com/users/kutoman/gists{/gist_id}","starred_url":"https://api.github.com/users/kutoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kutoman/subscriptions","organizations_url":"https://api.github.com/users/kutoman/orgs","repos_url":"https://api.github.com/users/kutoman/repos","events_url":"https://api.github.com/users/kutoman/events{/privacy}","received_events_url":"https://api.github.com/users/kutoman/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T13:22:54Z","updated_at":"2015-08-12T13:22:54Z","body":"unfortunately I do not have that composite item anymore and I don't remember the exact steps. But as I recently experimented (and it seems to be the same error), I noticed this:\r\nto reproduce:\r\n-just create a new image item\r\n-convert it into a composite\r\n-enter that composite\r\n-lock the default layer\r\n-leave the composite\r\n-> try to reenter the composite"}}