issue in class création #51

Closed
ferber opened this Issue Nov 19, 2012 · 6 comments

Projects

None yet

3 participants

ferber commented Nov 19, 2012

[function fn122 () {
Runtime.stack.push($C[0]);
var $SS = $C[147];
var $S = $SS, $O = $S.object, $G = $S.global.object, $S = $SS;
var a;
var s1;
$S = new Scope($S, this, undefined);
$O = $S.object;
// file: E:\admin27_05_2012\src;W\recept;receptBase.as
// line: 23
s1 = $C[4].public$Object;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[49].public$flash$events$EventDispatcher;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[51].public$flash$display$DisplayObject;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[53].public$flash$display$InteractiveObject;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[55].public$flash$display$DisplayObjectContainer;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[57].public$flash$display$Sprite;
$S = new Scope($S, s1, undefined);
$O = $S.object;
/******
*
*$C[95].public$MCM; is undefined
*
*
*
*/
s1 = $C[95].public$MCM;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[5].runtime.createClass($C[149], $C[95].public$MCM, $S);
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$O.public$W$recept$receptBase = s1;
// file: E:\admin27_05_2012\src;W\recept;receptBase.as
// line: 1
Runtime.stack.pop();
return;
}][0]

package {
import flash.display.DisplayObject;
import flash.display.Graphics;
import flash.display.Shape;
import flash.display.Sprite;
import flash.geom.Matrix;
import flash.geom.Matrix3D;
import flash.geom.Point;
import flash.geom.Rectangle;
import flash.geom.Vector3D;
import S.E.Ev;
import S.io.console;
import S.T.T;
import W.recept.receptBase;

public class MCM extends Sprite {
.....
}

}

$C[95]

flags 0
id 8459
name "MCM"
qualifiedName "public$MCM"
namespaces[0]{
kind 22
originalURI ""
qualifiedName "public"
uri ""
}


Because $C[95].public$MCM; is undefined shumway fail at :
Erreur : TypeError: baseClass is undefined
Fichier Source : resource://shumway/avm2/domain.js
Ligne : 130

Contributor

Do you have sample test case that causes the crash?

ferber commented Nov 19, 2012

I hav it but you will need all the dependancy,
I'll try to reproduct the error in a smaller project and send you the code

ferber commented Nov 19, 2012

you can reproduct the error with the home page of my site :
http://www.looab.com/


[function fn117 () {
Runtime.stack.push($C[0]);
var $SS = $C[97];
var $S = $SS, $O = $S.object, $G = $S.global.object, $S = $SS;
var a;
var s1;
$S = new Scope($S, this, undefined);
$O = $S.object;
s1 = $C[4].public$Object;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[6].public$flash$events$EventDispatcher;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[8].public$flash$display$DisplayObject;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[10].public$flash$display$InteractiveObject;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[12].public$flash$display$DisplayObjectContainer;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[14].public$flash$display$Sprite;
$S = new Scope($S, s1, undefined);
$O = $S.object;
/*
*
*

  • $C[99].public$MCM; is undefined

*/

s1 = $C[99].public$MCM;
$S = new Scope($S, s1, undefined);
$O = $S.object;
s1 = $C[15].runtime.createClass($C[100], $C[99].public$MCM, $S);
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$S = $S.parent;
$O = $S.object;
$O.public$W$recept$receptBase = s1;
Runtime.stack.pop();
return;
}][0]

Contributor

Thanks, the source would be great.

ferber commented Nov 19, 2012

Yes, i understand, i try to reduct the sources to hav a more localized
error.

2012/11/19 Michael Bebenita notifications@github.com

Thanks, the source would be great.


Reply to this email directly or view it on GitHubhttps://github.com/mozilla/shumway/issues/51#issuecomment-10531654.

Nicolas Maucci
Ingénierie Web DRRH

Contributor

Source is not available. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment