This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Cannot read data in HashMap object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Cannot read data in HashMap object " Watch "Cannot read data in HashMap object " New topic
Author

Cannot read data in HashMap object

Fandy Akhmad
Ranch Hand

Joined: Nov 26, 2011
Posts: 32

Hello i have application that read data from properties file and put it in HashMap. This is for report data in jasper report.

I have 2 .properties files that hold the data for each report.
When I read the file and put it into Hashmap properties it is error, the data is truncated and not all legible. So It only generate 1 report the whole report, and for the second report its data was empty.
But when there is only 1 .properties file , the data completely generated.

I think i was wrong in my HashMap or properties file, i very confused on it.

Here's my code:




Please help,: (
 
Don't get me started about those stupid light bulbs.
 
subject: Cannot read data in HashMap object