Bonjour à toutes et à tous,
Je viens de faire une installation à partir d'un serveur fraîchement installé :
[ul]
[li]Squash TM : 1.16.0 Release[/li]
[li]OS : CentOS Linux release 7.4.1708[/li]
[li]MySQL : 5.5[/li]
[li]JVM : 1.8[/li]
[/ul]
L'application fonctionne à peu près correctement sauf la partie édition de rapport qui m'affiche l'anomalie suivante :
[code]
Error (status : 500)
error : Internal Server Error
type : java.lang.ArrayIndexOutOfBoundsException
time : Fri Oct 06 15:34:40 CEST 2017
message : 0
java.lang.ArrayIndexOutOfBoundsException: 0
at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
at sun.font.Font2D.getFontMetrics(Font2D.java:415)
at java.awt.Font.defaultLineMetrics(Font.java:2176)
at java.awt.Font.getLineMetrics(Font.java:2246)
at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.determineLeading(SimpleTextLineWrapper.java:390)
at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.getGeneralFontInfo(SimpleTextLineWrapper.java:342)
at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.createFontInfo(SimpleTextLineWrapper.java:278)
at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.start(SimpleTextLineWrapper.java:240)
at net.sf.jasperreports.engine.fill.TextMeasurer.measure(TextMeasurer.java:536)
at net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(JRFillTextElement.java:672)
at net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:821)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:352)
at net.sf.jasperreports.engine.fill.JRFillFrame.prepare(JRFillFrame.java:243)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:352)
at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:421)
at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:396)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillBandNoOverflow(JRVerticalFiller.java:435)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnHeader(JRVerticalFiller.java:479)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:258)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:122)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:555)
at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:414)
at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:738)
at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:58)
at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:216)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[/code]
Ca sent le problème côté MySQL...
Je n'ai rien paramétré de ce coté là de particulier.
Y a t'il une spécification particulière du paramétrage de MySQL ?
Merci par avance pour vos lumières / pistes.
;)
Erreur 500 sur l'édition de rapport
Erreur 500 sur l'édition de rapport
Bonjour,
Afin de comprendre le problème que vous rencontrez, pouvez vous me dire s'il vous plaît si vous avez suivi les différentes étapes d'installation présentées à la page suivante :
[url=https://sites.google.com/a/henix.fr/wik ... stallation]Installation_CentOS[/url]
Notamment, avez vous bien exécuté la commande suivante :
/usr/share/doc/squash-tm/database-scripts/[script sql pour la full install de la version 1.16]
Merci d'avance pour votre réponse. Bonne journée à vous.
Cordialement.
Afin de comprendre le problème que vous rencontrez, pouvez vous me dire s'il vous plaît si vous avez suivi les différentes étapes d'installation présentées à la page suivante :
[url=https://sites.google.com/a/henix.fr/wik ... stallation]Installation_CentOS[/url]
Notamment, avez vous bien exécuté la commande suivante :
/usr/share/doc/squash-tm/database-scripts/[script sql pour la full install de la version 1.16]
Merci d'avance pour votre réponse. Bonne journée à vous.
Cordialement.
-
roshen.perera
- Messages : 7
- Inscription : mer. août 15, 2018 3:26 am
internal error 500 error.
This is regarding a server migration. I have configured same server in new instance and installed Squash tm successfully. At the first time we can login with default(admin:admin) credentials. But after restoring the mysql backup from previous server it will get the internal error 500 error.
Following are the versions that i have installed,
-mysql Ver 14.14 Distrib 5.5.61, for debian-linux-gnu (x86_64) using readline 6.3 (previous version mysql Ver 14.14 Distrib 5.5.47)
-Squesh Version 1.18.1
-Open JDK 8
Following are the versions that i have installed,
-mysql Ver 14.14 Distrib 5.5.61, for debian-linux-gnu (x86_64) using readline 6.3 (previous version mysql Ver 14.14 Distrib 5.5.47)
-Squesh Version 1.18.1
-Open JDK 8
- Pièces jointes
-
- squash.JPG (27.25 Kio) Consulté 4275 fois
internal error 500 error.
Hello,
Did you change squash version during the migration ?
Can you check database informations in the startup file ?
Best regard,
Yamina
Did you change squash version during the migration ?
Can you check database informations in the startup file ?
Best regard,
Yamina