• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

java.lang.NullPointerException with large attach

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Shiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic