EAP #9618 crashes when loading a project

I just installed the latest EAP build but I try to load a project, it just crashes down without error notice.
The same project could be opened without problem with previous EAP build.
The thing is that I need the last one because an important Grails bug has been fixed in it.

Any idea what the problem might be?

9 comments
Comment actions Permalink

Take a look at your idea.properties file and make sure it is correct. It was changed, apparently in error, in 9618. See http://www.jetbrains.net/devnet/thread/279301 for details. Not sure if that would cause a crash, but it is at least something to look at. Or at least might help you find the log. Does the log show anything?

0
Comment actions Permalink

I fixed idea.properties but I still have an error when I load my project.
I managed to find a clean way to reproduce this error.

I created an empty Maven/Grails project following this procedure: http://www.grails.org/Maven+Integration
Then I created a new project in IntelliJ by importing this Maven project. And IntelliJ crashed.

I can't find any log anywhere.

0
Comment actions Permalink

The log will be contained in <user-home>/.IntelliJIdea8x/system/log

Sometimes some plugins will cause a problem. Try disabling (or uninstalling) all non-bundled plug-ins. If you are unable to start IDEA to the point of not even being able to disable or uninstall plug-ins, go to <user-home>/.IntelliJIdea8x/config/plugins and remove anything in there (or simply rename the directory). Alternatively, you can just (temporarily) change the idea.plugins.path property in idea.properties to point somewhere else.  Note that this directory only holds user added plugins. The bundled plug-ins are contained in <idea-installation-dir>/plugins.  If that fixes the problem, you can just start reenabling the plugins until you find the one causing the problems.

Another thing to try is to delete the caches. There's a number of cache directories in the <user-home>/.IntelliJIdea8x/system directory. Often if I want to do a good housecleaning, I delete everything except the LocalHistory (and maybe the log directory).

If none of that works, try renaming the .IntelliJIdea8x directory so that when you start IDEA it starts clean (and has to recreate everything). You'll obviously lose all your settings and configurations, but you'll be up and running. You can then try replacing things (with IDEA shut down) from the original config directory into the new directory one at a time until you determine what is causing the crash.

I hope that helps. Let us know how you make out.

0
Comment actions Permalink

The weird thing is that I can't find any .IntelliJIdea8x or .IntelliJIdea80 directory in my home folder. And I'm using a file explorer that shows hidden files. It's just not here. Yet it has to be somewhere since I have additinonal plugins installed. Any idea where else it might be?

FYI I'm on MacOSX 10.5.6.

0
Comment actions Permalink

I'm not familiar with IDEA on a Mac. But it should be in the ${user.home}/.IntelliJIdea8x, or wherever the three idea.xxxx.path properties are set in the idea.properties file. Do you have an IDEA_PROPERTIES environment variable set? If so, that overrides the location of the idea.properties file that is used, which in turn can alter the idea.xxxx.path properties. Also check if you have an idea.properties file in your user home directory. If there is one there, it overrides the one in the bin directory. (Search order is 1.as set in IDEA_PROPERTIES environment variable, 2. ${user.home}, 3. ${idea.home}/bin).

Again, I'm not that familiar with Macs, but is there a possible permissions issue?

I'd try setting the three idea.xxxx.path properties in idea.properties and then starting IDEA. Then see if it creates the directories you specified.

Have you tried reinstalling? What about reinstalling a previous EAP? (I know you need this one for a bug fix, but it would be worth at least seeing if the problem is specifically this EAP.)

Also, you said it crashes when loading a project. Does that mean it at least starts partially? If so, than the system and config directories have to be somewhere. Try searching for one of the config files such as jdk.table.xml, ProductivityFeaturesRegistry.xml, or intentionSettings.xml.

0
Comment actions Permalink

On my Mac the directories appear to be like this:

config: ~/Library/Preferences/IntellijIDEA70
system: ~/Library/Caches/IntelliJIDEA70
plugins: ~/Library/Application Support/IntelliJIDEA70


Mark Vedder wrote on 31.12.2008 18:45:

I'm not familiar with IDEA on a Mac. But it should be in the ${user.home}/.IntelliJIdea8x, or wherever the three idea.xxxx.path properties are set in the idea.properties file. Do you have an IDEA_PROPERTIES environment variable set? If so, that overrides the location of the idea.properties file that
is used, which in turn can alter the idea.xxxx.path properties. Also check if you have an idea.properties file in your user home directory. If there is one there, it overrides the one in the bin directory. (Search order is 1.as set in IDEA_PROPERTIES environment variable, 2. ${user.home}, 3. ${idea
home}/bin).

Again, I'm not that familiar with Macs, but is there a possible permissions issue?

I'd try setting the three idea.xxxx.path properties in idea.properties and then starting IDEA. Then see if it creates the directories you specified.

Have you tried reinstalling? What about reinstalling a previous EAP? (I know you need this one for a bug fix, but it would be worth at least seeing if the problem is specifically this EAP.)

Also, you said it crashes when loading a project. Does that mean it at least starts partially? If so, than the system and config directories have to be somewhere. Try searching for one of the config files such as jdk.table.xml, ProductivityFeaturesRegistry.xml, or intentionSettings.xml.

---
Original message URL: http://www.jetbrains.net/devnet/message/5229686#5229686



--
Esko Luontola
www.orfjackal.net

0
Comment actions Permalink

It's really a mystery. I don't have any IDEA_PROPERTIES variable set, no idea.properties file in my home directory, I've even tried to replace ${user.home} by the hardcoded value, but even though I can start IntelliJ Idea 8.0.1 without any problem and I have several plugins installed, I can't find any .IntelliJIdea80 directory anywhere. I searched for the files you're quoting but I can't find them anywhere either. It's really frustrating.

0
Comment actions Permalink

OK. Mystery solved. Now I found where IntelliJ puts plugins. It turns out I have a /Users/sarbogast/Library/Application Support/IntelliJIDEA80 directory with plugins in it.
But that's all there is to it. No log file whatsoever, so no indication as to why my environment crashes. Would you happen to know how this lig file is supposed to be called?

0
Comment actions Permalink

Second mystery solved: I found the log. I really need to see why Spotlight didn't find any of these. On the Mac, it can be found under /Users/sarbogast/Library/Caches/IntellijIDEA80/log.
It turns out I have the same problem with 8.0.1 release now. And the log ends like this:

2009-01-02 12:09:36,023 [ 138447]   INFO - r.jabber.impl.JabberFacadeImpl - SASL authentication failed
SASL authentication failed:
    at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:204)
    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:433)
    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:396)
    at jetbrains.communicator.jabber.impl.JabberFacadeImpl._createConnection(JabberFacadeImpl.java:162)
    at jetbrains.communicator.jabber.impl.JabberFacadeImpl.connect(JabberFacadeImpl.java:119)
    at jetbrains.communicator.jabber.impl.JabberFacadeImpl.connect(JabberFacadeImpl.java:115)
    at jetbrains.communicator.jabber.impl.JabberTransport$1.run(JabberTransport.java:122)
    at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
    at java.util.concurrent.FutureTask.run(FutureTask.java:123)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:613)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:2)
2009-01-02 12:09:49,130 [ 151554]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDEA SHUTDOWN ------------------------------------------------------
2009-01-02 12:09:49,132 [ 151556]   INFO -        #com.intellij.idea.Main - -------------------------------------------------------- Statistics -------------------------------------------------------
2009-01-02 12:09:49,132 [ 151556]   INFO -        #com.intellij.idea.Main - Internalize_hits=0
2009-01-02 12:09:49,132 [ 151556]   INFO -        #com.intellij.idea.Main - Internalize_misses=0
2009-01-02 12:09:49,132 [ 151556]   INFO -        #com.intellij.idea.Main - ---------------------------------------------------------------------------------------------------------------------------
2009-01-02 12:09:49,133 [ 151557]   INFO - ins.communicator.p2p.P2PServer - IDEtalk WebServer shut down

So there seems to be an issue with the Jabber server at some point.

0

Please sign in to leave a comment.