Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29648

Re: bug shows up depending on whether Java console is there or not.

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
From Marcel Mueller <news.5.maazl@spamgourmet.org>
Newsgroups comp.lang.java.programmer
Subject Re: bug shows up depending on whether Java console is there or not.
Date Tue, 12 Aug 2014 22:41:10 +0200
Organization albasani.net
Lines 24
Message-ID <lsdu57$d6m$1@news.albasani.net> (permalink)
References <slrnlukl58.fp3.avl@login.logic.tuwien.ac.at>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net QXkZxjbBzpq4E4jcckoVE6fSvrvgPKAZ0RvBBLX49BtllbNmtjYFfUfw8eMk4sF2HaIHEBOIHn9DT2auWYCpxHrgVodyk4Zumr1x23OdewckPAL0kU25ZUFGMDtddUYd
NNTP-Posting-Date Tue, 12 Aug 2014 20:41:12 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="VrXv0OL6nrKdsEUyvZm1mO+/9DqvDoox+rzW2tSqKOXFHnUf5aXt01pMAR4INRIg+2JrYItgJv79FDny+K9JYFpGWvE5Cjo5RxPkeTz0xzVA+CukmQcS9eU+ruqz4KlQ"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.5) Gecko/20120625 Thunderbird/10.0.5
In-Reply-To <slrnlukl58.fp3.avl@login.logic.tuwien.ac.at>
Cancel-Lock sha1:YWhRjZBbbUdo+kLIPdXGh6RonGc=
Xref csiph.com comp.lang.java.programmer:29648

Show key headers only | View raw


On 12.08.14 19.53, Andreas Leitgeb wrote:
> Now comes the strange part:  with 1.6.0_u51, that code block throws
> an JAXBException, but only if the java console is hidden.  As soon
> as the console is activated, code runs through perfectly normal (as
> it did up to 1.6.0_u45 regardless of console).
>
> Is this "proof" that something is wrong with _u51, or could anyone
> think of a programming error that would show up only with a specific
> version and depend on console visibility and cause a JAXBException
> to be thrown?

Almost anything could happen in case of a race condition.
Console access could serialize things that otherwise run in parallel.
Of course, I'm just guessing.

> On top of that, the getLocalizedMessage() method on the
> thrown exception returns null, and thus we don't really get much
> information about the problem itself.

What about the call stack? Try to find the corresponding throw in the 
Java source.


Marcel

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

bug shows up depending on whether Java console is there or not. Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-08-12 17:53 +0000
  Re: bug shows up depending on whether Java console is there or not. Marcel Mueller <news.5.maazl@spamgourmet.org> - 2014-08-12 22:41 +0200
    Re: bug shows up depending on whether Java console is there or not. Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-08-15 01:22 +0000
      Re: bug shows up depending on whether Java console is there or not. Marcel Mueller <news.5.maazl@spamgourmet.org> - 2014-08-15 11:07 +0200

csiph-web