The Interactive Geometry Software Cinderella

Forum: Cinderella Support (E)

Forums->Cinderella Support (E)->Trouble opening files with basis defined

dean@norac.ca
1 stars
Trouble opening files with basis defined


I cannot open a file that has one or more basis defined in it. Does anyone else have this problem (build 686)? Is this a bug or something I am doing wrong?


java.lang.NullPointerException
at C.jZ.a(A686:757)
at C.jZ.d(A686:621)
at C.jZ.a(A686:512)
at de.cinderella.ports.Dispatcher.b(A686:646)
at C.nW.f(A686:368)
at C.nW.a(A686:109)
at C.b.a(A686:263)
at C.ce.a(A686:486)
at C.fc.b(A686:30)
at C.zw.run(A686:265)
at java.lang.Thread.run(Unknown Source)

VM info:
      • GenericJava Version: 1.5.0_03 by Sun Microsystems Inc.
      • OS XMac OS X: no

License:

Licensed to: Final Countdown, Cinderella.2 will be released soon


Current mode:
de.cinderella.modes.Move@149b290

Construction:


Dispatcher:


Simulation:


Assignments:
Geometry:=Euclidean;
("A"):=FreePoint(3.5596330275229358+i*0.0,4.0+i*0.0,-0.9174311926605504+i*-0.0);
"A".setAppearance(2,5,1,0,0,9,true,false);
"A".setAttribute("color","2");
"A".setAttribute("visibility","9");
"A".setAttribute("drawtrace","false");
"A".setAttribute("tracelength","100");
"A".setAttribute("traceskip","1");
"A".setAttribute("tracedim","1.0");
"A".setAttribute("render","false");
"A".setAttribute("pinning","false");
"A".setAttribute("labeled","true");
"A".setAttribute("ptsize","5");
"A".setAttribute("pointborder","true");
"A".setLabelPos(3,3,1,false,0.0,0.2,1);
("B"):=FreePoint(-2.8787878787878785+i*-0.0,4.0+i*0.0,-0.7575757575757576+i*-0.0);
"B".setAppearance(2,5,1,0,0,9,true,false);
"B".setAttribute("color","2");
"B".setAttribute("visibility","9");
"B".setAttribute("drawtrace","false");
"B".setAttribute("tracelength","100");
"B".setAttribute("traceskip","1");
"B".setAttribute("tracedim","1.0");
"B".setAttribute("render","false");
"B".setAttribute("pinning","false");
"B".setAttribute("labeled","true");
"B".setAttribute("ptsize","5");
"B".setAttribute("pointborder","true");
"B".setLabelPos(3,3,1,false,0.0,0.2,1);
("a"):=Segment("A","B");
"a".setAppearance(3,5,1,0,0,9,true,false);
"a".setArrowType(0,3,100,8);
"a".setAttribute("color","3");
"a".setAttribute("visibility","9");
"a".setAttribute("drawtrace","false");
"a".setAttribute("tracelength","100");
"a".setAttribute("traceskip","1");
"a".setAttribute("tracedim","1.0");
"a".setAttribute("render","false");
"a".setAttribute("labeled","true");
"a".setAttribute("linesize","1");
"a".setAttribute("overlap","0");
"a".setAttribute("clipline","0");
"a".setAttribute("linedashing","false");
"a".setAttribute("lineborder","false");
"a".setLabelPos(3,3,1,false,0.0,0.2,1);
"a".setArrowType(0,3,100,8);
("Bas0"):=Basis("A","B");
"Bas0".setAppearance(3,5,1,0,0,9,true,false);
"Bas0".setAttribute("color","3");
"Bas0".setAttribute("visibility","9");
"Bas0".setAttribute("drawtrace","false");
"Bas0".setAttribute("tracelength","100");
"Bas0".setAttribute("traceskip","1");
"Bas0".setAttribute("tracedim","1.0");
"Bas0".setAttribute("render","false");
"Bas0".setAsGeometry();
("C"):=FreePoint("Bas0",-0.23078207997861847+i*0.0,-1.9626499181505352+i*0.0,4.0+i*0.0);
"C".setAppearance(2,5,1,0,0,9,true,false);
"C".setAttribute("color","2");
"C".setAttribute("visibility","9");
"C".setAttribute("drawtrace","false");
"C".setAttribute("tracelength","100");
"C".setAttribute("traceskip","1");
"C".setAttribute("tracedim","1.0");
"C".setAttribute("render","false");
"C".setAttribute("pinning","false");
"C".setAttribute("labeled","true");
"C".setAttribute("ptsize","5");
"C".setAttribute("pointborder","true");
"C".setLabelPos(3,3,1,false,0.0,0.2,1);
("D"):=FreePoint("Bas0",4.0+i*0.0,-2.320460643333031+i*0.0,3.6095384522625187+i*0.0);
"D".setAppearance(2,5,1,0,0,9,true,false);
"D".setAttribute("color","2");
"D".setAttribute("visibility","9");
"D".setAttribute("drawtrace","false");
"D".setAttribute("tracelength","100");
"D".setAttribute("traceskip","1");
"D".setAttribute("tracedim","1.0");
"D".setAttribute("render","false");
"D".setAttribute("pinning","false");
"D".setAttribute("labeled","true");
"D".setAttribute("ptsize","5");
"D".setAttribute("pointborder","true");
"D".setLabelPos(3,3,1,false,0.0,0.2,1);
("b"):=Segment("Bas0","C","D");
"b".setAppearance(3,5,1,0,0,9,true,false);
"b".setArrowType(0,3,100,8);
"b".setAttribute("color","3");
"b".setAttribute("visibility","9");
"b".setAttribute("drawtrace","false");
"b".setAttribute("tracelength","100");
"b".setAttribute("traceskip","1");
"b".setAttribute("tracedim","1.0");
"b".setAttribute("render","false");
"b".setAttribute("labeled","true");
"b".setAttribute("linesize","1");
"b".setAttribute("overlap","0");
"b".setAttribute("clipline","0");
"b".setAttribute("linedashing","false");
"b".setAttribute("lineborder","false");
"b".setLabelPos(3,3,1,false,0.0,0.2,1);
"b".setArrowType(0,3,100,8);
("Bas1"):=Basis("Bas0","C","D","Bas0");
"Bas1".setAppearance(3,5,1,0,0,9,true,false);
"Bas1".setAttribute("color","3");
"Bas1".setAttribute("visibility","9");
"Bas1".setAttribute("drawtrace","false");
"Bas1".setAttribute("tracelength","100");
"Bas1".setAttribute("traceskip","1");
"Bas1".setAttribute("tracedim","1.0");
"Bas1".setAttribute("render","false");
"Bas1".setAsGeometry();
kernel.setBackgroundColor(168,176,192);
kernel.setBlackColor(0,0,0);
kernel.setHighlightColor(255,255,255);
port EuclideanPort() {
setAttribute("imagescalemode","scalemode.center");
setAttribute("imagealpha","1.0");
setAttribute("image.filename","");
setAttribute("show.adjacencymatrix","1");
setAttribute("show.vertexqueue","");
setAttribute("antialiasing","false");
setAttribute("precision.measure","precision.4");
setAttribute("precision.measure.int","4");
setAttribute("precision.angle","precision.1");
setAttribute("precision.angle.int","1");
setAttribute("mesh.rectangular","false");
setAttribute("mesh.triangular","false");
setAttribute("axes.show","false");
setAttribute("snap","false");
setAttribute("mesh.density","0");
setPolar(false);
setPortWidth(660);
setPortHeight(350);
setScale(25.0);
setOriginY(220);
setOriginX(233);
setMesh(false);
setAxes(false);
setSnap(false);
}
behavior {Environment();
setParams(1.0,0.0,0.0);
addToLevel(1);
}
behavior {Motor();
setParams(1.0,0.1,0.0);
addToLevel(1);
}


 
on: Fri 12 of May, 2006 [17:45 UTC] reads: 117246

Posted messages

author message
Aw: Trouble opening files with basis defined
on: Fri 12 of May, 2006 [18:49 UTC]
Dean,

I ran into exactly the same problem today, and we are going to fix it. Please do not uses bases with the current builds as a workaround...

Ulli




Show posts:
 
Language