C:\Program Files\JetBrains\IntelliJ IDEA 2021.3.2\bin>idea.bat 2022-01-28 11:43:55,396 [ 86] WARN -
llij.ide.plugins.PluginManager - id redefinition ([row,col,system-id]:
[2,3,"product classpath"]) 2022-01-28 11:43:56,728 [ 1418] ERROR -
llij.ide.plugins.PluginManager - java.lang.IllegalStateException:
failed to create a child event loop
java.util.concurrent.CompletionException:
java.lang.IllegalStateException: failed to create a child event loop
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1692)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.lang.IllegalStateException: failed to create a child
event loop
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:88)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:60)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:49)
at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:87)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:82)
at org.jetbrains.io.BuiltInServerKt.multiThreadEventLoopGroup(BuiltInServer.kt:158)
at org.jetbrains.io.BuiltInServerKt.access$multiThreadEventLoopGroup(BuiltInServer.kt:1)
at org.jetbrains.io.BuiltInServer$Companion.start(BuiltInServer.kt:58)
at com.intellij.idea.SocketLock.lambda$lockAndTryActivate$2(SocketLock.java:152)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
... 6 more Caused by: io.netty.channel.ChannelException: failed to open a new selector
at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:178)
at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:145)
at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:183)
at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:38)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84)
... 16 more Caused by: java.io.IOException: Unable to establish loopback connection
at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:94)
at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:61)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:171)
at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)
at java.base/java.nio.channels.Pipe.open(Pipe.java:155)
at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:142)
at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:176)
... 20 more Caused by: java.net.BindException: Cannot assign requested address: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:476)
at java.base/sun.nio.ch.Net.connect(Net.java:468)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:194)
at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:127)
at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:76)
... 28 more 2022-01-28 11:43:56,734 [ 1424] ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2021.3.2 Build
#IU-213.6777.52 2022-01-28 11:43:56,745 [ 1435] ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.13; VM: OpenJDK 64-Bit
Server VM; Vendor: JetBrains s.r.o. 2022-01-28 11:43:56,745 [ 1435]
ERROR - llij.ide.plugins.PluginManager - OS: Windows 10 2022-01-28
11:43:56,746 [ 1436] ERROR - llij.ide.plugins.PluginManager - Last
Action:
See the related issue for more details and workarounds.
It's usually caused by the blocked ports, a VPN or incorrectly configured firewall that blocks localhost connections.
Common workarounds:
netsh int ipv4 set dynamicport tcp start=49152 num=16383
netsh int ipv4 set dynamicport udp start=49152 num=16383
net stop winnat
net start winnat
netsh winsock reset
when I run my mod it freezes when it gets to the "Caused by: com.mojang.authlib.exceptions.MinecraftClientHttpException: Status: 401" error, I expect the error since I am not signed into a Minecraft Account but the freezing was odd. Once I stopped the process Eclipse gave me this error.
Execution failed for task ':runClient'.
Process 'command 'C:\Program Files\Eclipse Foundation\jdk-16.0.2.7-hotspot\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
I tried running with the other options, no effect. I removed the code and .json files I added right before seeing this issue for the first time, nothing. Even a simple restart did nothing. Here are some system specs and the log.
Windows 11 Home 21H2,
Intel(R) Core(TM) i7-10750H CPU # 2.60GHz 2.59 GHz,
16.0 GB RAM
[07:48:50] [main/INFO] (FabricLoader/GameProvider) Loading Minecraft 1.17.1 with Fabric Loader 0.12.12
[07:48:50] [main/INFO] (FabricLoader) Loading 52 mods:
- fabric 0.45.2+1.17
- fabric-api-base 0.4.0+cf39a74318
- fabric-api-lookup-api-v1 1.5.0+e821752d18
- fabric-biome-api-v1 3.2.2+cf39a74318
- fabric-blockrenderlayer-v1 1.1.6+cf39a74318
- fabric-command-api-v1 1.1.4+cf39a74318
- fabric-commands-v0 0.2.3+cf39a74318
- fabric-containers-v0 0.1.13+cf39a74318
- fabric-content-registries-v0 0.4.1+3447790d18
- fabric-crash-report-info-v1 0.1.6+cf39a74318
- fabric-data-generation-api-v1 1.1.1+6f83e76518
- fabric-dimensions-v1 2.0.15+b556f28c18
- fabric-entity-events-v1 1.4.1+377137cc18
- fabric-events-interaction-v0 0.4.12+e99fbe1218
- fabric-events-lifecycle-v0 0.2.4+cf39a74318
- fabric-game-rule-api-v1 1.0.8+cf39a74318
- fabric-gametest-api-v1 1.0.5+234bdc2e18
- fabric-item-api-v1 1.3.0+6617390918
- fabric-item-groups-v0 0.3.2+cf39a74318
- fabric-key-binding-api-v1 1.0.6+2a2bb57318
- fabric-keybindings-v0 0.2.4+cf39a74318
- fabric-lifecycle-events-v1 1.4.6+0392f3a618
- fabric-loot-tables-v1 1.0.5+cf39a74318
- fabric-mining-level-api-v1 1.0.3+cf39a74318
- fabric-mining-levels-v0 0.1.7+cf39a74318
- fabric-models-v0 0.3.1+cf39a74318
- fabric-networking-api-v1 1.0.14+cf39a74318
- fabric-networking-blockentity-v0 0.2.12+cf39a74318
- fabric-networking-v0 0.3.3+cf39a74318
- fabric-object-builder-api-v1 1.11.1+f907116918
- fabric-object-builders-v0 0.7.8+cf39a74318
- fabric-particles-v1 0.2.5+cf39a74318
- fabric-registry-sync-v0 0.8.0+ea29b33318
- fabric-renderer-api-v1 0.4.5+cf39a74318
- fabric-renderer-indigo 0.4.9+cf39a74318
- fabric-renderer-registries-v1 3.2.6+cf39a74318
- fabric-rendering-data-attachment-v1 0.1.6+cf39a74318
- fabric-rendering-fluids-v1 0.2.1+cf39a74318
- fabric-rendering-v0 1.1.7+cf39a74318
- fabric-rendering-v1 1.10.1+377137cc18
- fabric-resource-loader-v0 0.4.10+f09604ce18
- fabric-screen-api-v1 1.0.5+cf39a74318
- fabric-screen-handler-api-v1 1.1.9+cf39a74318
- fabric-structure-api-v1 1.1.15+cf39a74318
- fabric-tag-extensions-v0 1.2.3+cf39a74318
- fabric-textures-v0 1.0.7+cf39a74318
- fabric-tool-attribute-api-v1 1.3.3+3b96517518
- fabric-transfer-api-v1 1.5.4+cf39a74318
- fabricloader 0.12.12
- java 16
- minecraft 1.17.1
- mythicislands 1.0-1.17.1
[07:48:50] [main/INFO] (FabricLoader/Mixin) SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/creep/.gradle/caches/modules-2/files-2.1/net.fabricmc/sponge-mixin/0.10.7+mixin.0.8.4/7a4ca9d54d9ae564dea0363d668036a8420ed9b8/sponge-mixin-0.10.7+mixin.0.8.4.jar Service=Knot/Fabric Env=CLIENT
[07:48:51] [main/INFO] (FabricLoader/Mixin) Loaded Fabric development mappings for mixin remapper!
[07:48:51] [main/INFO] (FabricLoader/Mixin) Compatibility level set to JAVA_16
[07:48:52] [main/WARN] (FileUtil) Configuration conflict: there is more than one oshi.properties file on the classpath
[07:48:52] [main/WARN] (FileUtil) Configuration conflict: there is more than one oshi.architecture.properties file on the classpath
[07:48:57] [Render thread/INFO] (Minecraft) Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[07:48:57] [Render thread/ERROR] (Minecraft) Failed to verify authentication
com.mojang.authlib.exceptions.InvalidCredentialsException: Status: 401
at com.mojang.authlib.exceptions.MinecraftClientHttpException.toAuthenticationException(MinecraftClientHttpException.java:56) ~[authlib-2.3.31.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilSocialInteractionsService.checkPrivileges(YggdrasilSocialInteractionsService.java:112) ~[authlib-2.3.31.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilSocialInteractionsService.<init>(YggdrasilSocialInteractionsService.java:42) ~[authlib-2.3.31.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.createSocialInteractionsService(YggdrasilAuthenticationService.java:151) ~[authlib-2.3.31.jar:?]
at net.minecraft.client.MinecraftClient.createSocialInteractionsService(MinecraftClient.java:670) [minecraft-project-#-mapped.jar:?]
at net.minecraft.client.MinecraftClient.<init>(MinecraftClient.java:429) [minecraft-project-#-mapped.jar:?]
at net.minecraft.client.main.Main.main(Main.java:179) [minecraft-project-#-mapped.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:608) [fabric-loader-0.12.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.12.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.12.12.jar:?]
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) [dev-launch-injector-0.2.1+build.8.jar:?]
Caused by: com.mojang.authlib.exceptions.MinecraftClientHttpException: Status: 401
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:77) ~[authlib-2.3.31.jar:?]
at com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:47) ~[authlib-2.3.31.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilSocialInteractionsService.checkPrivileges(YggdrasilSocialInteractionsService.java:104) ~[authlib-2.3.31.jar:?]
... 13 more
[07:48:57] [Render thread/INFO] (Minecraft) Setting user: Player592
[07:48:57] [Render thread/WARN] (FabricLoader/Mixin) #Inject(#At("INVOKE")) Shift.BY=3 on fabric-lifecycle-events-v1.mixins.json:client.WorldChunkMixin::handler$zbf000$onLoadBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[07:48:57] [Render thread/INFO] (Minecraft) [STDOUT]: Registering Mod Items for mythicislands
[07:48:57] [Render thread/INFO] (Minecraft) [STDOUT]: Registering ModBlocks for mythicislands
[07:48:57] [Render thread/INFO] (Minecraft) [STDOUT]: Hello Fabric world!
[07:48:57] [Render thread/INFO] (Indigo) [Indigo] Registering Indigo renderer!
[07:48:58] [Render thread/INFO] (Minecraft) Backend library: LWJGL version 3.2.2 build 10
If there is any way to fix this it would be greatly appreciated, I looked over the internet and while some solutions came up, none worked. This happened out of nowhere after adding some code but as stated removing said code does nothing.
Using azure-storage-blob-client, I see these:
10:46:38 [main] WARN JacksonVersion - Could not find version of 'jackson-annotations'.
10:46:38 [main] ERROR JacksonVersion - Version 'unknown' of package 'jackson-annotations' is not supported (older than earliest supported version - `2.10.0`), please upgrade.
10:46:38 [main] WARN JacksonVersion - Could not find version of 'jackson-core'.
10:46:38 [main] ERROR JacksonVersion - Version 'unknown' of package 'jackson-core' is not supported (older than earliest supported version - `2.10.0`), please upgrade.
10:46:38 [main] WARN JacksonVersion - Could not find version of 'jackson-databind'.
10:46:38 [main] ERROR JacksonVersion - Version 'unknown' of package 'jackson-databind' is not supported (older than earliest supported version - `2.10.0`), please upgrade.
10:46:38 [main] INFO JacksonVersion - Package versions: jackson-annotations=unknown, jackson-core=unknown, jackson-databind=unknown, jackson-dataformat-xml=2.12.5, jackson-datatype-jsr310=2.12.5, azure-core=1.21.0
10:46:38 [main] DEBUG MemberNameConverterImpl - Failed to retrieve MethodHandles used to get naming strategy. Falling back to BeanUtils.
java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.introspect.AccessorNamingStrategy.Provider
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.azure.core.implementation.jackson.MemberNameConverterImpl.<clinit>(MemberNameConverterImpl.java:55)
at com.azure.core.implementation.jackson.ObjectMapperShim.<init>(ObjectMapperShim.java:139)
at com.azure.core.implementation.jackson.ObjectMapperShim.createHeaderMapper(ObjectMapperShim.java:127)
at com.azure.core.util.serializer.JacksonAdapter.<init>(JacksonAdapter.java:75)
at com.azure.core.util.serializer.JacksonAdapter.<init>(JacksonAdapter.java:53)
at com.azure.core.util.serializer.JacksonAdapter.createDefaultSerializerAdapter(JacksonAdapter.java:111)
at com.azure.storage.blob.implementation.util.ModelHelper.<clinit>(ModelHelper.java:53)
at com.azure.storage.blob.BlobUrlParts.parse(BlobUrlParts.java:371)
at com.azure.storage.blob.BlobServiceClientBuilder.endpoint(BlobServiceClientBuilder.java:147)
at com.azure.storage.blob.BlobServiceClientBuilder.connectionString(BlobServiceClientBuilder.java:286)
Why do I get these warning messages?
Turns out one of my dependencies was a "shaded jar" including the jackson components. This shading processes apparently stripped from the jar some kind of version info of which version of jackson was defined. It could safely be ignored.
I am using IntelliJ IDEA community edition and got the latest version around two months ago. I have this huge problem that whenever I try to import or make a maven project I get the unhelpful message "Unable to import maven project: See logs for details" from the editor.
What really stumps me and those I have asked for help so far is that this issue seems completely isolated to me and everyone else around me importing the same projects can do so with ease. The logs haven't been helpful to me at all either and when I tried following some other solutions for this on Stack Overflow nothing happened.
I have also tried re-installing IntelliJ it fixed it but only for that particular time i used IntelliJ.
I have the logs but the dump in it is far too long to put into a question.
So, do any of you have any idea what I should do?
Putting partial dump here in any case just to try. Just the first part.
2017-09-26 12:09:12,894 [ 47064] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: Main.java
2017-09-26 12:09:12,894 [ 47064] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: Vinir.json
2017-09-26 12:09:12,895 [ 47065] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: Friends.java
2017-09-26 12:09:12,895 [ 47065] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: Books.java
2017-09-26 12:09:12,895 [ 47065] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: Borrowers.java
2017-09-26 12:09:12,895 [ 47065] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: Bækur.json
2017-09-26 12:09:17,655 [ 51825] INFO - ellij.project.impl.ProjectImpl - 18 project components initialized in 52 ms
2017-09-26 12:55:48,767 [2842937] INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN
2017-09-26 12:55:48,768 [2842938] INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN
2017-09-26 12:55:48,768 [2842938] INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2017-09-26 12:55:48,788 [2842958] INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
2017-09-26 12:55:48,789 [2842959] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2017-09-26 12:55:48,801 [2842971] INFO - Types.impl.FileTypeManagerImpl - FileTypeManager: 0 auto-detected files
Elapsed time on auto-detect: 0 ms
2017-09-26 12:55:48,808 [2842978] INFO - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 0
2017-09-26 12:55:48,811 [2842981] INFO - newvfs.persistent.PersistentFS - VFS dispose started
2017-09-26 12:55:48,819 [2842989] INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2017-09-26 12:55:48,822 [2842992] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2017-09-26 12:55:48,824 [2842994] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2017-09-27 12:13:07,909 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2017-09-27 12:13:07,919 [ 10] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.25
2017-09-27 12:13:07,919 [ 10] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.25 (IDE-managed HiDPI)
2017-09-27 12:13:07,953 [ 44] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-172.4155.36, 11 Sep 2017 19:07)
2017-09-27 12:13:07,953 [ 44] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2017-09-27 12:13:07,953 [ 44] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-915-b11 (JetBrains s.r.o)
2017-09-27 12:13:07,953 [ 44] INFO - #com.intellij.idea.Main - JVM: 25.152-b11 (OpenJDK 64-Bit Server VM)
2017-09-27 12:13:07,975 [ 66] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=D:\download\IntelliJ IDEA Community Edition 2017.2.4\bin\idea64.exe.vmoptions -Xbootclasspath/a:D:\download\IntelliJ IDEA Community Edition 2017.2.4\lib\boot.jar -Didea.platform.prefix=Idea -Didea.jre.check=true -Didea.paths.selector=IdeaIC2017.2 -XX:ErrorFile=C:\Users\Grimur\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\Grimur\java_error_in_idea.hprof
2017-09-27 12:13:07,975 [ 66] INFO - #com.intellij.idea.Main - ext: D:\download\IntelliJ IDEA Community Edition 2017.2.4\jre64\lib\ext: [access-bridge-64.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2017-09-27 12:13:07,975 [ 66] INFO - #com.intellij.idea.Main - JNU charset: Cp1252
2017-09-27 12:13:08,047 [ 138] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 71 ms
2017-09-27 12:13:08,070 [ 161] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2017-09-27 12:13:08,071 [ 162] INFO - #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.
2017-09-27 12:13:10,577 [ 2668] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor duplicates-groovy.xml
2017-09-27 12:13:11,447 [ 3538] INFO - llij.ide.plugins.PluginManager - 32 plugins initialized in 1383 ms
2017-09-27 12:13:11,452 [ 3543] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.2.3), Ant Support (1.0), Bytecode Viewer (0.1), CVS Integration (11), Copyright (8.1), Coverage (172.4155.36), Eclipse Integration (3.0), EditorConfig (172.4155.36), Git Integration (8.1), GitHub (172.4155.36), Gradle (172.4155.36), Groovy (9.0), I18n for Java (172.4155.36), IDEA CORE (172.4155.36), IntelliLang (8.0), JUnit (1.0), Java Bytecode Decompiler (172.4155.36), JavaFX (1.0), Kotlin (1.1.4-release-IJ2017.2-3), Maven Integration (172.4155.36), Plugin DevKit (1.0), Properties Support (172.4155.36), Settings Repository (172.4155.36), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), UI Designer (172.4155.36), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (172.4155.36), hg4idea (10.0)
2017-09-27 12:13:18,972 [ 11063] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2017-09-27 12:13:19,124 [ 11215] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: D:\download\IntelliJ IDEA Community Edition 2017.2.4\bin\fsnotifier64.exe
2017-09-27 12:13:19,172 [ 11263] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2017-09-27 12:13:23,116 [ 15207] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2017-09-27 12:13:23,180 [ 15271] INFO - figurations.GeneralCommandLine - Cannot run program "D:\download\IntelliJ IDEA Community Edition 2017.2.4\jre64\bin\java.exe": CreateProcess error=2, The system cannot find the file specified
java.io.IOException: Cannot run program "D:\download\IntelliJ IDEA Community Edition 2017.2.4\jre64\bin\java.exe": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:420)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:387)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:45)
at com.intellij.execution.process.CapturingProcessHandler.<init>(CapturingProcessHandler.java:38)
at com.intellij.execution.util.ExecUtil.execAndGetOutput(ExecUtil.java:101)
at com.intellij.util.JdkBundle.getJDKNameArchVersionAndUpdate(JdkBundle.java:230)
at com.intellij.util.JdkBundle.createBundle(JdkBundle.java:103)
at com.intellij.util.JdkBundle.createBoot(JdkBundle.java:137)
at com.intellij.util.JdkBundle.createBoot(JdkBundle.java:124)
at com.intellij.ide.SystemHealthMonitor.checkRuntime(SystemHealthMonitor.java:101)
at com.intellij.ide.SystemHealthMonitor.initComponent(SystemHealthMonitor.java:79)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:492)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:118)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$createComponents$9(ApplicationImpl.java:474)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:548)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:481)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:102)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:433)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:419)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:203)
at com.intellij.idea.MainImpl$1.lambda$null$0(MainImpl.java:49)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:345)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 40 more
Thank you very much if you know what's going on. If this can't be resolved I might have to fail a course simply due to being unable to do the projects I need to do.
I have got the same problem with my IntelliJ Ultimate 17. The problem was that JDK for importer (maven in that case) was set to IntelliJ's internal.
Go to Settings (shortcut: CTRL+ALT+S)
Then, Build, Execution, Deployment -> Build Tools -> Maven -> Importing
Choose other JDK than the internal one for JDK for importer.
Check if works, eventually - restart IntelliJ.
Picture with settings:
I'm using Window 10, Scala 2.10.2, Spark 1.6.1, and Java 1.8.
Below is the code I'm trying to run.
import org.apache.spark.SparkContext
import org.apache.spark.SparkConf
object WordsCount {
def main(args: Array[String]): Unit = {
val sparkConf = new SparkConf().setAppName("SparkWordCount").setMaster("local[2]")
val sc = new SparkContext(sparkConf)
val text = sc.textFile("shortTwitter.txt")
val counts = text.flatMap(line=>line.split(" ")).map(word=>(word,1)).reduceByKey(_+_)
counts.foreach(println)
}
}
and I got the following error.
"C:\Program Files\Java\jdk1.8.0_101\bin\java" -Didea.launcher.port=7533 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2016.2.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_101\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\rt.jar;C:\Users\Administrator\IdeaProjects\choi_jieun_assignment1\out\production\choi_jieun_assignment1;C:\scala\lib\jline.jar;C:\scala\lib\scalap.jar;C:\scala\lib\diffutils.jar;C:\scala\lib\akka-actors.jar;C:\scala\lib\scala-swing.jar;C:\scala\lib\scala-actors.jar;C:\scala\lib\scala-library.jar;C:\scala\lib\scala-partest.jar;C:\scala\lib\scala-reflect.jar;C:\scala\lib\scala-compiler.jar;C:\scala\lib\typesafe-config.jar;C:\scala\lib\scala-actors-migration.jar;C:\Users\Administrator\.ivy2\cache\org.scala-lang\scala-library\jars\scala-library-2.10.2.jar;C:\Users\Administrator\.ivy2\cache\org.scala-lang\scala-reflect\jars\scala-reflect-2.10.2.jar;C:\spark\lib\datanucleus-core-3.2.10.jar;C:\spark\lib\datanucleus-rdbms-3.2.9.jar;C:\spark\lib\spark-1.6.1-yarn-shuffle.jar;C:\spark\lib\datanucleus-api-jdo-3.2.6.jar;C:\spark\lib\spark-assembly-1.6.1-hadoop2.4.0.jar;C:\spark\lib\spark-examples-1.6.1-hadoop2.4.0.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2016.2.3\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain WordsCount
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/spark/lib/spark-assembly-1.6.1-hadoop2.4.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/spark/lib/spark-examples-1.6.1-hadoop2.4.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
16/09/14 16:03:21 INFO SparkContext: Running Spark version 1.6.1
16/09/14 16:03:22 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
16/09/14 16:03:22 INFO SecurityManager: Changing view acls to: Administrator
16/09/14 16:03:22 INFO SecurityManager: Changing modify acls to: Administrator
16/09/14 16:03:22 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(Administrator); users with modify permissions: Set(Administrator)
16/09/14 16:03:23 INFO Utils: Successfully started service 'sparkDriver' on port 50762.
16/09/14 16:03:23 ERROR SparkContext: Error initializing SparkContext.
java.lang.NoSuchMethodException: akka.remote.RemoteActorRefProvider.<init> (java.lang.String, akka.actor.ActorSystem$Settings, akka.event.EventStream, akka.actor.Scheduler, akka.actor.DynamicAccess)
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.getDeclaredConstructor(Class.java:2178)
at akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$2.apply(DynamicAccess.scala:77)
at scala.util.Try$.apply(Try.scala:161)
at akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:74)
at akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$3.apply(DynamicAccess.scala:85)
at akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$3.apply(DynamicAccess.scala:85)
at scala.util.Success.flatMap(Try.scala:200)
at akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:85)
at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:546)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:111)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:104)
at org.apache.spark.util.AkkaUtils$.org$apache$spark$util$AkkaUtils$$doCreateActorSystem(AkkaUtils.scala:121)
at org.apache.spark.util.AkkaUtils$$anonfun$1.apply(AkkaUtils.scala:53)
at org.apache.spark.util.AkkaUtils$$anonfun$1.apply(AkkaUtils.scala:52)
at org.apache.spark.util.Utils$$anonfun$startServiceOnPort$1.apply$mcVI$sp(Utils.scala:1988)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)
at org.apache.spark.util.Utils$.startServiceOnPort(Utils.scala:1979)
at org.apache.spark.util.AkkaUtils$.createActorSystem(AkkaUtils.scala:55)
at org.apache.spark.SparkEnv$.create(SparkEnv.scala:266)
at org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:193)
at org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:288)
at org.apache.spark.SparkContext.<init>(SparkContext.scala:457)
at WordsCount$.main(WordsCount.scala:7)
at WordsCount.main(WordsCount.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
16/09/14 16:03:23 INFO SparkContext: Successfully stopped SparkContext
Exception in thread "main" java.lang.NoSuchMethodException: akka.remote.RemoteActorRefProvider.<init>(java.lang.String, akka.actor.ActorSystem$Settings, akka.event.EventStream, akka.actor.Scheduler, akka.actor.DynamicAccess)
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.getDeclaredConstructor(Class.java:2178)
at akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$2.apply(DynamicAccess.scala:77)
at scala.util.Try$.apply(Try.scala:161)
at akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:74)
at akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$3.apply(DynamicAccess.scala:85)
at akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$3.apply(DynamicAccess.scala:85)
at scala.util.Success.flatMap(Try.scala:200)
at akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:85)
at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:546)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:111)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:104)
at org.apache.spark.util.AkkaUtils$.org$apache$spark$util$AkkaUtils$$doCreateActorSystem(AkkaUtils.scala:121)
at org.apache.spark.util.AkkaUtils$$anonfun$1.apply(AkkaUtils.scala:53)
at org.apache.spark.util.AkkaUtils$$anonfun$1.apply(AkkaUtils.scala:52)
at org.apache.spark.util.Utils$$anonfun$startServiceOnPort$1.apply$mcVI$sp(Utils.scala:1988)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)
at org.apache.spark.util.Utils$.startServiceOnPort(Utils.scala:1979)
at org.apache.spark.util.AkkaUtils$.createActorSystem(AkkaUtils.scala:55)
at org.apache.spark.SparkEnv$.create(SparkEnv.scala:266)
at org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:193)
at org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:288)
at org.apache.spark.SparkContext.<init>(SparkContext.scala:457)
at WordsCount$.main(WordsCount.scala:7)
at WordsCount.main(WordsCount.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Process finished with exit code 1
I have been struggling for a couple of hours to solve this problem but couldn't figure out. Can someone help me out? Thanks!
Try installing the Java 7 JDK and you may have better luck. Although the release notes for Scala 2.10.2 seem to be missing, 2.10.4 doesn't support Java 8:
New ByteCode emitter based on ASM
Can target JDK 1.5, 1.6 and 1.7
Emits 1.6 bytecode by default
Old 1.5 backend is deprecated
...and even 2.11.x only has experimental Java 8 support:
The Scala 2.11.x series targets Java 6, with (evolving) experimental support for Java 8. In 2.11.1, Java 8 support is mostly limited to reading Java 8 bytecode and parsing Java 8 source. Stay tuned for more complete (experimental) Java 8 support. The next major release, 2.12, will most likely target Java 8 by default.
Also see: Can I use java 8 in an mixed scala 2.10 / java project built by sbt?