Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot read data in HashMap object  RSS feed

Fandy Akhmad
Ranch Hand
Posts: 32
Java Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,: (
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!