Jump to content

XML Revalidation NullPointerException Error

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
priteshdesai

priteshdesai

    Newbie

  • Members
  • Pip
  • 5 posts
I'm doing a project about Revalidation of XML documents based on this IEEE paper.
http://portal.acm.or....cfm?id=1263349
I have uploaded the code. It is in the folder 'parse' in it there is a file
PropertiesUnit.java
When I try to run PropertiesUnit.java i get the following error.

--------------------Configuration: <Default>--------------------
Exception in thread "main" java.lang.NullPointerException
at com.tjsoft.xml.parse.PropertiesUnit.main(PropertiesUnit.java:86)

Process completed.


What is the reason? How can I correct it?

#2
Sinipull

Sinipull

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 386 posts
You are trying to access a memory part, that doesn't exist, which causes NullPointerException.
Something in some point, catches "null" and you are trying to access it's methods or fields.

#3
priteshdesai

priteshdesai

    Newbie

  • Members
  • Pip
  • 5 posts
But what is the solution to my problem?