Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

error on tag  RSS feed

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cant figure the error:

<input type="text" name="Goods" class="txtarea-regular" id="goods" value="<%=(pgtyp.equals("R"))?valbean.getGoods(arrlen) Goods.getRowSet().ge tCurrentRow().getAttribute("Goods")!=null)?Goods.getRowSet().getCurrentRow().get Attribute("Goods"):""%>">


java.lang.NullPointerException
java.lang.String ECIBeans.FormValueBean.getGoods(int)
FormValueBean.java:47
void _eciPg1._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
[/eciPg1.jsp]
eciPg1.jsp:295
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its NullPointerException. Your FormValueBean object is sounding as null.
Please use UBB Code while posting code snippets. Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!