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

Exception accessing settings #20

Closed
raveren opened this Issue Jan 9, 2013 · 5 comments

Comments

Projects
None yet
2 participants
@raveren
Copy link

raveren commented Jan 9, 2013

I can no longer enter the extension settings window, neither through editor options, nor through css-x-fire panel. I tried reinstalling the extension, deleting all IDE settings (.WebIde60), nothing helped.

When I click on the options icon in the panel I get this exception

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(46,997),absolute(38,989),button=1,modifiers=Button1,clickCount=1] on frame0: com.intellij.util.ui.tree.AbstractFileTreeTable.<init>(Lcom/intellij/openapi/project/Project;Ljava/lang/Class;Ljava/lang/String;)V
java.lang.NoSuchMethodError: com.intellij.util.ui.tree.AbstractFileTreeTable.<init>(Lcom/intellij/openapi/project/Project;Ljava/lang/Class;Ljava/lang/String;)V
    at com.github.cssxfire.ProjectSettingsConfigurable$FileTreeTable.<init>(ProjectSettingsConfigurable.java:189)
    at com.github.cssxfire.ProjectSettingsConfigurable$FileTreeTable.<init>(ProjectSettingsConfigurable.java:187)
    at com.github.cssxfire.ProjectSettingsConfigurable.createComponent(ProjectSettingsConfigurable.java:74)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.createCenterPanel(SingleConfigurableEditor.java:226)
    at com.intellij.openapi.ui.DialogWrapper.init(DialogWrapper.java:1102)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:63)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:83)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.a(ShowSettingsUtilImpl.java:211)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.editConfigurable(ShowSettingsUtilImpl.java:189)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.editConfigurable(ShowSettingsUtilImpl.java:177)
    at com.github.cssxfire.action.ShowSettings.actionPerformed(ShowSettings.java:38)
    at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:169)
    at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:132)
    at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310)
    at java.awt.Component.processEvent(Component.java:6270)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4861)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    at java.awt.Container.dispatchEventImpl(Container.java:2273)
    at java.awt.Window.dispatchEventImpl(Window.java:2719)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:682)
    at java.awt.EventQueue$3.run(EventQueue.java:680)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:696)
    at java.awt.EventQueue$4.run(EventQueue.java:694)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
    at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:494)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

the plugin works fine otherwise, the css changes propagate to the IDE fine.

@ronniekk

This comment has been minimized.

Copy link
Owner

ronniekk commented Jan 9, 2013

Seems as something's changed in the API. Which IDE build number do you have (Help | About)?

@raveren

This comment has been minimized.

Copy link
Author

raveren commented Jan 9, 2013

The newest EAP: 124.373.

I've tried it on two separate computers of mine too, one is running Win7 x86, and the other Win7 x64. I'd be extremely happy with even a procedure to revert/reset cssxfire instead of a bugfix. I also tried reinstalling the IDE even, didn't help, could it be the newest EAP's fault?

@ronniekk

This comment has been minimized.

Copy link
Owner

ronniekk commented Jan 9, 2013

Yeah they have changed or removed a signature in the latest EAP of Web/PhpStorm. It works fine with (PyCharm) 124.253.

I try to maintain css-x-fire so that it always works with the released versions. Unfortunately anything can change at any time in every EAP so it is almost impossible to maintain working versions for those.

What you can do until this gets fixed is either to revert to the latest release version instead of using an EAP. If you still want to use the EAP you will have to edit .idea/cssxfire.xml manually (but you will need to close the project first).

@raveren

This comment has been minimized.

Copy link
Author

raveren commented Jan 9, 2013

Ok, that's fair, I'll revert on one of my PCs, thanks.

@raveren raveren closed this Jan 9, 2013

@ronniekk

This comment has been minimized.

Copy link
Owner

ronniekk commented Jan 9, 2013

Leaving this open since the issue still will need a fix. Thanks for reporting!

@ronniekk ronniekk reopened this Jan 9, 2013

@ronniekk ronniekk closed this in ac28d29 Jan 12, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.