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