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?

Comment actions Permalink

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

Nikolay Chashnikov
Software Developer
JetBrains, Inc
"Develop with pleasure!"

Comment actions Permalink

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:  


 at com.intellij.openapi.diagnostic.Logger.assertTrue(

 at com.intellij.openapi.diagnostic.Logger.assertTrue(

 at com.intellij.openapi.roots.impl.RootModelImpl.a(

 at com.intellij.openapi.roots.impl.RootModelImpl.removeOrderEntry(

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

 at sun.reflect.NativeMethodAccessorImpl.invoke(

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(

 at java.lang.reflect.Method.invoke(

 at com.intellij.openapi.roots.ui.configuration.ModuleEditor$ModifiableRootModelInvocationHandler.invoke(

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

 at com.intellij.gwt.facet.GwtFacetEditor$

 at com.intellij.facet.impl.ui.FacetErrorPanel$1.actionPerformed(

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
 at com.intellij.openapi.roots.impl.libraries.LibraryImpl.getFiles(
 at com.intellij.openapi.roots.ui.configuration.projectRoot.LibrariesContainerFactory$StructureConfigurableLibrariesContainer.getLibraryFiles(
 at com.intellij.facet.impl.ui.ProjectConfigurableContext.getLibraryFiles(


Please sign in to leave a comment.