| Summary: | Facturae (3rd party) n Mageia 8 Beta gives Java errors. | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jose Manuel López <joselp> |
| Component: | RPM Packages | Assignee: | Java Stack Maintainers <java> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins, fri, mageia, ouaurelien |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | java-1.8.0-openjdk-1.8.0.272.b02-0.0.ea.4.mga8.src.rpm, java-11-openjdk-11.0.9.6-0.0.ea.1.mga8.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Jose Manuel López
2020-10-15 16:55:27 CEST
In Mageia 7 this application works correctly. Greetings! Java is cooking in our Cauldron. Test later :) CC:
(none) =>
fri @Jose
You do not say which version of Java you have (you always should give the exact version of packages you are reporting on):
java-1.8.0-openjdk
java-11-openjdk
Whichever one you have, try UNinstalling it, and installing the other one. And report back.
I do not know how much of the long log you reference is expected or not. Indeed, can you say that the application "does not work" (the log implies it did); or that it worked but with the java errors? Please clarify this.
Only the last few lines mention Java:
[DEBUG] ConnectionManager --> releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
[INFO ] FacturaeManager --> Commit done!
Exception in thread "Thread-3" java.lang.NullPointerException: inStream parameter is null
at java.base/java.util.Objects.requireNonNull(Objects.java:246)
at java.base/java.util.Properties.load(Properties.java:403)
at es.mityc.appfacturae.ui.windows.GenerateInvoice321Window.loadConfiguration(GenerateInvoice321Window.java:651)
at es.mityc.appfacturae.ui.windows.GenerateInvoice321Window.<init>(GenerateInvoice321Window.java:177)
at es.mityc.appfacturae.ui.windows.GenerateInvoice321Window.getInstance(GenerateInvoice321Window.java:159)
at es.mityc.appfacturae.ui.windows.GenerateInvoice321Window.getInstance(GenerateInvoice321Window.java:154)
at es.mityc.appfacturae.ui.windows.MainWindow.generateAction(MainWindow.java:841)
at es.mityc.appfacturae.ui.windows.MainWindow.access$900(MainWindow.java:121)
at es.mityc.appfacturae.ui.windows.MainWindow$5$1.run(MainWindow.java:491)
at java.base/java.lang.Thread.run(Thread.java:834)
Is this what you are reporting?
> appears java bug in konsole
> Java is cooking in our Cauldron. Test later :)
So when you get a Java update, please re-try this and report back.Summary:
Facturae no works correctly in Mageia 8 Beta =>
Facturae (3rd party) n Mageia 8 Beta gives Java errors. Ok,Ok. I have checked that I have installed java 11. I have uninstalled java 11 and I have tried with java 1.8.2 and the application don't open. With java 11 the application does open , but I can't generate a invoice because the bug java appears. Thank you for this clarification; and for trying the 'other' Java. Let us leave this bug with version 11. In comment 3, the last lines before the Java errors imply that the the invoice was generated "[INFO ] FacturaeManager --> Commit done!", but immediately it then went wrong. Assigning this to the Java team. If they know Java is due for updates, they may well repeat Morgan's advice to wait for that. Assignee:
bugsquad =>
java Hi, I have tried Mageia 8 Beta 2 on a clean installation, and issue is still there. Greetings!! Have you asked the program author what java is required? Also, do you have a link to upstream except the download link? The author of the programme is the government of Spain.......(no comments) Here are the programme requirements: https://www.facturae.gob.es/formato/Paginas/descarga-aplicacion-escritorio.aspx The programm is required for the send of invoices to Public Administrations,city councils, delegations, etc. The author of the programme is the government of Spain.......(no comments) Here are the program requirements: https://www.facturae.gob.es/formato/Paginas/descarga-aplicacion-escritorio.aspx The program is required for the send of invoices to Public Administrations,city councils, delegations, etc. is it compatible with java 11 ? CC:
(none) =>
mageia I guess your government like mine have some commitment of interoperability? I guess you could ping the responsible if anything does not work with current java versions. According to https://www.facturae.gob.es/formato/Paginas/descarga-aplicacion-escritorio.aspx it seems it supports JRE 1.8. @Jose, default new installation of Mageia 8 Beta 2 installs JRE 11, not JRE 1.8. I suggest: # urpmi java-1.8.0-openjdk CC:
(none) =>
ouaurelien A problem is that we have decided to drop 1.8 (aka 8) in Mageia 8 (?) As a backup solution maybe easiest is to install VirtualBox and elder Mageia or other OS in it... But really, do ask for update of that program! ( Thanks for the heads up, I too have to check that the java based invoicing program I use works with JRE 11 ! (fribok) ) This is impresionant!!.... I have called to the two phones that appears on contact web. None works..... I am alone in this.. I don't know where go to report this bug upstream... What a government disaster !!! > I am alone in this. That would be strange. Try to get in contact with other users and find a solution and use pressure to government. https://www.google.com/search?q=mageia+facturae+java https://www.google.com/search?q=Linux+facturae+java https://www.google.com/search?q=Linux+facturae+java+espana Well i see you are at some of the hits already Generally this is weird - Do they really have *legal* right to demand you use their custom method for delivering invoice?! I would print an old style paper invoice and stuff it to nearest office if they do not accept pdf... Really... for law, the gobernment ordered that the invoices to public administrations are sent way electronic, and they have created this program for bussiness that haven't a program integration in their ERps. But yes, this is mandatory... Here It is the source code of application: https://www.facturae.gob.es/formato/Paginas/descarga-aplicacion-escritorio.aspx Since they've stated "Technical support for the Facturae application for generating electronic invoices is no longer provided.", you may need to keep an older Mageia release installed (for example in a VirtualBox guest), just for that application. CC:
(none) =>
davidwhodgins True, I hadn't noticed that they indicate that they no longer support the application. I give the bug for closed because obviously, we cannot load Mageia the support of a non-distribution application.. I will review other options so as not to continue with an un supported program, for the time being I continue with Mageia 8 Beta 2 and a copy of the 7 in Virtualbox until I find an acceptable solution. Thank you for all the time and dedication to resolving these issues!! Mageia 8 already looks spectacular!! Resolution:
(none) =>
INVALID Hilarious they tell you to use a method they do not support... Yes Mageia 8 is looking great :) |