nabu1185 / mathmleditor

Automatically exported from code.google.com/p/mathmleditor
0 stars 0 forks source link

remove add editor crach #102

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
add/remove editor on button click

draw with :[object I7] class:fmath.I7 theme:TinyLookEditorDefault.xml 
language:EditorTextEn.xml
mainMc.stage[object Sprite]
mainMc.stage[object Stage]
TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
    at fmath::Editor/b2()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\Editor.as:91]
    at fmath::Editor/b3()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\Editor.as:178]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fmath::a232$/selectNode()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\a232.as:71]
    at fmath::a232$/selectFirstText()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\a232.as:52]
    at fmath::a225/drawFormula()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\a225.as:44]
    at fmath::a338$/draw()
    at fmath::I7/draw()
    at fmath::a181/draw()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\a181.as:13]
    at fmath::a335$/draw()
    at fmath::I7/draw()
    at fmath::a181/draw()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\a181.as:13]
    at fmath::a217/draw()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\a217.as:12]
    at fmath::a337$/draw()
    at fmath::I7/draw()
    at fmath::a181/draw()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\a181.as:13]
    at fmath::Editor/draw()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\Editor.as:43]
    at fmath::Editor/afterLoadingConfig()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\Editor.as:372]
    at fmath::a191/b8()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\a191.as:95]
    at fmath::a191/b6()[C:\devzone\obfuscateProjects\flex\MathMLEditorLibProject\src\fmath\a191.as:90]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

What is the expected output? What do you see instead?
no crash

What version of the product are you using? On what browser?
2.5 from testFlexProjectEditor-v2.5-b1054.zip

Please provide any additional information below.
sample project in attachment

Original issue reported on code.google.com by vlk...@gmail.com on 4 Nov 2014 at 12:53

GoogleCodeExporter commented 9 years ago
Sample project

Original comment by vlk...@gmail.com on 4 Nov 2014 at 12:55

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ionel.alexandru@gmail.com on 4 Nov 2014 at 1:56

GoogleCodeExporter commented 9 years ago
Hi,

I am also getting the same error. How can I resolve this issue. Thank you.

Original comment by kishorem...@gmail.com on 18 Mar 2015 at 6:03