Not able to load IdeaWin32.dll

Hi I try to get intellij-erlanng plugin's unit tests to work but they all fail with this exception.
Any one knows what might be the issue? it seems to be looking for IdeaWin32.dll. and its located in the /bin dir of my IDEA installation

ERROR: Failed to load native filesystem for Windows
java.io.FileNotFoundException: Native filesystem .dll is missing, home: C:\Users\nilmar2\.IdeaIC12\system\plugins-sandbox\test
    at com.intellij.openapi.util.io.win32.IdeaWin32.<clinit>(IdeaWin32.java:50)
    at com.intellij.openapi.util.io.FileSystemUtil.getMediator(FileSystemUtil.java:71)
    at com.intellij.openapi.util.io.FileSystemUtil.<clinit>(FileSystemUtil.java:64)
    at com.intellij.openapi.util.io.FileUtil.delete(FileUtil.java:417)
    at com.intellij.testFramework.UsefulTestCase.tearDown(UsefulTestCase.java:132)
    at com.intellij.testFramework.PlatformLiteFixture.tearDown(PlatformLiteFixture.java:74)
    at com.intellij.testFramework.ParsingTestCase.tearDown(ParsingTestCase.java:170)
    at junit.framework.TestCase.runBare(TestCase.java:140)
    at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:276)
    at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:288)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:602)
    at java.awt.EventQueue$1.run(EventQueue.java:600)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

java.lang.AssertionError: Failed to load native filesystem for Windows
    at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:55)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:65)
    at com.intellij.openapi.util.io.win32.IdeaWin32.<clinit>(IdeaWin32.java:59)
    at com.intellij.openapi.util.io.FileSystemUtil.getMediator(FileSystemUtil.java:71)
    at com.intellij.openapi.util.io.FileSystemUtil.<clinit>(FileSystemUtil.java:64)
    at com.intellij.openapi.util.io.FileUtil.delete(FileUtil.java:417)
    at com.intellij.testFramework.UsefulTestCase.tearDown(UsefulTestCase.java:132)
    at com.intellij.testFramework.PlatformLiteFixture.tearDown(PlatformLiteFixture.java:74)
    at com.intellij.testFramework.ParsingTestCase.tearDown(ParsingTestCase.java:170)
    at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:276)
    at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:288)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:602)
    at java.awt.EventQueue$1.run(EventQueue.java:600)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


Process finished with exit code -1

1 comment

Just copy your IdeaWin32.dll from <IDEA_HOME>\bin to:

C:\Users\nilmar2\.IdeaIC12\system\plugins-sandbox\test\bin

You'll probably need to create the bin folder.

0

Please sign in to leave a comment.