geogebra fails to start due to Java casting problem

Bug #1761977 reported by Péter Prőhle
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
geogebra (Debian)
Fix Released
Unknown
geogebra (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned

Bug Description

geogebra fails to start due to Java casting problem

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: geogebra 4.0.34.0+dfsg1-4
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity:Unity7:ubuntu
Date: Sat Apr 7 13:36:55 2018
InstallationDate: Installed on 2017-07-13 (267 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
SourcePackage: geogebra
UpgradeStatus: Upgraded to bionic on 2018-03-09 (28 days ago)

Revision history for this message
Péter Prőhle (prohlep) wrote :
Revision history for this message
Péter Prőhle (prohlep) wrote :

just an other trial with the same result, see the attachment

Revision history for this message
Felix Schoppe (feschoppe) wrote :

This problem also affects me. I have a fresh install of 18.04 and I get the same error when trying to start geogebra.

Revision history for this message
Péter Prőhle (prohlep) wrote : Re: [Bug 1761977] Re: geogebra fails to start due to Java casting problem

> This problem also affects me. I have a fresh install of 18.04 and I get
> the same error when trying to start geogebra.

Thanks for your valuable contribution, because my concern was that perhaps my problem is caused by the fact, that my instal is NOT a fresh install of 18.04 but a distribution upgrade, and hence I just considered to try a clean fesh install. Thanks, you saved my time!

Revision history for this message
Johannes Unruh (kleines-o) wrote :

I can confirm this issue, having the same problem in Ubuntu Mate 18.04 Beta2.

this is the terminal output:

GeoGebra 4.0.34.0 (Debian version 4.0.34.0+dfsg1-4) 22 June 2012 Java 10.0.1
*** Message from [geogebra.main.Application.setUpLogging]
 /tmp/GeoGebraLog_bixyoyudww.txt

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in geogebra (Ubuntu):
status: New → Confirmed
Changed in geogebra (Debian):
status: Unknown → Confirmed
Revision history for this message
Giovanni Mascellani (giomasce) wrote :

I have fixed this bug in Debian.

Revision history for this message
Péter Prőhle (prohlep) wrote :

> I have fixed this bug in Debian.

Tanks!

Changed in geogebra (Debian):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package geogebra - 4.0.34.0+dfsg1-5

---------------
geogebra (4.0.34.0+dfsg1-5) unstable; urgency=medium

  * Remove some leftovers of TopGit, which is officially not used anymore.
  * Fix crash with OpenJDK 9. (closes: #882550, LP: #1761977)
  * Bump Standards-Version to 4.1.4, with small updates, and make everything
    lintian clean.
  * Update Vcs-* after migration to salsa.

 -- Giovanni Mascellani <email address hidden> Mon, 30 Apr 2018 21:04:33 +0200

Changed in geogebra (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Davide (tarski10) wrote :

Will this bug be fixed in Ubuntu 18.04 LTS?

Revision history for this message
Giovanni Mascellani (giomasce) wrote :

I don't think I will have time to care about that in the near future. If someone wants to try, here is what has to be done: https://wiki.ubuntu.com/StableReleaseUpdates

Revision history for this message
Péter Prőhle (prohlep) wrote :

> Will this bug be fixed in Ubuntu 18.04 LTS?
>
> Title:
> geogebra fails to start due to Java casting problem
>
> Status in geogebra package in Ubuntu:
> Fix Released
> Status in geogebra package in Debian:
> Fix Released

Bad status information: "Status in geogebra package in Ubuntu: Fix
Released", ... because it is NOT fixed, the error is still there:

May 23, 2018 1:56:45 PM
STDERR: java.lang.ClassCastException:
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast
to java.base/java.net.URLClassLoader

While accordint to the suggested
https://wiki.ubuntu.com/StableReleaseUpdates
description, "2. When 2.1. High-impact bugs ... Bugs which represent
severe regressions from the previous release of Ubuntu. This includes
packages which are totally unusable, like being uninstallable or crashing
on startup. ...".

Since the Geogebra fails to start successfully, I think this is a
"High-impact bug", ... what can not wait until 18.10 --- espcially if the
fix in Debian is already released.

I would be happy to know, how to import a bug fix from Debian to Ubuntu,
but I have no kind of experience in handling official release packages.

Reading fully the suggested https://wiki.ubuntu.com/StableReleaseUpdates
description, I have still NO IDEA how to do it.

What is faster, either to show me how I could do it, or to do it without
me?

Anyways, I thank for everybody, who collectively give us the free
softwares as a high quality present.

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Péter, or anyone else affected,

Accepted geogebra into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/geogebra/4.0.34.0+dfsg1-6~18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in geogebra (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Péter Prőhle (prohlep) wrote : Re: [Bug 1761977] Re: geogebra fails to start due to Java casting problem

"GeoGebra 4.0.34.0 (Debian version 4.0.34.0+dfsg1-6) 22 June 2012 Java
11.0.1" starts correctly in my Cosmic 18.10 Ubuntu, ... sorry I have no
18.04 installation to try out.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package geogebra - 4.0.34.0+dfsg1-6~18.04.1

---------------
geogebra (4.0.34.0+dfsg1-6~18.04.1) bionic; urgency=medium

  * Backport from Cosmic:
    - fix crash with OpenJDK 11. (LP: #1775244, LP: #1814133)

geogebra (4.0.34.0+dfsg1-6) unstable; urgency=medium

  * Team upload.
  * Add patch to parse java version more generically (Closes: #904493)

geogebra (4.0.34.0+dfsg1-5) unstable; urgency=medium

  * Remove some leftovers of TopGit, which is officially not used anymore.
  * Fix crash with OpenJDK 9. (closes: #882550, LP: #1761977)
  * Bump Standards-Version to 4.1.4, with small updates, and make everything
    lintian clean.
  * Update Vcs-* after migration to salsa.

 -- Tiago Stürmer Daitx <email address hidden> Wed, 20 Mar 2019 07:12:48 +0000

Changed in geogebra (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Péter Prőhle (prohlep) wrote : Re: Bug 1761977

Many thanks,
  Péter.

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.