Hi
today I met an unexpected error.when I refresh the page that has DiagramView component, the page is closed without any exception and one log file is created on my desctop.
I can't attach the hole file here, so I put some first lines :
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=3252, tid=5412
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)
# Problematic frame:
# C 0x00000000
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x033da000): JavaThread "main" [_thread_in_native, id=5412]
siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x00000008 0x00000000
Registers:
EAX=0x05280f70, EBX=0x0a6a6b24, ECX=0x0527f588, EDX=0x6d4b0c28
ESP=0x0171d0e4, EBP=0x0171d138, ESI=0x0b4a1530, EDI=0x00000000
EIP=0x00000000, EFLAGS=0x00010202
Top of Stack: (sp=0x0171d0e4)
This error occured after I added onAppletStarted event to both DiagramView and ShapeListBox.
in this finction I customize the ShapeList :
var counter = 0;
function onAppletStarted()
{
counter++;
if (counter == 2)
{
var applet = <%= CampaignWorkflow.AppletElement %>;
var shapeListApplet = <%= CampaignElements.AppletElement %>;
var shapeList = shapeListApplet.getShapeListBox();
var scriptHelper = applet.getScriptHelper();
var dimension = scriptHelper.createRectangle(0,0,128,32).getSize();
shapeList.setIconSize(dimension);
shapeList.clearShapes();
var shape;
shape = scriptHelper.shapeFromId("Toolbar_Start");
shapeList.addShape(shape);
shape = scriptHelper.shapeFromId("Toolbar_SMS");
shapeList.addShape(shape);
shape = scriptHelper.shapeFromId("Toolbar_Email");
shapeList.addShape(shape);
shape = scriptHelper.shapeFromId("Toolbar_Form");
shapeList.addShape(shape);
shape = scriptHelper.shapeFromId("Toolbar_Campaign");
shapeList.addShape(shape);
shape = scriptHelper.shapeFromId("Toolbar_End");
shapeList.addShape(shape);
//shapeList.setShapeFilter(["Toolbar_Start","Toolbar_SMS","Toolbar_Email","Toolbar_Form","Toolbar_Campaign","Toolbar_End"]) ;
}
}
In addition I've inserted png format image files to each shape in ShapeDesigner.
I'm not happy with this error. Do you have any idea?I really need your help.
Thank you.