Précédent   Forum des professionnels en informatique > Logiciels > Solutions d'entreprise > Business Intelligence > BIRT
BIRT Forum d'entraide sur BIRT (Business Intelligence and Reporting Tools). Avant de poster --> FAQ BIRT,Tutoriels BIRT
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 31/10/2007, 10h46   #1
Invité de passage
 
Inscription : avril 2007
Messages : 6
Détails du profil
Informations forums :
Inscription : avril 2007
Messages : 6
Points : 3
Points : 3
Par défaut Problème de génération de pdf avec Birt

Bonjour, lorsque je veux générer un pdf avec birt en récupérant des données j'ai cette erreur, quelqu'un peut il m'aider?

31 oct. 2007 10:11:17 org.eclipse.birt.report.engine.executor.ExecutionContext evaluate
GRAVE: TypeError: [JavaPackage web] n'est pas une fonction (<inline>#2)
org.mozilla.javascript.EcmaError: TypeError: [JavaPackage web] n'est pas une fonction (<inline>#2)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3240)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3230)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3246)
at org.mozilla.javascript.ScriptRuntime.typeError1(ScriptRuntime.java:3258)
at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3317)
at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3308)
at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2057)
at org.mozilla.javascript.gen.c4._c0(<inline>:2)
at org.mozilla.javascript.gen.c4.call(<inline>)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:304)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2769)
at org.mozilla.javascript.gen.c4.call(<inline>)
at org.mozilla.javascript.gen.c4.exec(<inline>)
at org.eclipse.birt.core.script.ScriptContext.eval(ScriptContext.java:223)
at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:571)
at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:550)
at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.handleJSInternal(ScriptExecutor.java:60)
at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.handleJS(ScriptExecutor.java:44)
at org.eclipse.birt.report.engine.script.internal.ReportScriptExecutor.handleInitialize(ReportScriptExecutor.java:30)
at org.eclipse.birt.report.engine.api.impl.EngineTask.loadDesign(EngineTask.java:1083)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:89)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:71)
at Main.main(Main.java:85)


*******
Voilà mon script de mon report :

dossierDoc = new Packages.web.doc ();
nabolo est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 14/11/2007, 18h53   #2
Koo
Membre du Club
 
Avatar de Koo
 
Inscription : avril 2004
Messages : 76
Détails du profil
Informations forums :
Inscription : avril 2004
Messages : 76
Points : 69
Points : 69
Tu l'exécutes en prévisualisation ? Dans un programme qui utilise l'API ?

LE bout de code que tu as indiqué appelle une méthode retournant une liste (les données) ?

Tu peux aussi regarder par ici si ce n'est pas déjà fait : http://www.eclipse.org/birt/phoenix/...teddatasource/
Koo est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 15/11/2007, 09h36   #3
Membre régulier
 
Inscription : novembre 2005
Messages : 173
Détails du profil
Informations forums :
Inscription : novembre 2005
Messages : 173
Points : 84
Points : 84
Salut!
Birt ne voit pas le package web. Soit ils ne sont pas dans le même class loader, soit web.doc n'existe pas du tout.
FredKéKé est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 06h53.


 
 
 
 
Partenaires

Hébergement Web