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.
This bug was originally marked as duplicate of bug 235536, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 (Build nbms-and-javadoc-1734-on-20140530) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 7 User Comments: danylumbrales: Open proyect error Stacktrace: java.lang.AbstractMethodError at com.sun.jna.Structure.fieldOrder(Structure.java:868) at com.sun.jna.Structure.getFields(Structure.java:894) at com.sun.jna.Structure.deriveLayout(Structure.java:1042) at com.sun.jna.Structure.calculateSize(Structure.java:966) at com.sun.jna.Structure.calculateSize(Structure.java:933) at com.sun.jna.Structure.allocateMemory(Structure.java:360)
Created attachment 147528 [details] stacktrace
It seems that incorrect version of JNA library is used. (4.0.0 instead of 3.4.0). Version (1.37) of module org.netbeans.libs.jna is too high for NetBeans 7.4. Where did you get NetBeans binaries? Or did you create a custom build? Thank you.
Hi Jaroslav! I downloaded it from NetBeans website and I haven't modified anything manually. Is possible change JNA library version without install NetBeans again? Thanks! (In reply to Jaroslav Havlin from comment #2) > It seems that incorrect version of JNA library is used. (4.0.0 instead of > 3.4.0). Version (1.37) of module org.netbeans.libs.jna is too high for > NetBeans 7.4. > > Where did you get NetBeans binaries? Or did you create a custom build? > > Thank you.
> Is possible change JNA library version without install NetBeans again? I'm afraid this cannot be fixed, you probably downloaded a broken development build. Please download the latest stable version from the official download page: https://netbeans.org/downloads/ (Or if you really need version 7.4, use this page: https://netbeans.org/downloads/7.4/)
I have searching the JNA version and I have seen that I'm using JNA 3.4.0, but in all case I will download the lastest version and I will install it again. (In reply to Jaroslav Havlin from comment #4) > > Is possible change JNA library version without install NetBeans again? > I'm afraid this cannot be fixed, you probably downloaded a broken > development build. > > Please download the latest stable version from the official download page: > https://netbeans.org/downloads/ > > (Or if you really need version 7.4, use this page: > https://netbeans.org/downloads/7.4/)
(In reply to danylumbrales from comment #5) > I have searching the JNA version and I have seen that I'm using JNA 3.4.0, This seems quite odd. Is the file located here, or somewhere else? C:\Program Files\NetBeans 7.4\platform\modules\ext\jna-3.4.0.jar > but in all case I will download the lastest version and I will install it > again. It should help. The NetBeans that you are using now is marked as version 7.4, but the build date is quite recent (20140530), so something is probably wrong.
Hi Jaroslav! I fix the problem! I have downloaded th NetBeans 7.4 again and then I install this plugin (http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1.2/uc/final/certified/modules/extra/org-netbeans-modules-j2ee-sun-appsrv81.nbm) to use Glassfish 2.1 Thanks for all! (In reply to Jaroslav Havlin from comment #6) > (In reply to danylumbrales from comment #5) > > I have searching the JNA version and I have seen that I'm using JNA 3.4.0, > This seems quite odd. Is the file located here, or somewhere else? > C:\Program Files\NetBeans 7.4\platform\modules\ext\jna-3.4.0.jar > > > but in all case I will download the lastest version and I will install it > > again. > It should help. The NetBeans that you are using now is marked as version 7.4, > but the build date is quite recent (20140530), so something is probably > wrong.