@Compizfox, set JRE 11 as the default:
sudo archlinux-java set java-11-openjdk
Git Clone URL: | https://aur.archlinux.org/portfolio-performance-bin.git (read-only, click to copy) |
---|---|
Package Base: | portfolio-performance-bin |
Description: | A simple tool to calculate the overall performance of an investment portfolio. |
Upstream URL: | https://www.portfolio-performance.info |
Keywords: | finance investing money |
Licenses: | EPL-1.0 |
Submitter: | nicolaischmid |
Maintainer: | nicolaischmid (whnr, tuxxx) |
Last Packager: | tuxxx |
Votes: | 30 |
Popularity: | 0.113087 |
First Submitted: | 2019-09-30 12:56 (UTC) |
Last Updated: | 2025-06-06 15:02 (UTC) |
@Compizfox, set JRE 11 as the default:
sudo archlinux-java set java-11-openjdk
I'm having problems with opening/saving files.
Opening existing portfolios simply doesn't work (it hangs on "Loading ***.xml"), and when trying to save a new portfolio, I get the following error:
java.lang.NoClassDefFoundError: Could not initialize class com.thoughtworks.xstream.converters.collections.TreeMapConverter
Could not initialize class com.thoughtworks.xstream.converters.collections.TreeMapConverter
Since it is necessary to properly render the pie chart, "webkit2gtk" should be added to the dependencies.
Can you please add
Categories=Office;Finance;
(or whatever seems appropriate)
to the .desktop file? Thank you!
Anyone else still having problems with the charts (they only load once after opening the program and afterwards are blank)?
The upstream bug report doesn't seem to have much traction https://github.com/buchen/portfolio/issues/2193
@selion and @alaut I had a similar problem. For me using JRE 11 did not work. My solution was to delete .eclipse and .PortfolioPerformance in the home directory.
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:650)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
at org.eclipse.equinox.launcher.Main.main(Main.java:1434)
@selion I ran into the same problem but changing my default JRE help.
In my particular case:
sudo archlinux-java set java-11-openjdk
Seems like dependencies are missing?
java.lang.RuntimeException: Application "org.eclipse.e4.ui.workbench.swt.E4Application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:252)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:33)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
at org.eclipse.equinox.launcher.Main.main(Main.java:1434)
Temporarily, downgrading webkit2gtk solves the issue of charts.
Pinned Comments
tuxxx commented on 2024-04-16 14:10 (UTC) (edited on 2024-04-16 14:11 (UTC) by tuxxx)
Make sure to import Andreas Buchens gpg key with
jesusignacio commented on 2023-01-29 21:37 (UTC) (edited on 2023-01-29 21:39 (UTC) by jesusignacio)
@emiltb just set a newer Java environment. For example:
sudo archlinux-java set java-11-opendjk
In case you need to know which ones do you have, run:sudo archlinux-java status