Bug 27483 - PdfSam don't works correctly, I can't save the changed settings
Summary: PdfSam don't works correctly, I can't save the changed settings
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Java Stack Maintainers
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2020-10-29 13:01 CET by Jose Manuel López
Modified: 2021-02-15 17:56 CET (History)
2 users (show)

See Also:
Source RPM: pdfsam-2.2.4e-6.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Jose Manuel López 2020-10-29 13:01:15 CET
Description of problem: I change the language to spanish, and I try save the change but appears a problem with java.


Version-Release number of selected component (if applicable): Mageia 8 Beta and Pdfsam 2.2.4.


How reproducible: Install pdfsam from repositories. And change options in settings. Save and the problem appears.


Steps to Reproduce:
1. Install PdfSam in Mageia 8.
2. Change the settings.
3. The problem appears. In log appears this:

12:49:13,917 ERROR  Unable to load extended libraries.
java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
	at org.pdfsam.guiclient.GuiClient.loadExtendedLibraries(GuiClient.java:107)
	at org.pdfsam.guiclient.GuiClient.main(GuiClient.java:75)
12:49:13,935 INFO   Starting PDF Split and Merge enhanced Ver. 2.2.4e
12:49:13,968 INFO   Loading configuration..
12:49:14,026 INFO   Getting language...
12:49:14,040 INFO   Setting look and feel...
12:49:14,045 INFO   Setting logging level...
12:49:14,046 INFO   Thumbnails size set to 190
12:49:14,048 INFO   Thumbnails high quality false
12:49:14,173 INFO   Logging level set to DEBUG
12:49:14,302 INFO   Encrypt plugin loaded.
12:49:14,332 INFO   Split plugin loaded.
12:49:14,368 INFO   Visual reorder plugin loaded.
12:49:14,384 INFO   Merge/Extract plugin loaded.
12:49:14,396 INFO   Decrypt plugin loaded.
12:49:14,416 INFO   Viewer options plugin loaded.
12:49:14,442 INFO   Visual document composer plugin loaded.
12:49:14,456 INFO   Frontpage and Addendum plugin loaded.
12:49:14,469 INFO   Rotate plugin loaded.
12:49:14,480 INFO   Document Info plugin loaded.
12:49:14,486 INFO   Unpack plugin loaded.
12:49:14,497 INFO   Alternate Mix plugin loaded.
12:49:14,597 INFO   PDF Split and Merge enhanced Ver. 2.2.4e started in 0 seconds
12:49:14,598 INFO   Loading user interface configuration..
12:49:19,585 DEBUG  Checking if a new version is available.
12:49:20,071 INFO   New version available.
12:49:27,858 ERROR  Error: 
java.lang.NullPointerException
	at org.pdfsam.guiclient.gui.panels.JSettingsPanel$4.actionPerformed(JSettingsPanel.java:399)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6400)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
12:50:36,132 DEBUG  Checking if a new version is available.
12:50:36,611 INFO   New version available.
Comment 1 Jose Manuel López 2020-10-29 13:07:53 CET
Perhaps PDFSam It should update to new the version???
Comment 2 Jose Manuel López 2020-10-29 13:23:42 CET
Trying the new version, I confirm that it have less funcionality, that now there is that pay.
Comment 3 Jose Manuel López 2020-10-29 13:35:38 CET
And I tried to do the same in Libreoffice Draw. Perhpas we should leave PdfSam in Mageia 8??
Comment 4 Aurelien Oudelet 2020-10-31 18:02:35 CET
Hi, thanks for reporting this bug.

Version in Cauldron:
$ urpmq -i pdfsam

Name        : pdfsam                                                                                                                                       
Version     : 2.2.4e
Release     : 6.mga8
Group       : Publishing
Size        : 16864088                     Architecture: noarch
Source RPM  : pdfsam-2.2.4e-6.mga8.src.rpm
URL         : http://www.pdfsam.org
Summary     : PDF Split and Merge enhanced
Description :
PDFsam is a simple, platform independent software designed to split and merge
pdf files. It's stable, completely free and it should cover most of your
needs.

This is the enhanced version of PDFsam.
Visit http://www.pdfsam.org for more information.

It reports to be the enhanced version of the tool.
Meanwhile, upstream reports to be at version 4.2.0 and the enhanced version seems to be paying.
Basic version is free and open-source, at version 4.2.0

Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Source RPM: PdfSam => pdfsam-2.2.4e-6.mga8.src.rpm
Assignee: bugsquad => java
CC: (none) => ouaurelien, rverschelde
Keywords: (none) => Triaged

Comment 5 Jose Manuel López 2021-02-15 17:09:50 CET
Hi,

I don't see this package in Mageia 8. 

Has it been removed as obsolete?

If it is yes, we can close bug?

Greetings!
Comment 6 Rémi Verschelde 2021-02-15 17:56:34 CET
Yes, it was dropped as it doesn't build anymore with the current Java stack.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.