Servoy 7 error with Continuations

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Servoy 7 error with Continuations

Postby sbutler » Thu May 01, 2014 12:13 am

I've noticed we now get a new error showing up in the console in developer when using continuations. For example, the sample solution posted here by Paul: viewtopic.php?f=56&t=16189

On the line:
Code: Select all
new Packages.org.mozilla.javascript.continuations.Continuation()()


You get the error in the console:
Code: Select all
TypeError: [JavaPackage org.mozilla.javascript.continuations.Continuation] is not a function, it is object


Everything seems to work properly, but it just shows that error in the console. Ideas?
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 759
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Re: Servoy 7 error with Continuations

Postby sjoerd1337768711 » Thu May 01, 2014 10:53 am

Is the continuation still working?

The Dialogs-module on Servoyforge is a good example for Continuations:
https://www.servoyforge.net/projects/mo ... globals.js

new Packages.org.mozilla.javascript.continuations.Continuation()() is not used anymore.
Sjoerd Hannema
Muta Services B.V.
sjoerd1337768711
 
Posts: 18
Joined: Wed May 23, 2012 12:25 pm
Location: Leeuwarden, NL


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: Google [Bot] and 7 guests

cron