File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Cannot read data in HashMap object " Watch "Cannot read data in HashMap object " New topic

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,: (
I agree. Here's the link:
subject: Cannot read data in HashMap object
It's not a secret anymore!