This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | UnsatisfiedLinkError: jnidispatch (/com/sun/jna/win32-amd64/jnidispatch.dll) not found in resource path | ||
---|---|---|---|
Product: | platform | Reporter: | _ gtzabari <gtzabari> |
Component: | Window System | Assignee: | mslama <mslama> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | dsimonek, matteodg, saubrecht, sustaining, tsromney |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=50238 | ||
Issue Type: | DEFECT | Exception Reporter: | 50238 |
Bug Depends on: | |||
Bug Blocks: | 145435 |
Description
_ gtzabari
2008-07-11 00:41:55 UTC
As a workaround Tools -> Options -> Miscellaneous -> Appearance -> "Transparent *" should be unchecked on 64-bit JDKs. See http://www.mucommander.com/cgi-bin/bugzilla/show_bug.cgi?id=57 and https://jna.dev.java.net/issues/show_bug.cgi?id=59 for more information. What are we expected to do here? Automatically disable (grey out) mentioned transparency option if 64-bit JDK on windows is detected? That's an easy fix. I did exactly that manually and it works fine. Once JNA releases 64-bit versions we can re-enable it. That being said, I get an uncomfortable feeling JNA won't be fixing that bug for a long time. Patch welcomed for this easy fix, I have hundreds on other easy fixes waiting :) Sorry, I didn't mean to imply "this is an easy fix, go fix it". I simply meant "the easiest way to fix it would be to disable the checkboxes by default". Yes, agreed, and no problem (smile was there...) This issue has already 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=50238 Hopefully fixed: http://hg.netbeans.org/main/rev/fe8c2a99e468 gtzabari or other reporters, could you please verify with dev build that will contain fix above (tomorrow's or aftre tomorrow's), I don't have access to win 64, thanks. I just tried dev build 200808261401... Oddly enough drag-n-drop tabs fades out just fine, even under x64. So I see two issues here: 1) Why is this working under x64 now? 2) Shouldn't your patch have disabled this feature under x64? 1) Why is this working under x64 now? I don't know. 2) Shouldn't your patch have disabled this feature under x64? Yes, for "amd64". If OS arch type contains "amd64" then JNA usage is disabled - for me it's working, look at the patch, I think it is right. You are referring to "x64" not "amd64", maybe that's the source of confusion? Anyway no exceptions are reported after my fix went into the build, so I guess it is really fixed. x64 and amd64 are one and the same. Anyway, I'll leave this issue as closed for now seeing as it doesn't produce any negative behavior. Thanks ;) *** Issue 149815 has been marked as a duplicate of this issue. *** Ma fix apparently failed for some reason, as duplicate issue shows. As I don't have access to 64 bit Vista, I'm unable to fix the bug, calling community for help. I will check. I have Vista 64bit at home. os.arch system property value should be always 'amd64' on 64bit JDK. Updated jna to 3.09. with 64bit Windows support. core-main #ba7e26c4d653 I will test and remove last change which should disable this functionality on amd64 arch on Windows. core-main #949dbe23c0fd Remove disabling jna for 64bit Windows as jna 3.0.9 supports 64bit Windows. I will test at home later today. Of course other testers are also welcome. You can get latest build at http://deadlock.netbeans.org/hudson/job/NB-Core-Build/. Fix should be in next build. Please check that first. I checked with build #1854 from http://deadlock.netbeans.org/hudson/job/NB-Core-Build and it works fine with 64bit JDK on Windows Vista. Please verify. Dragged tabs are transparent and no exception is logged on console. Integrated into 'main-golden', will be available in build *200812100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/949dbe23c0fd User: Marek Slama <mslama@netbeans.org> Log: #139659: Remove special handling of amd64 arch for Windows as JNA now supports Win 64bit. Please be aware that this fix consists of 2 stages: 1.First part was to add special handling of reported exception ie. hide it. 2.Second part was to remove patch 1 and update jna external library as new version supports 64bit Windows. It not clear if 1 or 2 should be backported (ie. I do not know if it is possible to update jna library through patch - if yes then it is ok. If not I would recommend to leave it as it is or at least test that hiding exception works as there was report that it does not work. As I directly updated jna lib I did not test stage 1. Verified. The fix has been ported into the release65_fixes repository. http://hg.netbeans.org/release65_fixes/rev/313d81b1e346 |