Login
Remember
Register
PlantUML Q&A
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Remove .printStackTrace
0
votes
asked
Aug 16, 2014
in
Bug
by
anonymous
Could you please remove invocations of .printStackTrace from all code?
I use plantuml.jar as library and have a lot of exceptions in logs when everything should be OK (code is wrapped by try-catch construction).
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail]
(--------)
To avoid this verification in future, please
log in
or
register
.
1 Answer
0
votes
answered
Aug 17, 2014
by
plantuml
(
298,440
points)
Hello,
Ok, we will have a review on those .printStackTrace.
But could you give us examples of exceptions you have in your logs ?
Thanks,
commented
Aug 23, 2014
by
anonymous
Sorry for a long answer, I haven't received a notification on email.
I did not save the exception, but it's easy to reproduce and get some exceptions if change format from png to something else (unsupported features).
It isn't a problem to get an exception in my case, but I just want to prevent logging in stdout/stderr.
JFYI: I've just checked. PlantUML version 8003 has 76 invocations of .printStackTrace method.
commented
Aug 24, 2014
by
plantuml
(
298,440
points)
No problem for long answer. (However, you are logged as anonymous, that's why you din't get any email notification).
Actually, we are really interested in having the exception. Since you mention that you get it in changing format png to something else, it means that we forget to implement some important feature in the format you are using.
Could you send us your diagram and the format you are using ? It will help us to improve the software.
Thanks again.
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
"allowmixing" has side-effect on remove
Remove class when skinparam groupInheritance is used
hide @unlinked / remove @unlinked does not hide/remove unlinked parent
remove * / restore $tag issue
remove should remove notes too
All categories
Question / help
(1,710)
Bug
(1,761)
Wanted features
(1,480)
Closed question / help
(89)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(14)
Can't help
(10)
To be deleted
(10)
To be sorted
(431)
...