Problems with GWT facets?

I'm trying to add the GWT facet to a module. I've done this for other modules before without problems, but am running into strange issues with this one. IntelliJ 12.1.3 Ultimate.


I select "Project Structure", and it takes several seconds for the screen to come up. The "Path to GWT installtion directory" is blank, but selecting the drop-down gives me the same (valid) directory four times.

Selecting one of them gives me the warning at the bottom "gwt-user.jar in library 'gwt-servlet.jar' does not correspond to selected GWT installation". Selecting the "Fix" button doesn't seem to do anything, and once I have pressed "Fix", neither the "OK" nor "Apply" button seem to do anything.

If, at this point, I hit "Cancel", selecting "Project Structure" doesn't seem to ever re-open the window.

Any pointers or suggestions about where to proceed in resolving the problem?
Thanks

2 comments

Are there any exceptions in idea.log (Help | Show Log)?

--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Not sure how much, or the best way to reply.

The top of the exception in the logs reads:

2013-05-13 13:37:28,497 [ 160254]  ERROR - enapi.roots.impl.RootModelImpl - Assertion failed:  

java.lang.Throwable

 at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:98)

 at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:105)

 at com.intellij.openapi.roots.impl.RootModelImpl.a(RootModelImpl.java:285)

 at com.intellij.openapi.roots.impl.RootModelImpl.removeOrderEntry(RootModelImpl.java:281)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

 at java.lang.reflect.Method.invoke(Method.java:597)

 at com.intellij.openapi.roots.ui.configuration.ModuleEditor$ModifiableRootModelInvocationHandler.invoke(ModuleEditor.java:336)

 at com.sun.proxy.$Proxy129.removeOrderEntry(Unknown Source)

 at com.intellij.gwt.facet.GwtFacetEditor$5.run(GwtFacetEditor.java:241)

 at com.intellij.facet.impl.ui.FacetErrorPanel$1.actionPerformed(FacetErrorPanel.java:60)


And the error lines underneath this read:

2013-05-13 13:37:28,501 [ 160258]  ERROR - enapi.roots.impl.RootModelImpl - IntelliJ IDEA 12.1.3  Build #IU-129.451
2013-05-13 13:37:28,501 [ 160258]  ERROR - enapi.roots.impl.RootModelImpl - JDK: 1.6.0_45
2013-05-13 13:37:28,501 [ 160258]  ERROR - enapi.roots.impl.RootModelImpl - VM: Java HotSpot(TM) 64-Bit Server VM
2013-05-13 13:37:28,501 [ 160258]  ERROR - enapi.roots.impl.RootModelImpl - Vendor: Apple Inc.
2013-05-13 13:37:28,501 [ 160258]  ERROR - enapi.roots.impl.RootModelImpl - OS: Mac OS X
2013-05-13 13:37:28,502 [ 160259]  ERROR - enapi.roots.impl.RootModelImpl - Last Action: ShowProjectStructureSettings


Followed by another exception block which begins:

2013-05-13 13:37:28,507 [ 160264]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(1001,708),absolute(1241,783),button=1,modifiers=Button1,clickCount=1] on dialog2
java.lang.AssertionError
 at com.intellij.openapi.roots.impl.libraries.LibraryImpl.getFiles(LibraryImpl.java:164)
 at com.intellij.openapi.roots.ui.configuration.projectRoot.LibrariesContainerFactory$StructureConfigurableLibrariesContainer.getLibraryFiles(LibrariesContainerFactory.java:373)
 at com.intellij.facet.impl.ui.ProjectConfigurableContext.getLibraryFiles(ProjectConfigurableContext.java:96)


0

Please sign in to leave a comment.