HTML Preview hangs on IDEA 6.0 final build on OS X

In the final release version of IDEA6.0, the HTML Preview plugin will download, and then hang IDEA (requiring a Force Quit on OS X). On restart, any attempt to reopen the project that had the HTML preview window open also results in a hang. The only cure is to remove/disable the HTML Preview plugin.

The following exception trace is dumped to the console when the hang occurs:

Exception in thread "AWT-AppKit" java.lang.UnsatisfiedLinkError: getClassAddress
at com.jniwrapper.macosx.cocoa.CocoaLib.getClassAddress(Native Method)
at com.jniwrapper.macosx.cocoa.CocoaLib.(CocoaLib.java:22) at com.jniwrapper.macosx.cocoa.Sel.getFunctionUID(Sel.java:138) at com.jniwrapper.macosx.cocoa.Sel.(Sel.java:32) at com.jniwrapper.macosx.cocoa.Sel.getFunction(Sel.java:49) at com.jniwrapper.macosx.cocoa.CObject.(CObject.java:64) at com.jniwrapper.macosx.cocoa.CObject.(CObject.java:48) at com.jniwrapper.macosx.cocoa.CObject.(CObject.java:43) at com.jniwrapper.macosx.cocoa.nsobject.NSObject.(NSObject.java:111) at com.jniwrapper.macosx.cocoa.nsresponder.NSResponder.(NSResponder.java:33) at com.jniwrapper.macosx.cocoa.nsview.NSView.(NSView.java:45) at com.jniwrapper.jxbrowser.impl.awt.MacAwtWebBrowserChrome$CocoaCanvas.(MacAwtWebBrowserChrome.java:130) at com.jniwrapper.jxbrowser.impl.awt.MacAwtWebBrowserChrome.]]>(MacAwtWebBrowserChrome.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.jniwrapper.jxbrowser.impl.awt.AwtChromeFactory.getAwtWebBrowserChrome(AwtChromeFactory.java:50)
at com.jniwrapper.jxbrowser.impl.WebBrowserSupport$2.run(WebBrowserSupport.java:57)
at com.jniwrapper.macosx.cocoa.embedded.AbstractEmbeddedView$1.run(AbstractEmbeddedView.java:169)
at com.jniwrapper.macosx.cocoa.embedded.AbstractEmbeddedView.callback(AbstractEmbeddedView.java:148)


Running on OS X 10.4.8, Mac Pro, clean reinstall of OS. It also fails in the same fashion on a MacBook Pro.

7 comments

33 views and no comments. Am I the only one who can't get HTML Preview to work on Mac OS X in IDEA 6.0?

0

I had this, but it seems to have been fixed in 6.0.2 Beta.

--Dave Griffith

0

I just installed 6.0.1 and had the same problem with the HTML Preview causing IDEA to hang.

Rick

0

FYI -- so others don't have to search... here's a link to the 6.0.2 beta build (not currently available from the regular EAP page):

http://www.jetbrains.net/confluence/display/IDEADEV/6.0.2+EAP

0

I tried with the latest Demetra build, same problem.

(6043)


Using JVMTI
Profiler agent is listening on port 10001...
*** HINT ***: To get profiling results, connect to the application from the profiler UI
Watcher OK.
Exception in thread "AWT-AppKit" java.lang.UnsatisfiedLinkError: getClassAddress
at com.jniwrapper.macosx.cocoa.CocoaLib.getClassAddress(Native Method)
at com.jniwrapper.macosx.cocoa.CocoaLib.(CocoaLib.java:22) at com.jniwrapper.macosx.cocoa.Sel.getFunctionUID(Sel.java:138) at com.jniwrapper.macosx.cocoa.Sel.(Sel.java:32) at com.jniwrapper.macosx.cocoa.Sel.getFunction(Sel.java:49) at com.jniwrapper.macosx.cocoa.CObject.(CObject.java:64) at com.jniwrapper.macosx.cocoa.CObject.(CObject.java:48) at com.jniwrapper.macosx.cocoa.CObject.(CObject.java:43) at com.jniwrapper.macosx.cocoa.nsobject.NSObject.(NSObject.java:111) at com.jniwrapper.macosx.cocoa.nsresponder.NSResponder.(NSResponder.java:33) at com.jniwrapper.macosx.cocoa.nsview.NSView.(NSView.java:45) at com.jniwrapper.jxbrowser.impl.awt.MacAwtWebBrowserChrome$CocoaCanvas.(SourceFile:130) at com.jniwrapper.jxbrowser.impl.awt.MacAwtWebBrowserChrome.(SourceFile:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at com.jniwrapper.jxbrowser.impl.awt.AwtChromeFactory.getAwtWebBrowserChrome(SourceFile:50) at com.jniwrapper.jxbrowser.impl.WebBrowserSupport.]]>(SourceFile:78)
at com.jniwrapper.jxbrowser.impl.Browser.b(SourceFile:92)
at com.jniwrapper.jxbrowser.impl.Browser.e(SourceFile:37)
at com.jniwrapper.jxbrowser.impl.Browser$2.run(SourceFile:84)
at com.jniwrapper.macosx.cocoa.embedded.AbstractEmbeddedView$1.run(SourceFile:169)
at com.jniwrapper.macosx.cocoa.embedded.AbstractEmbeddedView.callback(SourceFile:148)
JavaAWT: Assertion failure: Java exception thrown
JavaAWT: File src/macosx/native/apple/awt/util/AWTException.m; Line 40
JavaAWT: Assertion failure: _javaException
JavaAWT: File src/macosx/native/apple/awt/util/AWTException.m; Line 48
2006-10-20 02:02:21.201 idea[3541] Apple AWT Startup Exception : See Java exception object
2006-10-20 02:02:21.201 idea[3541] Apple AWT Restarting Native Event Thread

0

Hi all

Possible reason is missing or invalid native library used by the plugin on Mac. It is extracted to temp folder and should be at following path: /tmp/libCocoa2JavaEmbeddingUtil.jnilib

Please check if it is there. (Its size should be 217808 bytes)

The library is correct inside 6.0.2 beta.

Let me know if you do not have this library. We'll be searching for why it is not being unpacked then.

---
Eugene

0

Possible reason is missing or invalid native library
used by the plugin on Mac. It is extracted to temp
folder and should be at following path:
/tmp/libCocoa2JavaEmbeddingUtil.jnilib

Please check if it is there. (Its size should be
217808 bytes)


It is in the right place but the size is only 46980 bytes.

0

Please sign in to leave a comment.