Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #37639
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Andreas Leitgeb <avl@logic.at> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Where is the source? |
| Date | Fri, 3 Nov 2017 12:55:02 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 23 |
| Message-ID | <slrnovopp6.774.avl@logic.at> (permalink) |
| References | <41184dc1-97f9-46db-be03-b5685f8e3304@googlegroups.com> |
| Reply-To | avl@logic.at |
| Injection-Date | Fri, 3 Nov 2017 12:55:02 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="76b7cc834fc6acb7456aa861e6482d76"; logging-data="18825"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199FGadwZymrdVfWHzC+AeH" |
| User-Agent | slrn/1.0.2 (Linux) |
| Cancel-Lock | sha1:jA/aY9XJiKZC+dMHU5mAkpwgXEI= |
| Xref | csiph.com comp.lang.java.programmer:37639 |
Show key headers only | View raw
Eric Douglas <e.d.programmer@gmail.com> wrote:
> I'm calling javax.swing.JTable.convertColumnIndexToModel and it's crashing.
> All it tells me is
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
> at sun.swing.SwingUtilities2.convertColumnIndexToModel(SwingUtilities2.java:1988)
> The column model is not null. The column should not be null. It would really help if I could see the line that's crashing.
Last time I installed Oracle JDK (1.8.0_131), then its $JAVA_HOME
had a file named src.zip in it. (but version 8 doesn't seem to have
that particular class)
If you're using openjdk in Linux (e.g. debian or ubuntu), then you
might want to also install package "openjdk-9-source"
As it seems, both openjdk-8-source and openjdk-9-source each have a
src.zip that does contain sun/swing/SwingUtilities2.java
$ unzip -l /usr/lib/jvm/openjdk-8/src.zip | grep SwingUtilities2.java
77994 2017-03-10 08:20 sun/swing/SwingUtilities2.java
$ unzip -l /usr/lib/jvm/openjdk-9/src.zip | grep SwingUtilities2.java
76468 2016-04-11 19:00 sun/swing/SwingUtilities2.java
Happy debugging.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Where is the source? Eric Douglas <e.d.programmer@gmail.com> - 2017-11-03 05:23 -0700
Re: Where is the source? Andreas Leitgeb <avl@logic.at> - 2017-11-03 12:55 +0000
Re: Where is the source? Eric Douglas <e.d.programmer@gmail.com> - 2017-11-03 06:25 -0700
Re: Where is the source? Andreas Leitgeb <avl@logic.at> - 2017-11-03 13:45 +0000
Re: Where is the source? Eric Douglas <e.d.programmer@gmail.com> - 2017-11-03 06:51 -0700
Re: Where is the source? Andreas Leitgeb <avl@logic.at> - 2017-11-03 14:12 +0000
Re: Where is the source? Eric Douglas <e.d.programmer@gmail.com> - 2017-11-03 07:30 -0700
Re: Where is the source? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-11-03 10:31 -0400
csiph-web