Monica Salvador

Greenhorn
+ Follow
since Feb 24, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Monica Salvador

The problem's now solved. It had a StackOverflow because I was sending many images through an intent.
12 years ago
I tried using the Parcelable interface for all of my custom classes. But there are StackOverflow errors when I pass a bitmap/any of those parcelables through the intent. Here's a sample code for one of the classes.




The error that is showing in the LogCat is here:



I don't know what I did wrong. please help me.
12 years ago
Hi. I was wondering if anyone would like to share a sample of a footer or a summary where it shows the total of all amounts inside the group. I would also want to know if it is possible to have 2 identifiers in the group field. It's actually from the same table anyway like for example I would want to show that Group 1 was created by Mr. Group 1 and so on. Would it be possible to do that?
12 years ago
It's not like that.. I just want to keep track of the transactions, besides, the website is not a real website anyway. It's some company's website and it would run on a VPN. The thing is, if I don't keep track of the printing, money would be lost and lots of it. Seriously.
13 years ago
JSP
Hi. I'm trying to have a report printed out from a PDF attatchment that I have made with iText in a Struts2 action. But apparently, that won't work because the printing control must come from the website itself or else, I wouldn't be able to keep track of what document numbers have been printed or how many of the reports have been printed. Is it possible that I could print the PDF file I made from iText and instead of having it attached or opened in Adobe Acrobat Reader to be printed directly? Or could I control the printer to have it printed at once instead?

Thanks in advance.
13 years ago
JSP
Not really. I haven't changed a thing on the database. And as I've said before, I used another computer and it went well until it crashed.
Some iteration for finding its Voucher object. I don't know why that caused the heap space when I had that one before. I have another problem here... https://coderanch.com/t/542624/java/java/Struts-Null-Pointer-Exception-at
I have a problem with my struts2 action. It says that I have a null session scope attribute when it's printing out the code fine.. Here's where the code gets the error (this is actually line 48)..



Here's the output on the Server Log..



But after printing out the output, here's the error I get...



WTH's goin on with Java?
13 years ago
Okay. I have resolved the problem already by removing something off of the Loans class. Thanks for your help everyone.
I have another grid that uses Loanapplications and that one have more records than the Loans. Loanapplications work well but the Loans doesn't. I've seen that Javanus post although I don't have an @OneToMany tag on my pojo class, rather a tag on the hbm.xml so I don't really know how to use that one. The other grids using the LoansDAO and Loans object, after having my heap space, also had heap space on them. I'm guessing it's because of the Loans.
Well, on the other computer, the one that went well and then crashed, it only had one Loan on it. On mine it had, I think, about seven Loans on it. And it's actually filtered because I only get the ones that are of the "Pending" status. Also, I have tried loading LoanApplications. It goes well when I load that grid and that has about 600 applications in there and a lot more additions to it like its Appraisals, etc. So I'm quite perplexed as to what it may have caused the heap space. I already tried deleting the cache, but it seems that it's not working.
Okay, seriously, I don't know where to put this topic so go ahead remove it if it's in the wrong place.

I have been doing this project with Struts2-jQuery and Hibernate. I used Data Access Objects to get the pojo classes of the entities in the table. I'm accessing now one of the DAOs putting it on a grid and then I get a heap space error just like this..



..when the only code I'm trying to run is this..



The original code from the DAO is this..



So, how do I fix this one? I tried using another computer and run the coded there and it went just fine until I think I overloaded the memory yet again and it also went beserk and had the heap space error. Please help me out. I have a deadline on sunday and I'm really worn out because of this.. Thank you.
I tried this code on my program, but the result is that it asks for a password upon opening. Is there anyway that it opens the file first and then when you try to copy / print it, you will encounter a password confirmation?
13 years ago
wouldn't that take away the passed parameters?
13 years ago