Skip to main content



      Home
Home » Archived » BIRT » Script engine error: TypeError: [JavaPackage org.eclipse.birt.util.VarianceFactory] is not a functio
Script engine error: TypeError: [JavaPackage org.eclipse.birt.util.VarianceFactory] is not a functio [message #63780] Tue, 02 August 2005 21:23 Go to next message
Eclipse UserFriend
When I tried to run a scripted data source I encounter the following :

A Birt exception occurred.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Data Engine
Plug-in ID:org.eclipse.birt.data
Version:1.0.0
Error Code:data.engine.JSScriptInvalid
Error Message:Invalid Javascript expression. Source: DataSet:Data
Set.open, line: 0, Expression:
function_prefix_1123029193460();function
function_prefix_1123029193460(){count = 0;
vf = new Packages.org.eclipse.birt.util.VarianceFactory();
v = vf.createVariance();}
Script engine error: TypeError: [JavaPackage
org.eclipse.birt.util.VarianceFactory] is not a function. (DataSet:Data
Set.open#1)


I copied all my classes into ActuateBIRT1\BIRT Report
Designer\eclipse\plugins\org.eclipse.birt.report.viewer_1.0. 0\birt\WEB-INF\c
lasses\org\eclipse\birt\util

What else do I need to setup ?
Re: Script engine error: TypeError: [JavaPackage org.eclipse.birt.util.VarianceFactory] is not a fun [message #66283 is a reply to message #63780] Tue, 09 August 2005 18:22 Go to previous message
Eclipse UserFriend
Does VarianceFactory call any other class that is external to your Package?
If so make sure all the jars are in the lib under web-inf

Jason Weathersby
BIRT PMC

"JTan" <jamestanms@hotmail.com> wrote in message
news:dcp6au$6u0$1@news.eclipse.org...
> When I tried to run a scripted data source I encounter the following :
>
> A Birt exception occurred.
> Plug-in Provider:Eclipse.org
> Plug-in Name:BIRT Data Engine
> Plug-in ID:org.eclipse.birt.data
> Version:1.0.0
> Error Code:data.engine.JSScriptInvalid
> Error Message:Invalid Javascript expression. Source: DataSet:Data
> Set.open, line: 0, Expression:
> function_prefix_1123029193460();function
> function_prefix_1123029193460(){count = 0;
> vf = new Packages.org.eclipse.birt.util.VarianceFactory();
> v = vf.createVariance();}
> Script engine error: TypeError: [JavaPackage
> org.eclipse.birt.util.VarianceFactory] is not a function. (DataSet:Data
> Set.open#1)
>
>
> I copied all my classes into ActuateBIRT1\BIRT Report
> Designer\eclipse\plugins\org.eclipse.birt.report.viewer_1.0. 0\birt\WEB-INF\c
> lasses\org\eclipse\birt\util
>
> What else do I need to setup ?
>
>
Previous Topic:BIRT charts really sluggish on Linux
Next Topic:Highlights on Chart
Goto Forum:
  


Current Time: Sun Jun 08 07:29:30 EDT 2025

Powered by FUDForum. Page generated in 0.04032 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top