Windows防火墙已阻止IntelliJ IDEA的某些功能

时间:2016-12-01 08:13:42

标签: security intellij-idea windows-firewall windows-security intellij-idea-2016

我安装了 IntelliJ IDEA 2016.3社区版,我创建了一个包含main方法的简单Java类,只打印一条消息。当我运行" program"时,会出现以下窗口:

Windows Security Alert

  

Windows防火墙已阻止此程序的某些功能

     
    

Window Firewall已在所有公共和专用网络上阻止了IntelliJ IDEA的某些功能。

  

如果我转到文件> 设置... > 外观&行为> 系统设置> 使用统计> 允许向JetBrains s.r.o 发送使用情况统计信息未选中

Do not allow sending usage statistics to JetBrains

如果我转到C:\Users\myusername\.IdeaIC2016.3\system\log

  • build-log\build.log - 似乎没什么可疑的
  • idea.log - 唯一有趣的一行是:

    • 在第一次运行时,出现Windows安全警报窗口时,有5个块看起来像这样(不完全相同):

      2016-12-01 09:42:53,814 [ 662361]   INFO - il.indexing.FileBasedIndexImpl - Rebuild requested for index org.jetbrains.kotlin.idea.versions.KotlinMetadataVersionIndex 
      java.lang.Throwable
          at com.intellij.util.indexing.FileBasedIndex.requestRebuild(FileBasedIndex.java:72)
          at org.jetbrains.kotlin.idea.versions.KotlinUpdatePluginComponent.initComponent(KotlinUpdatePluginComponent.kt:62)
          at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:501)
          at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:125)
          at com.intellij.openapi.application.impl.ApplicationImpl.lambda$createComponents$8(ApplicationImpl.java:441)
          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.impl.ApplicationImpl.createComponents(ApplicationImpl.java:448)
          at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:109)
          at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:400)
          at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:386)
          at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:190)
          at com.intellij.idea.MainImpl$1.lambda$null$0(MainImpl.java:47)
          at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
          at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
          at java.awt.EventQueue.access$500(EventQueue.java:97)
          at java.awt.EventQueue$3.run(EventQueue.java:709)
          at java.awt.EventQueue$3.run(EventQueue.java:703)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
          at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
          at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
          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)
      
    • 关闭Windows安全警报窗口并再次运行后
    • java.io.IOException: An existing connection was forcibly closed by the remote host
          at sun.nio.ch.SocketDispatcher.read0(Native Method)
          at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
          at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
          at sun.nio.ch.IOUtil.read(IOUtil.java:192)
          at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
          at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
          at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1100)
          at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:367)
          at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:118)
          at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:631)
          at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:560)
          at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:474)
          at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:446)
          at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
          at java.lang.Thread.run(Thread.java:745)
      

IntelliJ IDEA试图做什么?

如何防止进入该窗口安全警报窗口的原因?

修改: 它也发生在IntelliJ IDEA 2017.1中。

0 个答案:

没有答案