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 228389 - netbeans-trunk-nightly-201304042355-linux.sh locks up on install
Summary: netbeans-trunk-nightly-201304042355-linux.sh locks up on install
Status: RESOLVED WORKSFORME
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 228395 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-08 19:41 UTC by tbrunhoff
Modified: 2013-04-10 15:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
nbi logs (22.30 KB, application/gzip)
2013-04-09 16:19 UTC, tbrunhoff
Details
Fedora 18: another install attempt (43.48 KB, text/x-log)
2013-04-09 17:04 UTC, tbrunhoff
Details
Fedora 16: installer output with --verbose (4.75 MB, text/x-log)
2013-04-09 18:06 UTC, tbrunhoff
Details
Fedora 16: three log files with exceptions (19.59 KB, application/x-compressed-tar)
2013-04-09 18:29 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2013-04-08 19:41:39 UTC
netbeans-trunk-nightly-201304042355-linux.sh locks up when trying to install on fedora 16. I'm running jdk-1.7.0_17-fcs.i586 from oracle. The last installer I used still works: netbeans-trunk-nightly-201303192300-linux.sh

The message I get is below.

(java:15511): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
Comment 1 Jiri Rechtacek 2013-04-09 07:25:22 UTC
Please run the installer with verbose option, i.e. sh ./netbeans-trunk-nightly-201304042355-linux.sh --verbose and attach here the output.  Thanks
I've downloaded and installed the latest build from http://bits.netbeans.org/download/trunk/nightly/latest/ on my Linux w/o any problems.
Comment 2 Jiri Rechtacek 2013-04-09 08:05:17 UTC
*** Bug 228395 has been marked as a duplicate of this bug. ***
Comment 3 tbrunhoff 2013-04-09 16:10:22 UTC
Not sure why you think an installer bug on f18 is a dup of a different problem on f16. Note that *none* of the installers work on f18, but only recent installers fail on f16.  Whatever.

One of the error messages (attached next) suggest a missing font. I've read some threads that suggest the dejavu fonts are missing. Its not that, at least.

# rpm -qa | grep deja 
dejavu-fonts-common-2.33-4.fc18.noarch
dejavu-serif-fonts-2.33-4.fc18.noarch
dejavu-lgc-sans-fonts-2.33-4.fc18.noarch
dejavu-lgc-sans-mono-fonts-2.33-4.fc18.noarch
dejavu-lgc-serif-fonts-2.33-4.fc18.noarch
dejavu-sans-fonts-2.33-4.fc18.noarch
dejavu-sans-mono-fonts-2.33-4.fc18.noarch
Comment 4 tbrunhoff 2013-04-09 16:19:49 UTC
Created attachment 133397 [details]
nbi logs

Several attempts at install attached.  For clarity, the most recent one this
morning (20130409085743.log) is a 7.3 install.
Comment 5 tbrunhoff 2013-04-09 16:46:13 UTC
... and the attached logs relate to fedora 18.
Comment 6 tbrunhoff 2013-04-09 17:04:52 UTC
Created attachment 133399 [details]
Fedora 18: another install attempt

Fedora 18: 

After swiching from i586 java to x68...
 
    rpm -e jdk-1.7.0_17-fcs.i586
    rpm -Uvh jdk-7u17-linux-x64.rpm

The attached log using

    bash netbeans-7.3-linux.sh --verbose > netbeans-7.3-linux.sh.x64.log 2>&1

It seems pretty clear that the problem is the fault in sun.awt.X11FontManager.getDefaultPlatformFont(X11FontManager.java:779)
Comment 7 tbrunhoff 2013-04-09 17:21:29 UTC
Fedora 18:

This bug
    https://bugzilla.redhat.com/show_bug.cgi?id=885905

Suggests that libfontconfig.so was not available. Checking I found that fontconfig-2.10.2-2.fc18.x86_64 was installed.

So I installed fontconfig-2.10.2-2.fc18.i686 too and the installer now works.

That seems to solve the fedora 18 installer problems, but as I mentioned above, it does not address the lockups on fedora 16.  That's next.
Comment 8 tbrunhoff 2013-04-09 17:54:44 UTC
Fedora 16:
Checking, I found that both of these are already installed:
    fontconfig-2.8.0-8.fc16.x86_64
    fontconfig-2.8.0-8.fc16.i686

but based on recent experiences, I suspect that the contents of ~/.netbeans/dev and ~/.cache/netbeans can confuse the installer and NB, so I removed both and the installer now works.

However...
Comment 9 tbrunhoff 2013-04-09 18:06:23 UTC
Created attachment 133400 [details]
Fedora 16: installer output with --verbose

Fedora 16:

The installer gets two exceptions. See log. 

And unlike other installations, it does not update the application launcher menu.
Comment 10 tbrunhoff 2013-04-09 18:29:04 UTC
Created attachment 133401 [details]
Fedora 16: three log files with exceptions

running netbeans 201304042355 also gets exceptions, and these seem to get in the way of restoring settings, even though I removed contents of ~/.netbeans/dev and ~/.cache/netbeans which was a solution for Bug 228391.
Comment 11 tbrunhoff 2013-04-09 18:34:50 UTC
If I restore a ~/.netbeans/dev and ~/.cache/netbeans created during a run of nb 201303192300 (i.e., settings restored under that version), it appears that nb 201304042355 works.

So there is something wrong with nb 201304042355, but I don't know enough to find out.  Please advise.
Comment 12 Jiri Rechtacek 2013-04-10 14:51:36 UTC
(In reply to comment #7)
> Fedora 18:
> 
> This bug
>     https://bugzilla.redhat.com/show_bug.cgi?id=885905
> 
> Suggests that libfontconfig.so was not available. Checking I found that
> fontconfig-2.10.2-2.fc18.x86_64 was installed.
> 
> So I installed fontconfig-2.10.2-2.fc18.i686 too and the installer now works.
> 
> That seems to solve the fedora 18 installer problems, but as I mentioned above,
> it does not address the lockups on fedora 16.  That's next.

Good to hear it.
Comment 13 Jiri Rechtacek 2013-04-10 14:54:35 UTC
(In reply to comment #8)
> Fedora 16:
> Checking, I found that both of these are already installed:
>     fontconfig-2.8.0-8.fc16.x86_64
>     fontconfig-2.8.0-8.fc16.i686
> 
> but based on recent experiences, I suspect that the contents of ~/.netbeans/dev
> and ~/.cache/netbeans can confuse the installer and NB, so I removed both and
> the installer now works.
The installer cannot by affected by content of ~/.netbeans/dev nor ~/.cache/netbeans any way. But the IDE can, of course.
Comment 14 tbrunhoff 2013-04-10 15:02:16 UTC
Well, it works for me, now, but that's not much of a solution.

It would seem that the installer on f18 should check for prerequisites, like fontconfig.

For f16, my system has been running for quite a while, upgraded NB incrementally since about 2008. I am sure there is some cruft out there that caused this problem. I'm sure you folks have tested the installer well for new installs. The risk is that return customers run in to funky problems like this.

If you have no other ideas about how to find this problem (or suggestions for me to collect next time something funky happens), then this should probably be closed.