Netbeans 8.1 crash in splash screen

Bug #1760907 reported by Phelps Scofield
72
This bug affects 11 people
Affects Status Importance Assigned to Milestone
netbeans (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The splash screen displayed normally but disappeared during the step that turned on the modules.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: netbeans 8.1+dfsg3-4
ProcVersionSignature: Ubuntu 4.15.0-13.14-lowlatency 4.15.10
Uname: Linux 4.15.0-13-lowlatency x86_64
ApportVersion: 2.20.9-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Apr 3 12:23:03 2018
InstallationDate: Installed on 2018-03-29 (4 days ago)
InstallationMedia: Ubuntu-Studio 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180328)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=pt_BR:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: netbeans
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Phelps Scofield (phelpsscofield) wrote :
Revision history for this message
Nish Aravamudan (nacc) wrote :

Is this the same as LP: #1763091 ? If so, I will dupe it (as I'm hoping to resolve that today).

Changed in netbeans (Ubuntu):
status: New → Incomplete
Revision history for this message
Phelps Scofield (phelpsscofield) wrote :

No, I'm already using java 8 and I uninstalled open-jdk9 and 8, but netbeans is just the splash screen

Revision history for this message
Phelps Scofield (phelpsscofield) wrote :

My netbeans crash in Turning on modules, in the splash screen.

Revision history for this message
Alexander (neoexpert) wrote :

It crashes even after fresh installation of Ubuntu 18.04 and afterwards netbeans installation with

sudo apt install netbeans.

Some other Java programs (at least eclipse) do not start too.

netbeans 8.2 does start, but after opening a maven project there are no files displayed in the navigator-view

Revision history for this message
Manish (manish.qtm) wrote :

same issue fetching after upgrade new ubuntu version. netbeans crash in Turning on modules, in the splash screen.

There have any solution?

Revision history for this message
ais523 (ais523) wrote :

I've been looking into this bug myself (Launchpad's duplicate finder isn't suggesting this bug as a duplicate target so it's been reported several times by many people, including me). My findings are summarised in #1776724.

Unfortunately I don't know what's causing it, but there might be enough information there to go on.

Revision history for this message
ais523 (ais523) wrote :

Although the original bug report was incomplete, there's more complete information at the duplicates.

Marking as confirmed because the bug affects multiple users.

Changed in netbeans (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
ais523 (ais523) wrote :

Upstream bug report: https://issues.apache.org/jira/browse/NETBEANS-756?jql=project%20%3D%20NETBEANS%20AND%20text%20~%20crash

(I can't link this to the Launchpad report the usual way because Netbeans has changed bug tracker, and Launchpad will only acknowledge the old tracker's URL.)

Netbeans apparently consider this to not be a bug (!), on the basis that it expects some of its folders which are currently stored under /usr/share to be user-writable. Presumably, this is a packaging issue; if the software is going to assume that directories are user-writable we're going to have to move them to dotfiles or the like. It would help to get clarification on exactly which parts of the directory are meant to be writable; "all of it" would a) be horrible practice and b) make packaging it very difficult, because a large amount of fixed content is meant to be stored there.

Revision history for this message
ais523 (ais523) wrote :

Re comment 2, I believe there are two bugs here, but this is the important one. People are seeing a crash accompanied by a warning about a Java 9 deprecation, and assuming they're connected, and thus are reporting the Java 9 deprecation (#1763091). However, the crash occurs even without the use of Java 9 (this bug), and in an identical way regardless of which version of Java is used.

It's not clear what the most useful way to track this in the bug tracker would be. Marking them as duplicates would probably not be technically correct, but might be most useful for end users (who are likely to see the two bugs at the same time). At the very least, there should be clear pointers back and forth.

Revision history for this message
agent 8131 (agent-8131) wrote :

This is going to sound like a strange fix but I've had it work on 2 systems:

download: libequinox-osgi-java_3.8.1-10_all.deb
https://packages.ubuntu.com/artful/all/libequinox-osgi-java/download

Install it with dpkg or similar)
Run netbeans. It should load.
Run sudo apt upgrade to get the bionic version back.
Run netbeans. For me it still works.

In other words something about running with 3.8.1-10 fixes whatever the issue is.

Revision history for this message
elatllat (elatllat) wrote :

Those packages only have 3/(48 and 21) files in common.

vimdiff <(dpkg-deb -c libequinox-osgi-java_3.8.1-10_all.deb | perl -pe 's/.* //g;s/^\.\//\//g' | sort) <(dpkg-query -L libequinox-osgi-java | sort)

Revision history for this message
Phelps Scofield (phelpsscofield) wrote :

Ubuntu and derivatives from version 18.04 is only compatible with version 8.2 of Netbeans, so I solved this problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.