MATLAB (2013b) "doc" cannot load libxul.so from Java on Linux system - linux

After successful installation of MATLAB R2013b on openSUSE 13.1 64bit I have got the following error message when I try to open MATLAB Help via "doc" command (see attached message).
MATLAB Help window always shows corrupted formatting and/or rendering of the text content.
>> doc
Exception in thread "XPCOMMessageLoop" java.lang.UnsatisfiedLinkError: /opt/MATLAB/R2013b/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so: dlopen: cannot load any more object with static TLS
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.c(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.a(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.MozillaToolkit.initialize(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.AppShellXPCOMThread$b.run(Unknown Source)
Exception in thread "XPCOMMessageLoop" java.lang.UnsatisfiedLinkError: /opt/MATLAB/R2013b/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so: dlopen: cannot load any more object with static TLS
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.c(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.a(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.MozillaToolkit.initialize(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.AppShellXPCOMThread$b.run(Unknown Source)
Exception in thread "XPCOMMessageLoop" java.lang.UnsatisfiedLinkError: /opt/MATLAB/R2013b/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so: dlopen: cannot load any more object with static TLS
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.c(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.a(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.MozillaToolkit.initialize(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.AppShellXPCOMThread$b.run(Unknown Source)
Exception in thread "XPCOMMessageLoop" java.lang.UnsatisfiedLinkError: /opt/MATLAB/R2013b/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so: dlopen: cannot load any more object with static TLS
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.c(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.a(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.MozillaToolkit.initialize(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.AppShellXPCOMThread$b.run(Unknown Source)
Exception in thread "XPCOMMessageLoop" java.lang.UnsatisfiedLinkError: /opt/MATLAB/R2013b/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so: dlopen: cannot load any more object with static TLS
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.c(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.a(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.MozillaToolkit.initialize(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.AppShellXPCOMThread$b.run(Unknown Source)
MEvent. CASE!
MEvent. CASE!
MEvent. CASE!
MEvent. CASE!
MEvent. CASE!
MEvent. CASE!
>>

this is Linux specific bug of Matlab R2012b and higher (official Mathworks bug report)
You could try to execute doc one you startup Matlab and can hope that at this point the necessary libraries can be loaded.
EDIT: quoting from the Mathworks bug report:
On Linux machines, when performing linear algebra operations such as matrix multiplications, MATLAB could return the following error:
>> b = ones(10)*ones(10);
Error using *
BLAS loading error:
dlopen: cannot load any more object with static TLS
Any subsequent linear algebra operations will return the same error. You must restart MATLAB in order to perform further linear algebra operations.
Workaround
This issue has to do with the loading order of MATLAB's linear algebra library. To work around this issue, load the linear algebra library early in a MATLAB session, by performing a linear algebra operation immediately after MATLAB starts. For example, perform a matrix multiplication:
>> ones(10)*ones(10);
You can also add the above command to your startup.m file to make MATLAB run it at startup.

I've had the same problem in MATLAB 2014a, but the mathworks support could help me. Their solution was to run
webutils.htmlrenderer('basic');
in the command window. See Bug 1003952.
Even in MATLAB 2015a the bug is still present.

Related

Notes (client) 9.0.1 FP8 CLPDN0031E: Event loop exception

This question is related to SO question Xpages can't load, Error 500; java.util cannot be resolved
I am creating a new question because the answers on the last question to not fit.
First off, I have reinstalled Notes 9.0.1 followed by the FP8 more than three times. Each time I had one of two errors. The first issue was identical to the linked question. The second issue is what i am going to report now; manifesting in the inability to open script libraries. The help / log provides the following stack trace:
CLPDN0031E: Event loop exception
java.lang.NoClassDefFoundError: com.ibm.xsp.extlib.component.dynamicview.DominoDynamicColumnBuilder$DominoViewCustomizer
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$400(Unknown Source)
at java.net.URLClassLoader$ClassFinder.run(Unknown Source)
at java.security.AccessController.doPrivileged(Unknown Source)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClassHelper(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassHelper(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.ibm.designer.runtime.server.util.DynamicClassLoaderVFS.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.ibm.designer.runtime.Application.loadClass(Unknown Source)
at com.ibm.xsp.library.ApplicationFacesClassLoader.loadClass(Unknown Source)
at com.ibm.xsp.library.ManagedBeanListUtil.doClassLookups(Unknown Source)
at com.ibm.xsp.library.ManagedBeanListUtil.access$7(Unknown Source)
at com.ibm.xsp.library.ManagedBeanListUtil$BeanListMaintainerImpl.update(Unknown Source)
at com.ibm.xsp.library.ManagedBeanListUtil$BeanListMaintainerImpl.getManagedBeanInfo(Unknown Source)
at com.ibm.designer.domino.ide.resources.project.DominoDesignerProject.getManagedBeanList(Unknown Source)
at com.ibm.designer.domino.design.js.ScriptLibScriptData.addObjectsToMap(Unknown Source)
at com.ibm.designer.domino.scripting.data.AbstractScriptData.getPublishedObjects(Unknown Source)
at com.ibm.designer.domino.javascript.serverExtension.ServerScriptingEditor.init(Unknown Source)
at com.ibm.designer.domino.design.js.ScriptLibEditor.createPartControl(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPart(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Unknown Source)
at org.eclipse.ui.internal.PartPane.setVisible(Unknown Source)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(Unknown Source)
at com.ibm.rcp.ui.internal.presentations.FolderStackPresentation.selectPart(Unknown Source)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(Unknown Source)
at org.eclipse.ui.internal.PartStack.setSelection(Unknown Source)
at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(Unknown Source)
at org.eclipse.ui.internal.PartStack.access$1(Unknown Source)
at org.eclipse.ui.internal.PartStack$1.selectPart(Unknown Source)
at com.ibm.rcp.ui.internal.presentations.FolderStackPresentation$4.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.Widget.notifyListeners(Unknown Source)
at com.ibm.rcp.swt.swidgets.STabFolder.setSelection(Unknown Source)
at com.ibm.rcp.swt.swidgets.STabFolder.onMouse(Unknown Source)
at com.ibm.rcp.swt.swidgets.STabFolder$1.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.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at com.ibm.rcp.personality.framework.internal.RCPApplication.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at com.ibm.rcp.core.internal.launcher.Main.startLaunch(Unknown Source)
at com.ibm.rcp.core.internal.launcher.Main.main(Unknown Source)
at com.ibm.rcp.core.internal.launcher.Main.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.ibm.xsp.extlib.component.dynamicview.DominoDynamicColumnBuilder$DominoViewCustomizer
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClassHelper(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 78 more
Unhandled event loop exception
java.lang.NoClassDefFoundError: com.ibm.xsp.extlib.component.dynamicview.DominoDynamicColumnBuilder$DominoViewCustomizer
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$400(Unknown Source)
at java.net.URLClassLoader$ClassFinder.run(Unknown Source)
at java.security.AccessController.doPrivileged(Unknown Source)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClassHelper(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassHelper(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.ibm.designer.runtime.server.util.DynamicClassLoaderVFS.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.ibm.designer.runtime.Application.loadClass(Unknown Source)
at com.ibm.xsp.library.ApplicationFacesClassLoader.loadClass(Unknown Source)
at com.ibm.xsp.library.ManagedBeanListUtil.doClassLookups(Unknown Source)
at com.ibm.xsp.library.ManagedBeanListUtil.access$7(Unknown Source)
at com.ibm.xsp.library.ManagedBeanListUtil$BeanListMaintainerImpl.update(Unknown Source)
at com.ibm.xsp.library.ManagedBeanListUtil$BeanListMaintainerImpl.getManagedBeanInfo(Unknown Source)
at com.ibm.designer.domino.ide.resources.project.DominoDesignerProject.getManagedBeanList(Unknown Source)
at com.ibm.designer.domino.design.js.ScriptLibScriptData.addObjectsToMap(Unknown Source)
at com.ibm.designer.domino.scripting.data.AbstractScriptData.getPublishedObjects(Unknown Source)
at com.ibm.designer.domino.javascript.serverExtension.ServerScriptingEditor.init(Unknown Source)
at com.ibm.designer.domino.design.js.ScriptLibEditor.createPartControl(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPart(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Unknown Source)
at org.eclipse.ui.internal.PartPane.setVisible(Unknown Source)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(Unknown Source)
at com.ibm.rcp.ui.internal.presentations.FolderStackPresentation.selectPart(Unknown Source)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(Unknown Source)
at org.eclipse.ui.internal.PartStack.setSelection(Unknown Source)
at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(Unknown Source)
at org.eclipse.ui.internal.PartStack.access$1(Unknown Source)
at org.eclipse.ui.internal.PartStack$1.selectPart(Unknown Source)
at com.ibm.rcp.ui.internal.presentations.FolderStackPresentation$4.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.Widget.notifyListeners(Unknown Source)
at com.ibm.rcp.swt.swidgets.STabFolder.setSelection(Unknown Source)
at com.ibm.rcp.swt.swidgets.STabFolder.onMouse(Unknown Source)
at com.ibm.rcp.swt.swidgets.STabFolder$1.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.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at com.ibm.rcp.personality.framework.internal.RCPApplication.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at com.ibm.rcp.core.internal.launcher.Main.startLaunch(Unknown Source)
at com.ibm.rcp.core.internal.launcher.Main.main(Unknown Source)
at com.ibm.rcp.core.internal.launcher.Main.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.ibm.xsp.extlib.component.dynamicview.DominoDynamicColumnBuilder$DominoViewCustomizer
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClassHelper(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 78 more
First off, and related to the answer provided by Paul Withers: having run the installation packet about 4 or 5 times, I have yet to receive any error or hint that it did not install correctly or ran into errors.
Secondly, the JVMs are correctly configured as per the answer provided by Marie Kehoe.
How can I go about correcting this issue?
We had the same error when updating to FP8: When opening existing SSJS files the editor keeps blank, and exceptions are thrown in background which you can find in log trace.
This is already known by IBM -> http://www-01.ibm.com/support/docview.wss?uid=swg22000221
"This problem affects only applications that contain a managed bean."
IBM give also a "workaround": you should perform a full clean/rebuild of the application and then use the SSJS editor. But note: The problem may reoccur when the application is closed and then reopened.
Because this workaround doesn't work for us - and maybe also not for you - the solution was either to remove the managed beans from our project, or to downgrade back to FP7.
We chose the latter solution.
EDIT: Thanks to comment author Per Henrik Lausten. He found out that since May 2017 IBM has a fix for this issue (Notes 9.0.1 Feature Pack 8 Interim Fix 1). See his link for more details.
We haven't try this yet, but this could be the actual solution!
You need to install FP8 interim fix 1 to fix the SSJS editor problem. See http://www-01.ibm.com/support/docview.wss?uid=swg21657963 for download options.

Can't edit xsp.properties file in the UI mode in domino designer 9.0 (not the plain text mode via package explorer - this is fine)

Problem: I can't edit the xsp.properties file in the UI edit window (I know I can edit it manually from the package explorer)
I believe I am getting this problem due to the following error that I find in the Help/Support/View Trace of Domino Designer (9.0) .. though I am not 100% sure:
Unhandled event loop exception
java.lang.NoSuchFieldError: com/ibm/xsp/extlib/designer/common/properties/AppThemeLookup.theme_Standard_Ids
at com.ibm.xsp.extlib.designer.xspprops.XSPPage.(Unknown Source)
at com.ibm.xsp.extlib.designer.xspprops.XSPParentEditor.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPart(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Unknown Source)
at org.eclipse.ui.internal.PartPane.setVisible(Unknown Source)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(Unknown Source)
at com.ibm.rcp.ui.internal.presentations.FolderStackPresentation.selectPart(Unknown Source)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(Unknown Source)
at org.eclipse.ui.internal.PartStack.setSelection(Unknown Source)
at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(Unknown Source)
at org.eclipse.ui.internal.PartStack.access$1(Unknown Source)
at org.eclipse.ui.internal.PartStack$1.selectPart(Unknown Source)
at com.ibm.rcp.ui.internal.presentations.FolderStackPresentation$4.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.Widget.notifyListeners(Unknown Source)
at com.ibm.rcp.swt.swidgets.STabFolder.setSelection(Unknown Source)
at com.ibm.rcp.swt.swidgets.STabFolder.onMouse(Unknown Source)
at com.ibm.rcp.swt.swidgets.STabFolder$1.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.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at com.ibm.rcp.personality.framework.internal.RCPApplication.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at com.ibm.rcp.core.internal.launcher.Main.startLaunch(Unknown Source)
at com.ibm.rcp.core.internal.launcher.Main.main(Unknown Source)
at com.ibm.rcp.core.internal.launcher.Main.run(Unknown Source)
Related to the above error I was also getting: Problems occurred when invoking code from plug-in: "org.eclipse.jface", especially in relation to the "Relational" feature of the ext lib. org.openntf.extlib.relational.feature I just disabled that feature to get past that error (which is not really a solution), but I still have the java.lang.NoSuchFieldError: com/ibm/xsp/extlib/designer/common/properties/AppThemeLookup.theme_Standard_Ids
Has anyone come across this? Or is there a solution to fix this? (short of uninstalling the extlib, or just going back to editing the tsp.properties file manually via package explorer)
Thanks.
I ended up upgrading my 9.0 designer client with the 9.0.1 version of designer, and as hoped it did indeed fix the issue. ie I can now edit the xsp.properties in the UI as well as having the extlib (V17) installed.

Cassandra Input Step in Pentaho Spoon throws Read Negative Frame Size Error

I am using PDI 4.4.0. In the Cassandra input step, I am unable to read data from cassandra. Following is my stack trace.
rg.apache.thrift.transport.TTransportException: Read a negative frame size (-2113929216)!
at org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:133)
at org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:378)
at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:297)
at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:204)
at org.apache.cassandra.thrift.Cassandra$Client.recv_set_keyspace(Cassandra.java:471)
at org.apache.cassandra.thrift.Cassandra$Client.set_keyspace(Cassandra.java:456)
at org.pentaho.cassandra.CassandraConnection.setKeyspace(CassandraConnection.java:154)
at org.pentaho.di.trans.steps.cassandrainput.CassandraInputDialog$10.widgetSelected(CassandraInputDialog.java:459)
at org.eclipse.swt.widgets.TypedListener.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.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.trans.steps.cassandrainput.CassandraInputDialog.open(CassandraInputDialog.java:632)
at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:136)
at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7835)
at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2749)
at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:705)
at org.eclipse.swt.widgets.TypedListener.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.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8304)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
I am not able to read the data using show schema button too. For localhost Cassandra, I tried to change `thrift_framed_transport_size_in_mb: 16. Intial value was 2. Is there any configuration to be made in PDI? Please help.

Xpages error on one database in XPINC

My Xpages app on the server runs fine for everyone except one user. I have an Xpage that let's the user select from some drop downs and then does a partial refresh on a view container that subsets the view. Works great.
When he makes selections sometimes the partial refresh does not fire. Also, when he goes to the page two date values are already filled in (with June 4, 2014) when they should not be filled in.
I VNCed into his machine and looked at the Xpages error log. He has strange errors that I have never seen before.
I googled this to no avail.
Any Java experts that have some idea what this means.
Is there something stuck in his local cache that is causing this, that I can just delete?
Bryan
6/4/14 12:25 PM: Exception Thrown
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at com.ibm.ws.io.Stream.write(Unknown Source)
at com.ibm.ws.io.WriteStream.flushMyBuf(Unknown Source)
at com.ibm.ws.io.WriteStream.write(Unknown Source)
at com.ibm.ws.http.ResponseStream.writeChunk(Unknown Source)
at com.ibm.ws.http.ResponseStream.flushBuffer(Unknown Source)
at com.ibm.ws.http.ResponseStream.write(Unknown Source)
at com.ibm.ws.io.WriteStream.write(Unknown Source)
at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(Unknown Source)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.writeOut(Unknown Source)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.write(Unknown Source)
at com.ibm.commons.util.io.ByteStreamCache.copyTo(Unknown Source)
at com.ibm.xsp.webapp.XspHttpServletResponse.commitResponse(Unknown Source)
at com.ibm.xsp.webapp.FacesServlet.service(Unknown Source)
at com.ibm.xsp.webapp.FacesServletEx.service(Unknown Source)
at com.ibm.xsp.webapp.DesignerFacesServlet.service(Unknown Source)
at com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(Unknown Source)
at com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(Unknown Source)
at com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(Unknown Source)
at com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFService.access$0(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceThread.run(Unknown Source)
console_WS0994_2014_06_04#12_24_25.log
[0710:0002-1924] 06/04/2014 12:24:25.52 PM DeskClientOpenInt> Calling CreateProgramRCP pszRCPCmdLine[/authenticate "=C:\Program Files\IBM\Notes\notes.ini"] bDeskProvisioningRestart [0]
[0710:0002-1924] 06/04/2014 12:24:25.52 PM DeskClientOpenInt> DESK_CHECKNOTES2ALIVE_TIMER started
[0710:0002-1924] 06/04/2014 12:24:25.52 PM DeskClientOpenInt> Executed CreateProgramRCP
[1438:0002-0550] 06/04/2014 12:24:29.67 PM InitGlobalProcessInfo> PID [5176]!= [0]
[0710:0002-1924] 06/04/2014 12:24:37 PM Connected to server KC1/Scoular
[1D24:0002-0588] 06/04/2014 12:24:57 PM Dynamic Client Configuration started
[1D24:0002-0588] 06/04/2014 12:24:57 PM Initializing Dynamic Client Configuration
[1D24:0002-0588] 06/04/2014 12:24:57 PM Dynamic Client Configuration updating policy information
[1D24:0002-0588] 06/04/2014 12:24:57 PM Dynamic Client Configuration: Applying policy bookmarks
[1D24:0002-0588] 06/04/2014 12:24:58 PM Dynamic Client Configuration updating location information
[1D24:0002-0588] 06/04/2014 12:24:58 PM Dynamic Client Configuration updating location information using policy
[1D24:0002-0588] 06/04/2014 12:24:58.01 PM DynConfig> Found $DPLocked field: $DPLocked on policy note. Copying to location doc
[1D24:0002-0588] 06/04/2014 12:24:58.01 PM DynConfig> Found $DPLocked field: $DPLockedUnstripped on policy note. Copying to location doc
[1D24:0002-0588] 06/04/2014 12:24:58 PM Dynamic Client Configuration shutdown
6/4/14 12:25 PM: Exception Thrown
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at com.ibm.ws.io.Stream.write(Unknown Source)
at com.ibm.ws.io.WriteStream.flushMyBuf(Unknown Source)
at com.ibm.ws.io.WriteStream.write(Unknown Source)
at com.ibm.ws.http.ResponseStream.writeChunk(Unknown Source)
at com.ibm.ws.http.ResponseStream.flushBuffer(Unknown Source)
at com.ibm.ws.http.ResponseStream.write(Unknown Source)
at com.ibm.ws.io.WriteStream.write(Unknown Source)
at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(Unknown Source)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.writeOut(Unknown Source)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.write(Unknown Source)
at com.ibm.commons.util.io.ByteStreamCache.copyTo(Unknown Source)
at com.ibm.xsp.webapp.XspHttpServletResponse.commitResponse(Unknown Source)
at com.ibm.xsp.webapp.FacesServlet.service(Unknown Source)
at com.ibm.xsp.webapp.FacesServletEx.service(Unknown Source)
at com.ibm.xsp.webapp.DesignerFacesServlet.service(Unknown Source)
at com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(Unknown Source)
at com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(Unknown Source)
at com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(Unknown Source)
at com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFService.access$0(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceThread.run(Unknown Source)
Is the XPiNC app set to run locally or on the server? It may have an impact. From that I'd check the settings with a user for whom it works, particularly ECL settings (unless those are enforced via a policy).
It looks like it's hitting an error when writing, using the socket. XPiNC adds a port number onto localhost. Is there a conflict with another application on the PC using the port? That could explain occasional issues and explain why it was only happening for one user. You should be able to use the XSPUrl class to find the port, if it's not anywhere else.
The other thing that springs to mind is checking access to temp folders where it serializes / deserializes page data, though I would expect that to result in consistent failing. XPages Portable Command Guide would probably tell you the default locations.
The date problem sounds very strange and isn't explained by any of the things I've mentioned so far, but it may be a separate issue.

Encoding in Scene Builder

I generate an FXML file with Scene Builder. I need it to contain some cirillic text.
When i edit this file with Scene Builder i can see normal cirillic letters (screen 1)
After compileing and running my program with this FXML file, i can see not cirillic letters, but some artefacts (screen 2)
But, as you can see on the screen 3, its xml file encoding is UTF-8. Also, you can see there that it is saved in ANSI.
I've tried to open it with other editors (default eclipse and sublime text 2) and they shoen wrong encoding either. (screen 4 and screen 5)
At first i've tried to convert it from ansi to utf-8 (with notepad++).
After that eclipse and sublime text 2 started display cirillic letters as they must be.
But. Scene builder gave an error, when i've tried to open this file with it:
Error loading file
C:\eclipse\workspace\pr\src\main\java\ru\i\ava\pr\test.fxml.
C:\eclipse\workspace\pr\src\main\java\ru\i\ava\pr\test.fxml:1: ParseError
at [row,col]:[1,1]
Message: Content is not allowed in prolog.
And java compiler gave me an error:
июн 08, 2012 8:11:03 PM javafx.fxml.FXMLLoader logException
SEVERE: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Content is not allowed in prolog.
/C:/eclipse/workspace/pr/target/classes/ru/i/ava/pr/test.fxml:1
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at ru.i.ava.pr.PrFX.start(PrFX.java:22)
at com.sun.javafx.application.LauncherImpl$5.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$3.run(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
at com.sun.javafx.application.LauncherImpl.access$000(Unknown Source)
at com.sun.javafx.application.LauncherImpl$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javafx.fxml.LoadException: javax.xml.stream.XMLStreamException: ParseError at
[row,col]:[1,1]
Message: Content is not allowed in prolog.
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at ru.i.ava.pr.PrFX.start(PrFX.java:22)
at com.sun.javafx.application.LauncherImpl$5.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$3.run(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
... 1 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown Source)
at javax.xml.stream.util.StreamReaderDelegate.next(Unknown Source)
... 14 more
So, i've converted it back to ANSI.
And, having this file in ANSI, changed its "artefacted" text to cirillic letters manually.
Now i can see normal text when i run my program, but when i open this fixed file via Scene Builder,
Scene Builder shows me some "artefacted" text (screen 7).
So, how can i fix this situation?
I've just found that new version of Scene Builder does not have such problem.

Resources