Xpages: an error has occurred, see error log for details. - but I don't understand them

I’m getting an error message, but I have no idea how to resolve it. There are no red icons, no problems showing in the Problems tab, nothing in my notes log, and nothing in the errors listed in the Error log of the plugin Development Perspective.

The actual error is java.lang.illegalargumentexception

Argument not valid.

I get this error while navigating in the Designer. It locks up the Properties/Problems/Events tabs at the bottom and sometimes locks the client altogether - forcing a force close and restart.

It’s driving me crazy… any ideas?

UPDATED

I found the error log. The errors are stored as separate files in the \workspace\logs directory. Here are some of the details:

Unhandled event loop exception

java.lang.IllegalArgumentException: Argument not valid

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.graphics.TextLayout.setFont(Unknown Source)

at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(Unknown Source)

at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(Unknown Source)

at org.eclipse.swt.custom.StyledTextRenderer.calculate(Unknown Source)

at org.eclipse.swt.custom.StyledTextRenderer.calculateClientArea(Unknown Source)

at org.eclipse.swt.custom.StyledText.handleResize(Unknown Source)

at org.eclipse.swt.custom.StyledText$7.handleEvent(Unknown Source)

at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Control.sendResize(Unknown Source)

at org.eclipse.swt.widgets.Composite.sendResize(Unknown Source)

at org.eclipse.swt.widgets.Composite.setBounds(Unknown Source)

at org.eclipse.swt.widgets.Control.setBounds(Unknown Source)

at org.eclipse.swt.widgets.Control.setBounds(Unknown Source)

at org.eclipse.jface.text.source.SourceViewer$RulerLayout.layout(Unknown Source)

at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source)

at org.eclipse.swt.widgets.Composite.sendResize(Unknown Source)

at org.eclipse.swt.widgets.Composite.setBounds(Unknown Source)

at org.eclipse.swt.widgets.Control.setBounds(Unknown Source)

at org.eclipse.swt.widgets.Control.setBounds(Unknown Source)

at org.eclipse.swt.layout.FillLayout.layout(Unknown Source)

at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source)

at org.eclipse.swt.widgets.Composite.sendResize(Unknown Source)

at org.eclipse.swt.widgets.Composite.setBounds(Unknown Source)

at org.eclipse.swt.widgets.Control.setBounds(Unknown Source)

at org.eclipse.swt.widgets.Control.setBounds(Unknown Source)

at org.eclipse.swt.widgets.Control.setBounds(Unknown Source)

at org.eclipse.swt.custom.StackLayout.layout(Unknown Source)

at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source)

at org.eclipse.swt.widgets.Composite.sendResize(Unknown Source)

at org.eclipse.swt.widgets.Composite.setBounds(Unknown Source)

at org.eclipse.swt.widgets.Control.setBounds(Unknown Source)

What does “unknown source” mean? - and, how do I fix it?

Subject: Need to see the logs…

Hi Bob,I asked around here and we think that this may be due to a setup or a configuration issue.

Could you attach or send on the logs for your Designer (data\workspace\logs folder)?

Regards,

Paul.

paul_hannan@ie.ibm.com

Subject: Email sent with the logs… thank you

Subject: Re:

Hi Bob,

I checked the logs and seeing lot of exceptions thrown from SWT code like you mentioned. The errors seem to indicate this is a configuration issue,

  1. Has it been giving these problems ever since you installed designer ?

  2. After a forced restart, do you see these errors immediately on navigating within designer or does it work OK for some time and then gets into this state?

In case you havent tried this already, you could try launching designer on a clean workspace , following steps can be used for that

  1. rename the “workspace” folder under “data”

  2. Launch Notes client

  3. Launch Designer

regards

Girish

Subject: Renamed workspace folder - still happening

  1. Yes, these problems started when I upgraded to 8.5.12) Yes, the problems occur soon after launching an app in Designer

Per your direction, I renamed my workspace folder and restarted the client and designer. While beginning to work with my app, the same error came up.

Learning xpages/javascript/html is hard enough as it is, so a solution to this would be greatly appreciated!

When the error appears, the Properties pane goes blank (“no attribute is available”) or gets corrupted with half images, missing text, etc. - as though it can’t refresh. Closing the control and reopening it does not help.

Closing Designer and restarting may clear it up for one control, but then cause it on another.

Thanks for your time,

Bob

Subject: Re: seems to be a setup issue

Hi Bob,

Thanks for trying the rename of workspace.

since this has started happening just after the upgrade , I am more convinced that the issue is with the setup, the kind of errors you are getting are coming from Eclipse’s core windowing code which is highly unexpected on a correctly setup build. I would recommend re-installing the 851 client (a clean install this time to ensure nothing is left behind from the bad setup), I will check with the team here for any known issues about upgrade from 85 to 851.

thanks

Girish

Subject: SOLUTION

For those that may come across this same situation, the solution for me was to change my Windows font settings from Tahoma 11pt to Tahoma 8pt. Go to Display Properties-Appearance-Advanced-Message Box font.

Apparently, there’s an issue with ND851 and the larger fonts.

hth