instantreality forum
news: Welcome to the instantreality forums!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 17, 2018, 02:32:25 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: No evaluator in Script  (Read 6700 times)
christoph
Newbie
*
Posts: 8


View Profile
« on: October 01, 2011, 10:45:08 am »

Hi all

I have got following problem on a Windows XP machine (on Windows 7 the problems seems not to appear).

I've got an X3D protoype in an external file, additionally there is a <ProtoInstance> of that prototype in that file.

I use the prototype in two ways:

Some parts of the scene refer to the prototype via "ExternProtoDeclare" and "ProtoInstance", other parts load the prototype dynamically via "Browser.createVrmlFromUrl()".

I get following errors:

FATAL   Avalon    There is already a SrrConsoleDispatcher NodeType registered in SrrControl
FATAL   Avalon    There is already a SrrConsoleDispatcher NodeType registered in SrrControl
FATAL   ECMASpt    Cannot create local Runtime
WARNING   Avalon    Cannot create ScriptEvaluator for Script SrrConsoleDispatcherScript
FATAL   Avalon    No evaluator in Script/SrrConsoleDispatcherScript
FATAL   Avalon    No evaluator in Script/SrrConsoleDispatcherScript
FATAL   Avalon    No evaluator in Script/SrrConsoleDispatcherScript

and as a consequence some of the instances of the prototype "SrrConsoleDispatcher" do not work.

Has anybody an idea, what could be the reason?

Regards
Christoph

P.S.: I attached a .zip file with the scene: if you like, you may open simulrr/FrameMain/Main_instant.x3d and click on the button "single-mode" in the HUD, which appears at the beginning -> then the error should occur, if you are using an XP machine
Logged
dm
Newbie
*
Posts: 22


View Profile
« Reply #1 on: December 03, 2011, 03:13:04 pm »

I got the same problems. I tried the example from

http://doc.instantreality.org/tutorial/implementing-script-nodes-in-java/

and i got all the time that errors:

Code:
LOG Avalon Init: 12/230, V2.1.0 build: R-22925 Dec  1 2011
LOG Avalon CDF parsing (0.04s): 618 Node-Types defined
FATAL JAVA Failed to initialize the Java virtual machine
WARNING Avalon Cannot create ScriptEvaluator for Script script
LOG Avalon Set Two sided Lighting to 1
LOG Avalon Set Global Ambient light
FATAL Avalon No evaluator in Script/script
FATAL Avalon No evaluator in Script/script

I have Java 6 installed ... should i update to 7? Is that the problem?

Best,
David
« Last Edit: December 03, 2011, 03:25:50 pm by dm » Logged
christoph
Newbie
*
Posts: 8


View Profile
« Reply #2 on: December 12, 2011, 05:29:22 pm »

Hi

Now I changed from Windows XP to Windows 7 permanently.

At least my problem doesn't appear any more.

Thanks
Christoph
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines