shiraji / color-manager

Android color manager plugin for Android Studio/Intellij
https://plugins.jetbrains.com/plugin/8583
Apache License 2.0
55 stars 2 forks source link

can't drop color from color-manager tab to layout #50

Open zh-d-d opened 7 years ago

zh-d-d commented 7 years ago

Hello , when i use color-manager has some problem .
First i add color resource to xml ,then at layout file i drop a item from color-manager tab ,but can't add to layout file.

shiraji commented 7 years ago

Is there any error messages or stacktraces?

zh-d-d commented 7 years ago

ok, here is throwable info,and I have send a email with screenshots by 86431843@qq.com thanks.

Assertion failed
java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:158)
    at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:167)
    at com.intellij.openapi.editor.impl.EditorImpl.lambda$null$11(EditorImpl.java:6497)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:898)
    at com.intellij.openapi.editor.impl.EditorImpl.lambda$handleDrop$12(EditorImpl.java:6478)
    at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
    at com.intellij.openapi.editor.impl.EditorImpl.handleDrop(EditorImpl.java:6478)
    at com.intellij.openapi.editor.impl.EditorImpl$MyTransferHandler.importData(EditorImpl.java:6522)
    at javax.swing.TransferHandler.importData(TransferHandler.java:827)
    at javax.swing.TransferHandler$DropHandler.drop(TransferHandler.java:1544)
    at java.awt.dnd.DropTarget.drop(DropTarget.java:455)
    at javax.swing.TransferHandler$SwingDropTarget.drop(TransferHandler.java:1282)
    at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:538)
    at sun.lwawt.macosx.CDropTargetContextPeer.processDropMessage(CDropTargetContextPeer.java:143)
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:852)
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:776)
    at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:48)
    at java.awt.Component.dispatchEventImpl(Component.java:4744)
    at java.awt.Container.dispatchEventImpl(Container.java:2294)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4599)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4461)
    at java.awt.Container.dispatchEventImpl(Container.java:2280)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    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:795)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:627)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:387)
    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)
zh-d-d commented 7 years ago

Here is messages:

Assertion failed java.lang.Throwable at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:158) at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:167) at com.intellij.openapi.editor.impl.EditorImpl.lambda$null$11(EditorImpl.java:6497) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:898) at com.intellij.openapi.editor.impl.EditorImpl.lambda$handleDrop$12(EditorImpl.java:6478) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129) at com.intellij.openapi.editor.impl.EditorImpl.handleDrop(EditorImpl.java:6478) at com.intellij.openapi.editor.impl.EditorImpl$MyTransferHandler.importData(EditorImpl.java:6522) at javax.swing.TransferHandler.importData(TransferHandler.java:827) at javax.swing.TransferHandler$DropHandler.drop(TransferHandler.java:1544) at java.awt.dnd.DropTarget.drop(DropTarget.java:455) at javax.swing.TransferHandler$SwingDropTarget.drop(TransferHandler.java:1282) at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:538) at sun.lwawt.macosx.CDropTargetContextPeer.processDropMessage(CDropTargetContextPeer.java:143) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:852) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:776) at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:48) at java.awt.Component.dispatchEventImpl(Component.java:4744) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4599) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4461) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) 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:795) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:627) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:387) 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)

在 2017年4月5日,下午5:08,Yoshinori Isogai notifications@github.com 写道:

Is there any error messages or stacktraces?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shiraji/color-manager/issues/50#issuecomment-291800606, or mute the thread https://github.com/notifications/unsubscribe-auth/ALYdYSDddyuZg4BdtPnk814S0QnP2keRks5rs1n9gaJpZM4Mz19i.

shiraji commented 7 years ago

Which version of Android Studio are you using?

zh-d-d commented 7 years ago

Android Studio 2.3 Build #AI-162.3764568, built on February 24, 2017 JRE: 1.8.0_112-release-b06 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

shiraji commented 7 years ago

Sorry for delay. I have no clue...I couldn't reproduce this one. I will report this as soon as I found the problem.

zh-d-d commented 7 years ago

ok, thanks anyway.

shiraji commented 7 years ago

By the way, this is not related to your environment, right?

http://stackoverflow.com/questions/42741114/drag-and-drop-text-in-android-studio-editor-causes-an-exception