src/fflib/lgmesh3.cpp:644: error: NULL_DEREFERENCE pointer `a` last assigned on line 642 could be null and is dereferenced at line 644, column 17. Showing all 28 steps of the trace src/fflib/lgmesh3.cpp:632:4: start of procedure SaveMesh3 630. Expression filename; 631. Expression xx,yy,zz; 632. SaveMesh3(const basicAC_F0 & args) ^ 633. { 634. xx=0; src/fflib/lgmesh3.cpp:650:32: Skipping E_F0: function or method not found 648. yy=to( (*a)[1]); 649. if(k==3) 650. zz=to( (*a)[2]); ^ 651. } 652. src/fflib/lgmesh3.cpp:634:7: 632. SaveMesh3(const basicAC_F0 & args) 633. { 634. > xx=0; 635. yy=0; 636. zz=0; src/fflib/lgmesh3.cpp:635:7: 633. { 634. xx=0; 635. > yy=0; 636. zz=0; 637. args.SetNameParam(); src/fflib/lgmesh3.cpp:636:7: 634. xx=0; 635. yy=0; 636. > zz=0; 637. args.SetNameParam(); 638. getmesh=to(args[0]); src/fflib/lgmesh3.cpp:637:7: 635. yy=0; 636. zz=0; 637. > args.SetNameParam(); 638. getmesh=to(args[0]); 639. filename=to(args[1]); src/fflib/AFunction2.cpp:1001:1: start of procedure SetNameParam 999. } 1000. 1001. > void basicAC_F0::SetNameParam(int n,name_and_type *l , Expression * e) const 1002. { 1003. int k=0; src/fflib/AFunction2.cpp:1003:2: 1001. void basicAC_F0::SetNameParam(int n,name_and_type *l , Expression * e) const 1002. { 1003. > int k=0; 1004. if ( !n && !named_parameter) return; 1005. src/fflib/AFunction2.cpp:1004:8: Taking true branch 1002. { 1003. int k=0; 1004. if ( !n && !named_parameter) return; ^ 1005. 1006. for (int i=0;i for (int i=0;isize()) src/fflib/AFunction2.cpp:1029:7: Taking true branch 1027. if (!named_parameter) return; 1028. 1029. if ((size_t) k!= named_parameter->size()) ^ 1030. { 1031. cout << " Sorry some name parameter are not used! found" << k << " == " << named_parameter->size() <size()) 1030. { 1031. cout << " Sorry some name parameter are not used! found" << k << " == " << named_parameter->size() <begin(); ii != named_parameter->end();ii++) 1033. { src/fflib/AFunction2.cpp:1032:11: Skipping _Rb_tree_const_iterator: function or method not found 1030. { 1031. cout << " Sorry some name parameter are not used! found" << k << " == " << named_parameter->size() <begin(); ii != named_parameter->end();ii++) ^ 1033. { 1034. for (int i=0;isize() <begin(); ii != named_parameter->end();ii++) ^ 1033. { 1034. for (int i=0;iname() << ">\n"; 1044. } 1045. CompileError("Unused named parameter"); ^ 1046. } 1047. } src/fflib/AFunction2.cpp:1029:3: 1027. if (!named_parameter) return; 1028. 1029. > if ((size_t) k!= named_parameter->size()) 1030. { 1031. cout << " Sorry some name parameter are not used! found" << k << " == " << named_parameter->size() < } 1048. 1049. src/fflib/lgmesh3.cpp:638:7: Skipping operator_E_F0_*: function or method not found 636. zz=0; 637. args.SetNameParam(); 638. getmesh=to(args[0]); ^ 639. filename=to(args[1]); 640. if (args.size() >2) src/fflib/lgmesh3.cpp:639:7: Skipping operator_E_F0_*: function or method not found 637. args.SetNameParam(); 638. getmesh=to(args[0]); 639. filename=to(args[1]); ^ 640. if (args.size() >2) 641. { src/fflib/lgmesh3.cpp:640:11: Taking true branch 638. getmesh=to(args[0]); 639. filename=to(args[1]); 640. if (args.size() >2) ^ 641. { 642. const E_Array * a = dynamic_cast(args[2].LeftValue()); src/fflib/lgmesh3.cpp:642:11: Skipping LeftValue: function or method not found 640. if (args.size() >2) 641. { 642. const E_Array * a = dynamic_cast(args[2].LeftValue()); ^ 643. if (!a) CompileError("savemesh(Th,\"filename\",[u,v,w],..."); 644. int k=a->size() ; src/fflib/lgmesh3.cpp:643:16: Taking true branch 641. { 642. const E_Array * a = dynamic_cast(args[2].LeftValue()); 643. if (!a) CompileError("savemesh(Th,\"filename\",[u,v,w],..."); ^ 644. int k=a->size() ; 645. // cout << k << endl; src/fflib/lgmesh3.cpp:643:19: Skipping CompileError(): function or method not found 641. { 642. const E_Array * a = dynamic_cast(args[2].LeftValue()); 643. if (!a) CompileError("savemesh(Th,\"filename\",[u,v,w],..."); ^ 644. int k=a->size() ; 645. // cout << k << endl; src/fflib/lgmesh3.cpp:644:11: 642. const E_Array * a = dynamic_cast(args[2].LeftValue()); 643. if (!a) CompileError("savemesh(Th,\"filename\",[u,v,w],..."); 644. > int k=a->size() ; 645. // cout << k << endl; 646. if ( k!=2 && k !=3) CompileError("savemesh(Th,\"filename\",[u,v,w]) need 2 or 3 componate in array ",atype());