cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with the Reports section

moakra
Champ in-the-making
Champ in-the-making
Hi,

I am new to using Activiti. After logging in with user-password "kermit", I chose the section Reports then any of the options given, let's say Process Instance Overview.I got a red box in which it is written:

        Problem evaluating script: ReferenceError: Import Package is not defined in at line 3

Here are the first lines of the log file entirely attached to my post:

SEVERE: Terminal error:
com.vaadin.event.ListenerMethod$MethodException: Invocation of method valueChange in org.activiti.explorer.ui.reports.RunReportsPage$1 failed.
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530)
   at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
   at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)

I don't have any idea how to fix it. Any help ? Smiley Sad

Thank you
4 REPLIES 4

martin_grofcik
Confirmed Champ
Confirmed Champ
Did you try to change JDK? (1.6-1.7 there are differences in the reports implementation)

moakra
Champ in-the-making
Champ in-the-making
Hi,

I have just tested with JDK 1.7 and now it works.

Thank you Smiley Happy

fussel
Champ on-the-rise
Champ on-the-rise
Hey,

What also works if you want tu use JDK 1.8 is to add this line before the imports: load("nashorn:mozilla_compat.js");See here: http://www.jorambarrez.be/blog/2014/04/24/running-activiti-on-jdk8/
At least it worked out perfectly for me 🙂

iman95
Champ in-the-making
Champ in-the-making
Hi,
I'm new to Activiti.
I have the same situation here.
What file to edit?
Can you elaborate how to do it?

Regards