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.

Bug 235536 - AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List
Summary: AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
: 235529 235530 235534 254369 (view as bug list)
Depends on: 229823
Blocks:
  Show dependency tree
 
Reported: 2013-09-05 02:10 UTC by aosamai
Modified: 2015-09-09 15:03 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197957


Attachments
stacktrace (4.17 KB, text/plain)
2013-09-05 02:10 UTC, aosamai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aosamai 2013-09-05 02:10:57 UTC
Build: NetBeans IDE Dev (Build 201309040001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
GUEST: Everywhere !

GUEST: <Please provide a description of the problem or the steps to reproduce>none

GUEST: on start

GUEST: After start NB 7.4 devel after update GIT module

aosamai: installed netbeans without selecting glassfish or tomcat and started it for the first time

GUEST: <Please provide a description of the problem or the steps to reproduce>
none

GUEST: Start NB 7.4 devel after update GIT




Stacktrace: 
java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;
   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)
Comment 1 aosamai 2013-09-05 02:10:59 UTC
Created attachment 139687 [details]
stacktrace
Comment 2 Jaroslav Havlin 2013-09-05 07:09:24 UTC
Please try deleting your cache directory and let me know whether it helped.
(Main Menu -> Help -> About -> Cache Directory)
Thank you.
Comment 3 Jaroslav Havlin 2013-09-05 07:14:14 UTC
*** Bug 235534 has been marked as a duplicate of this bug. ***
Comment 4 Jaroslav Havlin 2013-09-05 07:41:01 UTC
http://hg.netbeans.org/core-main/rev/d673417316ea
Fixed.

Thank you, Ondra, for diagnosis of the bug.
Comment 5 Jaroslav Havlin 2013-09-05 12:55:01 UTC
*** Bug 235529 has been marked as a duplicate of this bug. ***
Comment 6 Ondrej Vrabec 2013-09-05 16:29:59 UTC
*** Bug 235530 has been marked as a duplicate of this bug. ***
Comment 7 maxym 2013-09-05 23:23:57 UTC
Removing cache directory doesn't work for me.
Until cache dir is c:\Users\MaXyM\AppData\Local\NetBeans\Cache\dev\
Comment 8 Quality Engineering 2013-09-06 01:37:30 UTC
Integrated into 'main-silver', will be available in build *201309060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d673417316ea
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #235536: Increasing specification versions and dependency versions after JNA update
Comment 9 Jaroslav Havlin 2013-09-06 04:20:52 UTC
(In reply to maxym from comment
Comment 10 Jaroslav Havlin 2013-09-06 04:21:57 UTC
(In reply to maxym from comment #7)
> Removing cache directory doesn't work for me.
I'm sorry, you'll also need to update several modules.
Please use automatic updates, or download and install
the latest development build.
Comment 11 maxym 2013-09-06 15:42:43 UTC
Suggestion to clean the cache has been posted while no other updates were available.
I will try today evening for updates existance or download last recent build.
thx
Comment 12 maxym 2013-09-06 18:17:18 UTC
I've tested build 201309060001 as well as 201309040001 with recent updates.
I can confirm the issue is fixed.
Comment 13 Jaroslav Havlin 2013-09-09 05:24:16 UTC
(In reply to maxym from comment #11)
> Suggestion to clean the cache has been posted while no other updates were
> available.
I originally thought that the problem was in cache, but in fact it was in bad
specification versions. I'm sorry for that mistake.

(In reply to maxym from comment #12)
> I've tested build 201309060001 as well as 201309040001 with recent updates.
> I can confirm the issue is fixed.
Thank you very much.
Comment 14 Rai 2014-07-09 01:21:32 UTC
Comment on attachment 139687 [details]
stacktrace

>java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;
>   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)
>   at com.sun.jna.Structure.<init>(Structure.java:184)
>   at com.sun.jna.Structure.<init>(Structure.java:172)
>   at com.sun.jna.Structure.<init>(Structure.java:159)
>   at com.sun.jna.Structure.<init>(Structure.java:151)
>   at org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier$FILE_NOTIFY_INFORMATION.<init>(WindowsNotifier.java:164)
>   at org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier$FileInfo.<init>(WindowsNotifier.java:283)
>   at org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier.addWatch(WindowsNotifier.java:340)
>   at org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier.addWatch(WindowsNotifier.java:74)
>   at org.netbeans.modules.masterfs.providers.Notifier$1.addWatch(Notifier.java:111)
>   at org.netbeans.modules.masterfs.watcher.Watcher$Ext.register(Watcher.java:243)
>   at org.netbeans.modules.masterfs.watcher.Watcher.register(Watcher.java:118)
>   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.addFileChangeListener(BaseFileObj.java:528)
>   at org.openide.filesystems.JarFileSystem.setJarFile(JarFileSystem.java:391)
>   at org.openide.filesystems.JarFileSystem.<init>(JarFileSystem.java:197)
>   at org.netbeans.core.startup.layers.ArchiveURLMapper.getFileSystem(ArchiveURLMapper.java:169)
>   at org.netbeans.core.startup.layers.ArchiveURLMapper.getFileObjects(ArchiveURLMapper.java:141)
>   at org.openide.filesystems.URLMapper.findFileObject(URLMapper.java:213)
>   at org.netbeans.modules.java.j2seplatform.libraries.J2SELibrarySourceForBinaryQuery.getNormalizedURL(J2SELibrarySourceForBinaryQuery.java:155)
>   at org.netbeans.modules.java.j2seplatform.libraries.J2SELibrarySourceForBinaryQuery.preInit(J2SELibrarySourceForBinaryQuery.java:135)
>   at org.netbeans.modules.java.j2seplatform.J2SEPlatformWarmUp.preInitJ2SELibsSFBQ(J2SEPlatformWarmUp.java:62)
>   at org.netbeans.modules.java.j2seplatform.J2SEPlatformWarmUp.run(J2SEPlatformWarmUp.java:56)
>   at org.netbeans.core.startup.WarmUpSupport.run(WarmUpSupport.java:98)
>   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
>   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
>Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;
>   at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:1473)
>   at org.netbeans.core.startup.WarmUpSupport.warmUp(WarmUpSupport.java:75)
>   at org.netbeans.core.startup.MainLookup.warmUp(MainLookup.java:84)
>   at org.netbeans.core.GuiRunLevel$InitWinSys$1.run(GuiRunLevel.java:254)
>   at org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1563)
>   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
>   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
>   at java.awt.EventQueue.access$200(EventQueue.java:103)
>   at java.awt.EventQueue$3.run(EventQueue.java:694)
>   at java.awt.EventQueue$3.run(EventQueue.java:692)
>   at java.security.AccessController.doPrivileged(AccessController.java:0)
>   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
>   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
>   at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
>   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
>   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
>   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
>   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
>   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
>   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Comment 15 Tomas Hurka 2015-09-09 15:03:31 UTC
*** Bug 254369 has been marked as a duplicate of this bug. ***