|  | @@ -171,7 +171,9 @@ public class TemplateGenerator {
 | 
	
		
			
				|  |  |          MdoProMathfunc mathfunc = findMashfunc(pid);
 | 
	
		
			
				|  |  |          vo.setMathfunc(mathfunc);
 | 
	
		
			
				|  |  |          MdoProTacs tacs = findTasc(pid);
 | 
	
		
			
				|  |  | -        tacs.setThickness(tacs.getThickness().replace(",",";"));
 | 
	
		
			
				|  |  | +        if(tacs!=null){
 | 
	
		
			
				|  |  | +            tacs.setThickness(tacs.getThickness().replace(",",";"));
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          vo.setTacs(tacs);
 | 
	
		
			
				|  |  |          MdoProFsi fsi =findFsi(pid);
 | 
	
		
			
				|  |  |         vo.setFsi(fsi);
 |