Community
Participate
Working Groups
I have a Javadoc and Declaration view pulled out to a secondary window (drag detached, not via menu->window->new window). The javadoc view often stops working and remains blank. Sometimes it comes back to life after a while, but rarely. I haven't figured out what activities activate it again. Restarting eclipse works, reset perspective does not. The mouse hover pop-up continues to show the javadoc correctly so at least the system can parse/access javadoc, but it's not shown in the javadoc view. -- Configuration Details -- Product: Eclipse 4.4.1.20140925-1820 (org.eclipse.epp.package.java.product) Installed Features: org.eclipse.jdt 3.10.0.v20140925-0400
Hmm. My bad. Restarting eclipse does not always kick the javadoc view back to life. However, closing and re-opening the view from menu (menu->window->show view->javadoc) seems to work every time.
I couldn't reproduce it with Eclipse 4.5 M3 build. Please specify the steps so that we can reproduce the issue where Javadoc view stops working. Also, check if Declaration view works while the Javadoc view is not working. Attach the logs, if any.
Created attachment 248631 [details] eclipse.workspace/.metadata/.log from eclipse startup with non working javadoc and declaration views Log from latest startup of eclipse. Both the javadoc and description views did not work. Closing the views and re-opening them got both working as they should.
The exceptions come from Mylyn.
That was the complete log from start, and with both javadoc and declaration not working. Is there any way I can set verbosity of the logging? If it doesn't catch all exceptions? I had moved away the old log to get a clean start. I'll attach the old complete log as well.
Created attachment 248667 [details] old log, rar packed
Those exceptions are happening in a job that runs once, at startup, so I really don't think they are related.
I also took a look at the Mylyn exceptions in the rar file and couldn't see anything that looks like it would affect the Javadoc or view.
Just to confirm: you didn't accidentally disable to follow the selection (the button with the yellow left/right arrows? Without further details/steps there's nothing we can do. I worked with detached Javadoc view for a day now, and it still updates as expected.
For the last couple of days the Javadoc and Declaration views haven't stopped working like they did before so I can't seem to reproduce the issue any more. I've double checked that the "link with selection" (left & right yellow arrows button) is enabled. If I disable the link with selection the view just stays where it is. But when it stopped working earlier the view would go completely blank showing no text at all, just the empty soft yellow background and a blinking cursor if I clicked in it. Sorry for not being more helpful. I'll push an update with attached logs to this bug immediately next time I see it. Thanks anyway :)
(In reply to net jiro from comment #10) > Sorry for not being more helpful. I'll push an update with attached logs to > this bug immediately next time I see it. Thanks anyway :) Thanks!
Created attachment 248792 [details] eclipse.workspace/.metadata/.log from eclipse with crashed javadoc and declaration views, and view restart This log should contain the crash and restart of the javadoc and description views. The javadoc view stopped working, and I soon noticed that the description view had also stopped working. I tried unchecking and checking the "link with selection" button but that didn't work (as usual when this error shows up). Closing and restarting the javadoc and description views got them working again. Hope this log is informative enough. If not, can I change the logging verbosity somehow to catch the issue next time?
OK, it looks like you run out of handles: !ENTRY org.eclipse.ui 4 0 2014-11-17 16:43:28.490 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTError: No more handles at org.eclipse.swt.SWT.error(SWT.java:4467) at org.eclipse.swt.SWT.error(SWT.java:4356) at org.eclipse.swt.SWT.error(SWT.java:4327) at org.eclipse.swt.widgets.Widget.error(Widget.java:476) at org.eclipse.swt.widgets.Control.createHandle(Control.java:703) at org.eclipse.swt.widgets.Composite.createHandle(Composite.java:306) ... Please check when it happens next time, that I'm guessing right here.
Ok. I'm really sorry for pushing this on you guys and wasting your time. I'm not used to windows, having been on linux since '01, so this is sadly not the first tool I run across that works weirdly on windows due to the os design limitations. The learning cliff is kinda steep, but hey, the customer's choice and they are paying for my hours... Thanks for all the help. You can close this and I'll ping again if I find out anything that indicates that this is not the underlying issue. Sorry again :(
(In reply to net jiro from comment #14) > Ok. I'm really sorry for pushing this on you guys and wasting your time. I'm > not used to windows, having been on linux since '01, so this is sadly not > the first tool I run across that works weirdly on windows due to the os > design limitations. The learning cliff is kinda steep, but hey, the > customer's choice and they are paying for my hours... > > Thanks for all the help. You can close this and I'll ping again if I find > out anything that indicates that this is not the underlying issue. > > Sorry again :( No problem!