IllegalArgumentException on IDEA startup
See original GitHub issueAfter updating to gitignore 1.7, I get the following when launching IDEA. IntelliJ IDEA 2016.3.4 Build #IC-163.12024.16, built on January 31, 2017 JRE: 1.8.0_112-release-408-b6 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Plugin 'mobi.hsz.idea.gitignore' failed to initialize and will be disabled. Please restart IntelliJ IDEA.
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'defaultValue' of com/intellij/util/ObjectUtils.notNull must not be null
at com.intellij.util.ObjectUtils.notNull(ObjectUtils.java)
at com.intellij.util.ObjectUtils.notNull(ObjectUtils.java:74)
at com.intellij.util.ObjectUtils.assertNotNull(ObjectUtils.java:35)
at com.intellij.dvcs.repo.VcsRepositoryManager.getInstance(VcsRepositoryManager.java:61)
at mobi.hsz.idea.gitignore.util.CacheMap.<init>(CacheMap.java:142)
at mobi.hsz.idea.gitignore.IgnoreManager.<init>(IgnoreManager.java:282)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:58)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:478)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:125)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:109)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:96)
at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:287)
at com.intellij.openapi.project.impl.ProjectManagerImpl.initProject(ProjectManagerImpl.java:222)
at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$getDefaultProject$2(ProjectManagerImpl.java:280)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:568)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:207)
at com.intellij.openapi.project.impl.ProjectManagerImpl.getDefaultProject(ProjectManagerImpl.java:277)
at com.intellij.ide.fileTemplates.FileTemplateManager.getDefaultInstance(FileTemplateManager.java:67)
at org.jetbrains.plugins.scala.actions.NewPackageObjectAction.<init>(NewPackageObjectAction.scala:18)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.intellij.util.ReflectionUtil.newInstance(ReflectionUtil.java:488)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.convertStub(ActionManagerImpl.java:151)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getActionImpl(ActionManagerImpl.java:486)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getAction(ActionManagerImpl.java:475)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.preloadActions(ActionManagerImpl.java:1252)
at com.intellij.openapi.actionSystem.impl.ActionPreloader.preload(ActionPreloader.java:32)
at com.intellij.openapi.application.Preloader.lambda$null$0(Preloader.java:74)
at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:179)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:568)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:164)
at com.intellij.openapi.application.Preloader.lambda$initComponent$1(Preloader.java:72)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:210)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:29 (3 by maintainers)
Top Results From Across the Web
IAE Exception on startup : IDEA-293346 - JetBrains YouTrack
java.lang.IllegalArgumentException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0( Native Method ) ...
Read more >IntelliJ IDEA Ultimate - Opening Error Mac: java.lang ...
Installed the IntelliJ IDEA Ultimate and tried to open it but receive the error below (see code section). I am using macOS Sierra...
Read more >Problem running SNAP in IntelliJ IDEA - STEP Forum
Hello, I'm trying to run SNAP Desktop using IntelliJ IDEA but i ... IllegalArgumentException: Malformed branding token: ${branding.token}
Read more >The "customer360.war" deployment fails with "\uxxx java.lang ...
boot.SpringApplication] (ServerService Thread Pool -- 180) Application startup failed: java.lang.IllegalArgumentException: Malformed \uxxxx ...
Read more >committed = 52736000 should be < max = 50331648
GUEST: startup of freshly downloaded 7.4 beta, jdk 1.8.0 b99 Windows ... OPENING IDE GUEST: 1 GUEST: I started Netbeans GUEST: no idea.......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jibbers42 @danysz @xSAVIKx @klanghans @dejan2609 @CrazyCoder @kedar-joshi @sanchopansa @AlexZeitler
Sorry for this issue. I have to say that I’m testing it on a few IDE instances / configurations before the release and I didn’t even noticed this issue.
Anyway…
I have prepared a fix for that - can you please install it locally from the file and verify if it solves this problem ? idea-gitignore-1.7.zip
@hsz you’re doing a great job, no need to apologize! 👍