src/fflib/problem.cpp:4443: error: NULL_DEREFERENCE pointer `bf` last assigned on line 4442 could be null and is dereferenced at line 4443, column 45. Showing all 14 steps of the trace src/fflib/problem.cpp:4408:3: start of procedure Fem2D::AssembleVarForm<21871b11c7f68811>() 4406. 4407. template 4408. bool AssembleVarForm(Stack stack,const typename FESpace::Mesh & Th,const FESpace & Uh,const FESpace & Vh,bool sym, ^ 4409. MC * A,KN_ * B,const list &largs) 4410. { // return true if BC src/fflib/problem.cpp:4413:5: 4411. typedef typename FESpace::Mesh Mesh ; 4412. typedef Mesh * pmesh; 4413. > bool ret=false; 4414. typedef DotStar_KN_ DotStar; 4415. typedef DotSlash_KN_ DotSlash; src/fflib/problem.cpp:4416:5: Skipping _List_const_iterator: function or method not found 4414. typedef DotStar_KN_ DotStar; 4415. typedef DotSlash_KN_ DotSlash; 4416. list::const_iterator ii,ib=largs.begin(), ^ 4417. ie=largs.end(); 4418. using namespace FreeFempp; src/fflib/problem.cpp:4419:6: 4417. ie=largs.end(); 4418. using namespace FreeFempp; 4419. > TypeVarForm *tvf=TypeVarForm::Global; 4420. assert( tvf); 4421. for (ii=ib;ii != ie;ii++) src/fflib/problem.cpp:4421:10: Skipping operator=: function or method not found 4419. TypeVarForm *tvf=TypeVarForm::Global; 4420. assert( tvf); 4421. for (ii=ib;ii != ie;ii++) ^ 4422. { 4423. Expression e=ii->LeftValue(); src/fflib/problem.cpp:4421:16: Loop condition is true. Entering loop body 4419. TypeVarForm *tvf=TypeVarForm::Global; 4420. assert( tvf); 4421. for (ii=ib;ii != ie;ii++) ^ 4422. { 4423. Expression e=ii->LeftValue(); src/fflib/problem.cpp:4423:9: Skipping LeftValue: function or method not found 4421. for (ii=ib;ii != ie;ii++) 4422. { 4423. Expression e=ii->LeftValue(); ^ 4424. aType r = ii->left(); 4425. // if(A) cout << "AssembleVarForm " << * r << " " << (*A)(0,3) << endl; src/fflib/problem.cpp:4424:9: Skipping left: function or method not found 4422. { 4423. Expression e=ii->LeftValue(); 4424. aType r = ii->left(); ^ 4425. // if(A) cout << "AssembleVarForm " << * r << " " << (*A)(0,3) << endl; 4426. if (r== tvf->tFB) src/fflib/problem.cpp:4426:13: Taking false branch 4424. aType r = ii->left(); 4425. // if(A) cout << "AssembleVarForm " << * r << " " << (*A)(0,3) << endl; 4426. if (r== tvf->tFB) ^ 4427. { if (A) 4428. { src/fflib/problem.cpp:4434:18: Taking false branch 4432. } 4433. } 4434. else if (r==tvf->tMat) ^ 4435. { 4436. if (A) src/fflib/problem.cpp:4439:18: Taking true branch 4437. InternalError(" Add sparse matrice; to do, sorry"); 4438. } 4439. else if (r==tvf->tFL) ^ 4440. { 4441. if (B) { src/fflib/problem.cpp:4441:17: Taking true branch 4439. else if (r==tvf->tFL) 4440. { 4441. if (B) { ^ 4442. const FormLinear * bf =dynamic_cast(e); 4443. pmesh Thbf = GetAny((*bf->di->Th)(stack)); src/fflib/problem.cpp:4442:15: 4440. { 4441. if (B) { 4442. > const FormLinear * bf =dynamic_cast(e); 4443. pmesh Thbf = GetAny((*bf->di->Th)(stack)); 4444. if(Thbf) AssembleLinearForm( stack,*Thbf, Vh, B,bf) ; src/fflib/problem.cpp:4443:15: 4441. if (B) { 4442. const FormLinear * bf =dynamic_cast(e); 4443. > pmesh Thbf = GetAny((*bf->di->Th)(stack)); 4444. if(Thbf) AssembleLinearForm( stack,*Thbf, Vh, B,bf) ; 4445. }