"null" error during startup

Hi,

When I start IntelliJ I get this dialog:

Voila_Capture13.png

The Scala support works fine after this, but next time I start IntelliJ, the Scala plugin is disabled. I have to re-enable it and restart, and then the cycle repeats.

This is with IntelliJ 12 Ultimate and plugin 0.7.41 (the previous couple of nightlies did the same thing).

Is there something broken in my installation?

5 comments
Comment actions Permalink

Can you attach log file, probably we will see some exception? (http://devnet.jetbrains.net/docs/DOC-181)
Also you can try next our build with IDEA 12.0.1, which will be uploaded soon.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Yep, the log had a stack trace:

2012-12-21 09:49:41,955 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2012-12-21 09:49:42,054 [     99]   INFO -        #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-123.72, 05 Dec 2012 00:00) 
2012-12-21 09:49:42,054 [     99]   INFO -        #com.intellij.idea.Main - JRE: 1.6.0_37-b06-434-11M3909 (Apple Inc.) 
2012-12-21 09:49:42,054 [     99]   INFO -        #com.intellij.idea.Main - JVM: 20.12-b01-434 (Apple Inc.) 
2012-12-21 09:49:42,055 [    100]   INFO -        #com.intellij.idea.Main - JNA library loaded (64-bit) in 0 ms 
2012-12-21 09:49:42,113 [    158]   INFO -        #com.intellij.idea.Main - Snappy library loaded (1.0.4) in 58 ms 
2012-12-21 09:49:45,053 [   3098]   INFO - llij.ide.plugins.PluginManager - 121 plugins initialized in 2741 ms 
2012-12-21 09:49:45,053 [   3098]   INFO - llij.ide.plugins.PluginManager - Loaded plugins:IDEA CORE, SBT (1.5.0), Properties Support, Database Support (1.0), Persistence Frameworks Support (1.0), CSS Support, I18n for Java, Java Server Pages Integration (1.0), Java EE Integration (1.0), XPathView + XSLT Support (4), JavaScript Support (1.0), IntelliLang (8.0), Ant Support (1.0), Groovy (9.0), Maven Integration, JSF Support (1.1.1.), JUnit (1.0), Coverage, Scala (0.7.41), Play 2.0 Support (0.1.86), Intention Power Pack (1.0), UI Designer (Core), Application Servers View (0.2.0), Byte Code Viewer (0.1), SQL support (1.0), Tomcat Integration (1.0), JavaScript Intention Power Pack (0.9.4), Inspection-JS (2.0), CoffeeScript (2.0), Commander (1.0.0), Osmorc (1.4.3), Eclipse Integration (3.0), Git Integration (8.1), Task Management (1.0), GitHub, GWT Support (1.0), Google App Engine Integration (1.1.4), GuiceyIDEA (8.0), HTML Tools (2.0), IDEtalk (1.0), Inspection Gadgets (1.0), JarFinder (2), JavaScript Debugger (1.0), JSR45 Integration (1.0), LESS support, Maven Integration Extension, QuirksMode, Refactor-X (2.01), Remote Hosts Access (0.1), Remote Run (0.1), Structural Search (9.0), Subversion Integration (1.1), GenerateToString (5.0), Type Migration, W3C Validators (2.0), WebServicesPlugin (0.9 build 5), XSLT-Debugger (1.4), YAML 
2012-12-21 09:49:45,054 [   3099]   INFO - llij.ide.plugins.PluginManager - Disabled plugins: Copyright (8.1), UML Support (1.0), Base Cucumber (1.0), Spring-AOP and @AspectJ support (1.0), Struts 1.x (2.0), Hibernate Support (1.0), Spring Support (1.0), TestNG-J (8.0), Android Support (10.0), Android Designer, ASP (0.1), AspectJ Support (1.1), Bean Validation Support (1.0), CDI Support (1.0), CFML Support (3.53), ClearCase Integration (2.0), CloudBees integration (1.0), Cloud Foundry integration (1.0), Cucumber for Java (1.0), Cucumber for Groovy (1.0), CVS Integration (11), Plugin DevKit (1.0), dmServer Support (0.9.5), Drools Support (1.0), DSM Analysis (1.0.0), Spring OSGi (1.0), Emma, Flash/Flex Support (1.0), FreeMarker support (1.0), Geronimo Integration (1.0), Glassfish Integration (1.0), Gradle, Grails (9.0), HAML, hg4idea (10.0), J2ME (1.0), JBoss Integration (1.0), JBoss jBPM (2.0.0), Jetty Integration (1.0), Perforce Integration (2.0), Playframework Support (1.0), Resin Integration (8.1), SASS support, Seam Support (1.0), Seam Pages Support (1.0), Seam Pageflow Support (1.0), Spring Batch (1.0), Spring Data (1.0), Spring Security (1.0), Spring Integration Patterns (1.0), Spring Roo Console (1.0), Velocity support (1.0), Struts 2 (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Tapestry support (1.0), TFS Integration (999.999), UI Designer, Vaadin Support (1.0), Visual SourceSafe Integration (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), ZKM-Unscramble (1.0) 
2012-12-21 09:49:46,096 [   4141]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; mmap=true 
2012-12-21 09:49:46,236 [   4281]   INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: /Applications/IntelliJ IDEA 12.app/bin/fsnotifier 
2012-12-21 09:49:46,276 [   4321]   INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational. 
2012-12-21 09:49:47,815 [   5860]   INFO - jetbrains.ide.WebServerManager - web server started, port 63342 
2012-12-21 09:49:48,503 [   6548]   INFO - il.indexing.FileBasedIndexImpl - Version has changed for index filetypes. The index will be rebuilt. 
2012-12-21 09:49:48,669 [   6714]   INFO - il.indexing.FileBasedIndexImpl - Version has changed for index Stubs. The index will be rebuilt. 
2012-12-21 09:49:49,134 [   7179]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/macros.xml file is null 
2012-12-21 09:49:49,142 [   7187]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/quicklists.xml file is null 
2012-12-21 09:49:49,695 [   7740]  ERROR - om.intellij.ui.mac.MacMessages - 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.ui.mac.MacMessagesImpl.a(MacMessagesImpl.java:358)
     at com.intellij.ui.mac.MacMessagesImpl.showAlertDialog(MacMessagesImpl.java:414)
     at com.intellij.ui.mac.MacMessagesImpl.showMessageDialog(MacMessagesImpl.java:550)
     at com.intellij.ui.mac.MacMessagesImpl.showYesNoDialog(MacMessagesImpl.java:220)
     at com.intellij.openapi.ui.Messages.showOkCancelDialog(Messages.java:340)
     at com.intellij.openapi.ui.Messages.showOkCancelDialog(Messages.java:347)
     at org.jetbrains.plugins.scala.config.ScalaPluginVersionVerifierApplicationComponent$$anonfun$initComponent$1.wrongVersion$1(PluginVersionVerifier.scala:80)
     at org.jetbrains.plugins.scala.config.ScalaPluginVersionVerifierApplicationComponent$$anonfun$initComponent$1.apply(PluginVersionVerifier.scala:100)
     at org.jetbrains.plugins.scala.config.ScalaPluginVersionVerifierApplicationComponent$$anonfun$initComponent$1.apply(PluginVersionVerifier.scala:67)
     at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
     at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:105)
     at org.jetbrains.plugins.scala.config.ScalaPluginVersionVerifierApplicationComponent.initComponent(PluginVersionVerifier.scala:67)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:217)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1200(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:589)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:628)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:423)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:83)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:554)
     at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:208)
     at com.intellij.idea.MainImpl$3.run(MainImpl.java:160)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
     at java.awt.EventQueue.access$400(EventQueue.java:82)
     at java.awt.EventQueue$2.run(EventQueue.java:663)
     at java.awt.EventQueue$2.run(EventQueue.java:661)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
     at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
     at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498)
     at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2012-12-21 09:49:49,701 [   7746]  ERROR - om.intellij.ui.mac.MacMessages - IntelliJ IDEA 12.0  Build #IU-123.72 
2012-12-21 09:49:49,701 [   7746]  ERROR - om.intellij.ui.mac.MacMessages - JDK: 1.6.0_37 
2012-12-21 09:49:49,701 [   7746]  ERROR - om.intellij.ui.mac.MacMessages - VM: Java HotSpot(TM) 64-Bit Server VM 
2012-12-21 09:49:49,701 [   7746]  ERROR - om.intellij.ui.mac.MacMessages - Vendor: Apple Inc. 
2012-12-21 09:49:49,702 [   7747]  ERROR - om.intellij.ui.mac.MacMessages - OS: Mac OS X 
2012-12-21 09:49:49,702 [   7747]  ERROR - plication.impl.ApplicationImpl - null 
java.lang.NullPointerException
     at com.intellij.ui.mac.MacMessagesImpl.a(MacMessagesImpl.java:360)
     at com.intellij.ui.mac.MacMessagesImpl.showAlertDialog(MacMessagesImpl.java:414)
     at com.intellij.ui.mac.MacMessagesImpl.showMessageDialog(MacMessagesImpl.java:550)
     at com.intellij.ui.mac.MacMessagesImpl.showYesNoDialog(MacMessagesImpl.java:220)
     at com.intellij.openapi.ui.Messages.showOkCancelDialog(Messages.java:340)
     at com.intellij.openapi.ui.Messages.showOkCancelDialog(Messages.java:347)
     at org.jetbrains.plugins.scala.config.ScalaPluginVersionVerifierApplicationComponent$$anonfun$initComponent$1.wrongVersion$1(PluginVersionVerifier.scala:80)
     at org.jetbrains.plugins.scala.config.ScalaPluginVersionVerifierApplicationComponent$$anonfun$initComponent$1.apply(PluginVersionVerifier.scala:100)
     at org.jetbrains.plugins.scala.config.ScalaPluginVersionVerifierApplicationComponent$$anonfun$initComponent$1.apply(PluginVersionVerifier.scala:67)
     at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
     at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:105)
     at org.jetbrains.plugins.scala.config.ScalaPluginVersionVerifierApplicationComponent.initComponent(PluginVersionVerifier.scala:67)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:217)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1200(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:589)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:628)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:423)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:83)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:554)
     at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:208)
     at com.intellij.idea.MainImpl$3.run(MainImpl.java:160)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
     at java.awt.EventQueue.access$400(EventQueue.java:82)
     at java.awt.EventQueue$2.run(EventQueue.java:663)
     at java.awt.EventQueue$2.run(EventQueue.java:661)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
     at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
     at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498)
     at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2012-12-21 09:49:49,707 [   7752]  ERROR - plication.impl.ApplicationImpl - IntelliJ IDEA 12.0  Build #IU-123.72 
2012-12-21 09:49:49,707 [   7752]  ERROR - plication.impl.ApplicationImpl - JDK: 1.6.0_37 
2012-12-21 09:49:49,707 [   7752]  ERROR - plication.impl.ApplicationImpl - VM: Java HotSpot(TM) 64-Bit Server VM 
2012-12-21 09:49:49,707 [   7752]  ERROR - plication.impl.ApplicationImpl - Vendor: Apple Inc. 
2012-12-21 09:49:49,707 [   7752]  ERROR - plication.impl.ApplicationImpl - OS: Mac OS X 
0
Comment actions Permalink

Please remove Play 2.0 plugin from disk. (http://devnet.jetbrains.net/docs/DOC-181) Then, when you open IDEA you can install it again.
This is stacktrace from version verifier. It must complain that Play 2.0 plugin is incompatible with Scala plugin. But due to some bug, which I'll fix soon, it throws NPE.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

It was Mac OS specific. It's fixed in Scala plugin starting from version 0.7.59.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Thanks for the help, it's working for me now.

0

Please sign in to leave a comment.