I've recently updated to dbforms 2.5 and I am getting an inconsistent error that I can't track down in the forums or documentation. maybe if there's a way to search the mailing list, as I am sure the question as been asked before.
 
anyway, the error inconsistently get this this:
 

500 Servlet Exception

java.lang.NullPointerException: getAttribute must have a non-null name
	at com.caucho.jsp.PageContextImpl.getAttribute(PageContextImpl.java:253)
	at com.caucho.jsp.PageContextImpl.getAttribute(PageContextImpl.java:364)
	at org.dbforms.taglib.EmbeddedData.doStartTag(EmbeddedData.java:270)
	at _jsp._backoffice._edit_0oitems__jsp._jspService(backoffice/edit_oitems.jsp:49)
	at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 
in the jsp page, it's complaining at this line of code (line 49 is the name attribute):
<db:select fieldName="printsize_id" size="0">
                     <db:tableData
                        name="data_printsize"
                        foreignTable="exp_printsizes"
                        visibleFields="description"
                        storeField="printsize_id"
                       />
                       </db:select>
on some records, the page works fine and on others, it returns the exception. I can't imagine the database record
itself being the cause for the error? 
 
any clues would be great appreciated!
thanks
 

jack huynh

t. 415/255.7478 | f. 734/468.0619

www.orangeexposure.com

 

Events/Weddings

Environmental

PR/Marketing

Portraiture

Commercial

Creative Services

 

Blogs__ work | personal

 

 

Reply via email to