[JBoss JIRA] (TEIIDDES-1396) Circular references in WSDL schemas can still result in stack overflow errors
by Paul Richardson (JIRA)
Paul Richardson created TEIIDDES-1396:
-----------------------------------------
Summary: Circular references in WSDL schemas can still result in stack overflow errors
Key: TEIIDDES-1396
URL: https://issues.jboss.org/browse/TEIIDDES-1396
Project: Teiid Designer
Issue Type: Bug
Reporter: Paul Richardson
Assignee: Paul Richardson
Fix For: 7.7.1
Using the SOAP -> Source imported, import from the 'metacenterservice' (MC) example wsdl.
Clicking next on the Model Definitions page results in the display of an eclipse StackOverFlow exception dialog.
This is due to the wsdl schema containing a circular reference.
It has been fixed previously by inserting a depth counter that triggers a warning dialog and aborts. However, the max depth threshold is set to 1000 which is too high on this system to avoid the StackOverFlow.
Suggested Fixes:
1) Reduce the depth to 750, which works on this system
2) Create a JVM system property that can be used to increase the depth should the user deem it necessary and add this to the warning
message that is triggered if the depth threshold is exceeded
3) Catch the StackOverflow error and explain the problem with a warning message.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (TEIIDDES-1390) When searching metadata for an Object URI, am getting Expected argument to be non-null but got null
by Paul Nittel (JIRA)
Paul Nittel created TEIIDDES-1390:
-------------------------------------
Summary: When searching metadata for an Object URI, am getting Expected argument to be non-null but got null
Key: TEIIDDES-1390
URL: https://issues.jboss.org/browse/TEIIDDES-1390
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 7.7.1
Reporter: Paul Nittel
I modified a model to have an Object URI, looked up the resulting URI (http://foo.foo.com#mmuuid:29c33970-64b6-415e-8097-86db056c5ff4) for an XML document under the model, copied and pasted it into the search dialog, clicked search and got the exception below. Apparently, you cannot wildcard a URI, hence the whole string.
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product com.jboss.jbds.product.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.jbds.product.product
Error
Wed May 23 15:35:17 CDT 2012
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
java.lang.IllegalArgumentException: Expected argument to be non-null but got null
at com.metamatrix.core.util.CoreArgCheck.isNotNull(CoreArgCheck.java:139)
at com.metamatrix.core.util.CoreArgCheck.isNotNull(CoreArgCheck.java:125)
at com.metamatrix.modeler.internal.core.ModelEditorImpl.getFullPathToParent(ModelEditorImpl.java:4724)
at com.metamatrix.modeler.ui.search.MetadataMatch.getEObject(MetadataMatch.java:102)
at com.metamatrix.modeler.ui.search.MetadataSearchLabelProvider.getImage(MetadataSearchLabelProvider.java:90)
at org.eclipse.jface.viewers.WrappedViewerLabelProvider.getImage(WrappedViewerLabelProvider.java:117)
at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:165)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152)
at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:938)
at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:106)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1018)
at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:485)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2167)
at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2730)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1908)
at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1915)
at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1883)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1840)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1826)
at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1508)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1443)
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1506)
at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1465)
at com.metamatrix.modeler.ui.search.MetadataSearchResultPage.elementsChanged(MetadataSearchResultPage.java:157)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage.runBatchedUpdates(AbstractTextSearchViewPage.java:1253)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage.access$1(AbstractTextSearchViewPage.java:1252)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage$UpdateUIJob.runInUIThread(AbstractTextSearchViewPage.java:146)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (TEIIDDES-1378) Issues d-clicking to rename attribute in WSDL Importer request procedure editor
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-1378:
--------------------------------------
Summary: Issues d-clicking to rename attribute in WSDL Importer request procedure editor
Key: TEIIDDES-1378
URL: https://issues.jboss.org/browse/TEIIDDES-1378
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 7.7.1
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 7.7.1
EditElementsPanel:
this.columnsViewer.getTree().addMouseListener(new MouseAdapter() {
@Override
public void mouseDown( MouseEvent theEvent ) {
if (theEvent.button == 3 ) {
if (isTextEditorActive()) {
saveChangesAndDispose((EObject)getSelectedObject());
}
}
}
});
CHANGE TO:
this.columnsViewer.getTree().addMouseListener(new MouseAdapter() {
@Override
public void mouseDown( MouseEvent theEvent ) {
if (theEvent.button == 1 ) {
if (isTextEditorActive() && selectedObject != null) {
saveChangesAndDispose((AttributeInfo)selectedObject);
}
}
}
});
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month