• Post Reply Bookmark Topic Watch Topic
  • New Topic

Please help me solve this problem

 
Seshan Parameswaran
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am a SCJP and have enrolled for the SCDJ. I am facing a small problem with the assignment. I wrote a program that converts an ascii file to a binary file, that is to be used as the Database for the project. I was working with JDK 1.2.1.
Later I switched over to 1.2.2. The program used to work fine before, later it stopped working on 1.2.1 as well as 1.2.2. I am getting the following error when I try to run the program
Exception in thread "main" java.lang.RuntimeException: Data: Internal
at suncertify.db.Data.invariant(Data.java:486)
at suncertify.db.Data.add(Data.java:201)
at suncertify.db.CreateDatabase.<init>(CreateDatabase.java:33)
at suncertify.db.CreateDatabase.main(CreateDatabase.java:58)
Howmuchever I try, I am not able to overcome this error. Please help me.
Thanks
Seshan
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post the code for suncertify.db.Data ? If it's too large, at least post the method invariant.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!