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 246971 - Incorrect version of masterfs.windows after auto-updating to 8.0.1
Summary: Incorrect version of masterfs.windows after auto-updating to 8.0.1
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 246990 247011 247012 247065 247075 247081 247129 247160 247211 247245 247250 247276 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-10 06:44 UTC by Exceptions Reporter
Modified: 2015-04-03 07:05 UTC (History)
24 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211666


Attachments
stacktrace (4.03 KB, text/plain)
2014-09-10 06:44 UTC, Exceptions Reporter
Details
Zipped /var/log directory containing updater and messages logs from Bruno Salmon. (198.25 KB, application/x-java-archive)
2014-09-22 15:10 UTC, Jiri Kovalsky
Details
updater and messages log (66.58 KB, application/x-zip-compressed)
2014-09-22 18:53 UTC, BartK
Details
Log from system with error (147.90 KB, application/octet-stream)
2014-09-23 05:11 UTC, alessandronip
Details
Log from system withouth error (355.02 KB, application/octet-stream)
2014-09-23 05:15 UTC, alessandronip
Details
Zipped /var/log directory containing updater and messages logs from Juan Erazo. (203.18 KB, application/x-java-archive)
2014-09-23 09:27 UTC, Jiri Kovalsky
Details
Zipped /var/log directory containing updater and messages logs from Marko Nitzsche. (121.71 KB, application/x-java-archive)
2014-09-23 09:35 UTC, Jiri Kovalsky
Details
stacktrace (982 bytes, text/plain)
2014-09-24 15:46 UTC, Stepan Zebra
Details
upgrade logs (66.16 KB, application/download)
2014-09-24 15:55 UTC, Stepan Zebra
Details
Zipped /var/log directory containing updater and messages logs from Grant Langdon. (91.22 KB, application/x-java-archive)
2014-09-25 20:35 UTC, Jiri Kovalsky
Details
Removing dependencies of autoupdate.services on module APIs (1.05 KB, patch)
2014-10-01 20:29 UTC, Jaroslav Tulach
Details | Diff
Removing dependencies of autoupdate.services on module APIs (9.10 KB, patch)
2014-10-02 14:00 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-09-10 06:44:22 UTC
This bug was originally marked as duplicate of bug 244318, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) Client VM, 24.55-b03, Java(TM) SE Runtime Environment, 1.7.0_55-b14
OS: Windows 7

User Comments:
GUEST: <Please provide a description of the problem or the steps to reproduce>
Click close then close all tab




Stacktrace: 
java.lang.AbstractMethodError
   at com.sun.jna.Structure.fieldOrder(Structure.java:884)
   at com.sun.jna.Structure.getFields(Structure.java:910)
   at com.sun.jna.Structure.deriveLayout(Structure.java:1058)
   at com.sun.jna.Structure.calculateSize(Structure.java:982)
   at com.sun.jna.Structure.calculateSize(Structure.java:949)
   at com.sun.jna.Structure.allocateMemory(Structure.java:375)
Comment 1 Exceptions Reporter 2014-09-10 06:44:24 UTC
Created attachment 149102 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-09-12 11:24:11 UTC
*** Bug 246990 has been marked as a duplicate of this bug. ***
Comment 3 Jaroslav Havlin 2014-09-12 11:24:37 UTC
*** Bug 247011 has been marked as a duplicate of this bug. ***
Comment 4 Jaroslav Havlin 2014-09-12 11:24:52 UTC
*** Bug 247012 has been marked as a duplicate of this bug. ***
Comment 5 Jaroslav Havlin 2014-09-12 11:51:28 UTC
The problem is that modules org.netbeans.modules.masterfs.windows and org.netbeans.libs.jna are not compatible after the update. Module libs.jna is in version 1.38.1, which is correct; module masterfs.windows is in version 1.11.1, but should be 1.13.1.

I tried to reproduce the bug, but the update worked fine for me.

I'm not sure what caused this problem.
Can you please check whether the module was actually updated?
(See file <nb-install-dir>\platform\update_tracking\org-netbeans-modules-masterfs-windows.xml.)
Could you also try deleting the cache directory?
(On Windows 7 it is C:\Users\<User>\AppData\Local\NetBeans\Cache\8.0.)

Installing fresh NetBeans 8.0.1 will certainly solve this problem, as it is related to update center.

Closing for now. If we have more information, we will try to investigate what went wrong.

Thank you for reporting.
Comment 6 Tomas Stupka 2014-09-12 12:58:27 UTC
*** Bug 247065 has been marked as a duplicate of this bug. ***
Comment 7 Jaroslav Havlin 2014-09-15 05:20:53 UTC
*** Bug 247081 has been marked as a duplicate of this bug. ***
Comment 8 Jaroslav Havlin 2014-09-19 04:18:57 UTC
*** Bug 247160 has been marked as a duplicate of this bug. ***
Comment 9 Jaroslav Havlin 2014-09-19 04:33:24 UTC
*** Bug 247211 has been marked as a duplicate of this bug. ***
Comment 10 Jaroslav Havlin 2014-09-19 04:52:45 UTC
*** Bug 247245 has been marked as a duplicate of this bug. ***
Comment 11 Jaroslav Havlin 2014-09-19 04:53:34 UTC
*** Bug 247276 has been marked as a duplicate of this bug. ***
Comment 12 Tomas Stupka 2014-09-19 12:49:04 UTC
*** Bug 247250 has been marked as a duplicate of this bug. ***
Comment 13 Tomas Stupka 2014-09-19 13:11:18 UTC
*** Bug 247075 has been marked as a duplicate of this bug. ***
Comment 14 Marian Mirilovic 2014-09-21 19:58:28 UTC
Jarda, 300 reports all on Win7 ... do we must to take care of this issue ... please re-evaluate ASAP.
Comment 15 Jaroslav Havlin 2014-09-22 08:13:37 UTC
There are more modules of incorrect version, not only masterfs.windows.
It seems to be some problem with update center.

Did you try to rerun the update (Tools -> Plugins -> Updates -> Check for Updates -> Update)? Did it help?

Can you please attach zipped log folder (usually in C:\Users\usr\AppData\Roaming\NetBeans\8.0\var\log), which contains updater.log files and message logs?
Thank you.
Comment 16 alessandronip 2014-09-22 09:29:48 UTC
Problem solved for me after a second run of the update.
Comment 17 Libor Fischmeistr 2014-09-22 12:45:33 UTC
(In reply to alessandronip from comment #16)
> Problem solved for me after a second run of the update.

Can you attach here the folder with logs? It could really help us.
<userdir>\var\log

Thank you
Comment 18 Jiri Kovalsky 2014-09-22 15:10:28 UTC
Created attachment 149424 [details]
Zipped /var/log directory containing updater and messages logs from Bruno Salmon.
Comment 19 alessandronip 2014-09-22 15:42:46 UTC
My installations are in Windows, where are the logs?
Comment 20 Jiri Kovalsky 2014-09-22 16:11:24 UTC
Both updater and messages logs are stored in C:\Users\<username>\AppData\Roaming\NetBeans\8.0\var\log\ directory. If you can please ZIP that directory and attach here. Thanks!
Comment 21 miguelpom 2014-09-22 16:28:41 UTC
Thanks,
I just had to rerun the update and it got fixed.
Comment 22 BartK 2014-09-22 18:53:22 UTC
Created attachment 149433 [details]
updater and messages log
Comment 23 alessandronip 2014-09-23 05:11:46 UTC
Created attachment 149441 [details]
Log from system with error

Log from Windows Server 2003.
Comment 24 alessandronip 2014-09-23 05:15:36 UTC
Created attachment 149442 [details]
Log from system withouth error

Log from Windows 7, in this system, the update it worked properly.
Comment 25 Marian Mirilovic 2014-09-23 06:38:14 UTC
It isn't fixed .. please do not change resolution, it's up to developers to do so.
Comment 26 Jiri Kovalsky 2014-09-23 09:27:42 UTC
Created attachment 149453 [details]
Zipped /var/log directory containing updater and messages logs from Juan Erazo.
Comment 27 Jiri Kovalsky 2014-09-23 09:35:51 UTC
Created attachment 149454 [details]
Zipped /var/log directory containing updater and messages logs from Marko Nitzsche.
Comment 28 Stepan Zebra 2014-09-24 15:46:55 UTC
Created attachment 149499 [details]
stacktrace

reproducing 8.0 -> 8.0.1  upgrade issue
Comment 29 Stepan Zebra 2014-09-24 15:55:30 UTC
Created attachment 149500 [details]
upgrade logs

Windows 7 / JavaSE package / JDK7u67 / standard installation

A had a few JavaSE and JavaFX projects open. Some of them were ant and some maven. I'll look further for more specific conditions.
Comment 30 Jiri Kovalsky 2014-09-25 20:35:07 UTC
Created attachment 149525 [details]
Zipped /var/log directory containing updater and messages logs from Grant Langdon.

More information from Grant Langdon:

I'd like to note that after I first installed NB 8.0 with JDK 8 (bundled) everything on netbeans worked fine, but then I realized I needed JDK 7u67. I didn't realize there was a bundle with this, so I installed seperately, and netbeans didn't work at all; I assumed this was because netbeans wasn't pointing to the newly installed JDK. I got the error message after I worked on getting netbeans to use JDK 7u67, which allowed netbeans to seem to work a little better, whenever I tried to open anything. After sending the report to you I realized there was a bundle with NB 8.0.1 and JDK 7u67; I installed it and everything works perfectly now. I wanted to note this since it seems either your team fixed the issue in the update to NB 8.0.1 or a simple fix is to just make sure you download them as a bundle.
Comment 31 Jaroslav Havlin 2014-09-29 11:22:06 UTC
(In reply to Jaroslav Havlin from comment #15)
> There are more modules of incorrect version, not only masterfs.windows.
> It seems to be some problem with update center.
Reassigning to platform/Autoupdate.
Libor, please evaluate. Thank you.
Comment 32 Libor Fischmeistr 2014-09-29 12:03:01 UTC
Fixed (hopefully) in release801 - http://hg.netbeans.org/releases/rev/9c476f59c46f
Comment 33 Libor Fischmeistr 2014-09-29 12:07:44 UTC
core-main - http://hg.netbeans.org/core-main/rev/86ff69a4de48
Comment 34 Quality Engineering 2014-09-30 09:08:14 UTC
Integrated into 'releases/release801', will be available in build *201409300841* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/9c476f59c46f
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #246971: Incorrect version of masterfs.windows after auto-updating to 8.0.1
Comment 35 Libor Fischmeistr 2014-09-30 16:06:32 UTC
Jardo, reassigning to you, because it's all caused by that provider (org.openide.modules.jre.JavaFX) added to MS API (changeset http://hg.netbeans.org/releases/rev/09fc30e29401 in core.startup module).

Unfortunately the fix I've created cannot work, because the autoupdate module depends on MS API and then it cannot be updated, because with MS API it depends on JavaFX wrapper.

Please look at it ASAP.

Thanks
Comment 36 Marian Mirilovic 2014-09-30 19:13:31 UTC
To make it clear ... so far 411 dups, still rising and we do not have a fix ... Patch 1 is ready to be released, but we will not do so without this bugfix ... we do not have 100% reprocase, but we are able to simulate the same problem with a little different symptoms but the same results.
Comment 37 Jaroslav Tulach 2014-10-01 01:53:39 UTC
Would it be possible to remove the dep on module API? Either by using reflection or just by removing the dependecy from manifest (module system is on classpath so its classes should be accessible)? I'be sleeping for 9hours now.
Comment 38 Quality Engineering 2014-10-01 02:51:02 UTC
Integrated into 'main-silver', will be available in build *201410010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/86ff69a4de48
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #246971: Incorrect version of masterfs.windows after auto-updating to 8.0.1
Comment 39 Libor Fischmeistr 2014-10-01 17:02:09 UTC
Preferred update flag added - http://hg.netbeans.org/releases/rev/e4cdcc5048c8

Will be updated as first.
Comment 40 Jaroslav Tulach 2014-10-01 20:29:39 UTC
Created attachment 149660 [details]
Removing dependencies of autoupdate.services on module APIs

Here is a rough patch that removed dependency of autoupdate.services on org.openide.modules. As such the autoupdate.services should no longer be subject of this bug and should be updatable. The patch should not go to default branch, only as a workaround on the release80 branch.

Unit tests seemed to work (well except one test) and IDE could start and enable modules. I don't have ways to do full testing here at J1, so passing back to Libor. Have to leave: I have a booth duty.
Comment 41 Quality Engineering 2014-10-02 00:55:37 UTC
Integrated into 'releases/release801', will be available in build *201410012200* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/e4cdcc5048c8
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #246971: Incorrect version of masterfs.windows after auto-updating to 8.0.1
Comment 42 Jaroslav Tulach 2014-10-02 14:00:44 UTC
Created attachment 149677 [details]
Removing dependencies of autoupdate.services on module APIs
Comment 43 Jaroslav Tulach 2014-10-02 14:02:19 UTC
Here is the proper patch. If there is anything I can do, please tell me.
Comment 44 Jiri Kovalsky 2014-10-07 08:52:19 UTC
Alexis, please do not arbitrarily change resolution of the bug unless you are the developer responsible for fixing that particular issue. Thanks for your understanding.
Comment 45 Libor Fischmeistr 2014-10-07 11:48:41 UTC
Jirko, thank you for the comment.

Anyway, this issue can be finally marked as FIXED :-)
Comment 46 Jaroslav Havlin 2015-04-03 07:05:25 UTC
*** Bug 247129 has been marked as a duplicate of this bug. ***