• 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

java.lang.NullPointerException with large attach

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I get this error message when I try to upload a large file attach (with large I mean 729kb) :

java.lang.NullPointerException
net.jforum.JForum.handleException(JForum.java:280)
net.jforum.JForum.service(JForum.java:205)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)

JForum 2.1.8 is on W2003 with tomcat 5.5 in a dedicated installation
The temp directory exists and it has the right grants. To check this I added a System.out.println("directory ===>" + tempDir); in getTempFile method of DiskFileItem class.

Any suggestions?

TIA
MDT

[originally posted on jforum.net by radar]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made further tests I discovered the issue is with IE 7.
With IE 6 and FireFox 2.0 it works fine

TIA
[originally posted on jforum.net by radar]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!