• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JWebUnit Non HTML content

 
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are using jwebunit v3 to test our webpages.
but in one particular test I am somtimes getting a runtime exception "Non HTML content" in the getCurrentPage method. it is always exactly at the same point, but not all the time (damn what is that word).

I am guessing it is because it is a large complicated test (so not able to produce a small snappy example).

has anyone else had this? as I can't find a single question about it in google.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An intermittent error without any code isn going to be virtually impossible to answer. And I agree reams of code isn't better.

I think you'll have to do the traditional troubleshooting. Keep making it smaller until the problem goes away (in which case you know specifically where it lies) or you have a small example.
 
Wendy L Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was hoping for a miracle, "oh yes I had that it was because...".

This isn't a high enough priority at work for me to be allowed to spend the hours it would take to issolate it.

and thank you Intermittent, thats the word.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic