List of usage examples for java.lang NullPointerException fillInStackTrace
public synchronized Throwable fillInStackTrace()
From source file:org.sakaiproject.sharegame.tool.producers.Companies2.java
@Override public void fillComponents(UIContainer tofill, ViewParameters viewparams, ComponentChecker checker) { // TODO Auto-generated method stub List<Company> c = companyLogic.getCompany(); Company q = c.get(1);//from ww w. jav a 2 s.c o m UIOutput.make(tofill, "companyCode", q.getCompanyCode()); UIOutput.make(tofill, "companyName", q.getCompanyName()); //UIInternalLink.make(tofill, "website", q.getWebsite, viewparams); UILink.make(tofill, "website", q.getWebsite(), q.getWebsite()); try { UIOutput.make(tofill, "sectorName", q.getSector().toString()); } catch (NullPointerException e) { log.error(e.fillInStackTrace()); } }