[JBoss JIRA] (TEIIDDES-2224) web service returns 500 when concurrent access
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2224?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2224:
-----------------------------------
Attachment: reproducer.tar.gz
> web service returns 500 when concurrent access
> ----------------------------------------------
>
> Key: TEIIDDES-2224
> URL: https://issues.jboss.org/browse/TEIIDDES-2224
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web Services Support
> Affects Versions: 8.4
> Reporter: Hisanobu Okuda
> Attachments: reproducer.tar.gz
>
>
> Description of problem:
> web service returns 500 when concurrent access. It works fine with a single access.
> Version-Release number of selected component (if applicable):
> How reproducible:
> Please find the attached reproducer kit reproducer.tar.gz which contains
> reproducer
> ├── accounts.csv // data source
> ├── command.log // test result
> ├── SampleJDV.zip // project source code
> ├── server.log // test result
> ├── SOAP_TEST2.jmx // config file for JMeter
> ├── WSTest.vdb // VDB which contains web service model
> └── WSTest.war // generated JBossWS-CXF War
> Steps to Reproduce:
> 0. add user/user in teiid-security-users.properties
> 1. add datasource in standalone.xml
> <datasource jndi-name="java:/WSTest" pool-name="WSTest" enabled="true">
> <connection-url>jdbc:teiid:WSTest</connection-url>
> <driver>teiid</driver>
> <pool>
> <min-pool-size>100</min-pool-size>
> <max-pool-size>100</max-pool-size>
> <use-strict-min>true</use-strict-min>
> </pool>
> <security>
> <user-name>user</user-name>
> <password>user</password>
> </security>
> 2. unjar WSTest.vdb, change the path to accounts.csv in SampleJDV/sandbox/WSTest_Source.xmi, rejar WSTest.vdb.
> 3. deploy WSTest.vdb
> 4. deploy WSTest.war
> 5. run jmeter, and open SOAP_TEST2.jmx
> 6. run test on jmeter
> Actual results:
> Expected results:
> Additional info:
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2224) web service returns 500 when concurrent access
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2224?page=com.atlassian.jira.plu... ]
Steven Hawkins commented on TEIIDDES-2224:
------------------------------------------
I believe this has been fixed before. You may want to check with Ted and the Designer team if some fixes have not been rolled forward.
> web service returns 500 when concurrent access
> ----------------------------------------------
>
> Key: TEIIDDES-2224
> URL: https://issues.jboss.org/browse/TEIIDDES-2224
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web Services Support
> Affects Versions: 8.4
> Reporter: Hisanobu Okuda
>
> Description of problem:
> web service returns 500 when concurrent access. It works fine with a single access.
> Version-Release number of selected component (if applicable):
> How reproducible:
> Please find the attached reproducer kit reproducer.tar.gz which contains
> reproducer
> ├── accounts.csv // data source
> ├── command.log // test result
> ├── SampleJDV.zip // project source code
> ├── server.log // test result
> ├── SOAP_TEST2.jmx // config file for JMeter
> ├── WSTest.vdb // VDB which contains web service model
> └── WSTest.war // generated JBossWS-CXF War
> Steps to Reproduce:
> 0. add user/user in teiid-security-users.properties
> 1. add datasource in standalone.xml
> <datasource jndi-name="java:/WSTest" pool-name="WSTest" enabled="true">
> <connection-url>jdbc:teiid:WSTest</connection-url>
> <driver>teiid</driver>
> <pool>
> <min-pool-size>100</min-pool-size>
> <max-pool-size>100</max-pool-size>
> <use-strict-min>true</use-strict-min>
> </pool>
> <security>
> <user-name>user</user-name>
> <password>user</password>
> </security>
> 2. unjar WSTest.vdb, change the path to accounts.csv in SampleJDV/sandbox/WSTest_Source.xmi, rejar WSTest.vdb.
> 3. deploy WSTest.vdb
> 4. deploy WSTest.war
> 5. run jmeter, and open SOAP_TEST2.jmx
> 6. run test on jmeter
> Actual results:
> Expected results:
> Additional info:
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2224) web service returns 500 when concurrent access
by Hisanobu Okuda (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2224?page=com.atlassian.jira.plu... ]
Hisanobu Okuda edited comment on TEIIDDES-2224 at 6/19/14 9:27 AM:
-------------------------------------------------------------------
pull request
https://github.com/Teiid-Designer/teiid-designer/pull/377
was (Author: hisanobu.okuda):
pull request
https://github.com/hokuda/teiid-designer/pull/1
> web service returns 500 when concurrent access
> ----------------------------------------------
>
> Key: TEIIDDES-2224
> URL: https://issues.jboss.org/browse/TEIIDDES-2224
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web Services Support
> Affects Versions: 8.4
> Reporter: Hisanobu Okuda
>
> Description of problem:
> web service returns 500 when concurrent access. It works fine with a single access.
> Version-Release number of selected component (if applicable):
> How reproducible:
> Please find the attached reproducer kit reproducer.tar.gz which contains
> reproducer
> ├── accounts.csv // data source
> ├── command.log // test result
> ├── SampleJDV.zip // project source code
> ├── server.log // test result
> ├── SOAP_TEST2.jmx // config file for JMeter
> ├── WSTest.vdb // VDB which contains web service model
> └── WSTest.war // generated JBossWS-CXF War
> Steps to Reproduce:
> 0. add user/user in teiid-security-users.properties
> 1. add datasource in standalone.xml
> <datasource jndi-name="java:/WSTest" pool-name="WSTest" enabled="true">
> <connection-url>jdbc:teiid:WSTest</connection-url>
> <driver>teiid</driver>
> <pool>
> <min-pool-size>100</min-pool-size>
> <max-pool-size>100</max-pool-size>
> <use-strict-min>true</use-strict-min>
> </pool>
> <security>
> <user-name>user</user-name>
> <password>user</password>
> </security>
> 2. unjar WSTest.vdb, change the path to accounts.csv in SampleJDV/sandbox/WSTest_Source.xmi, rejar WSTest.vdb.
> 3. deploy WSTest.vdb
> 4. deploy WSTest.war
> 5. run jmeter, and open SOAP_TEST2.jmx
> 6. run test on jmeter
> Actual results:
> Expected results:
> Additional info:
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2224) web service returns 500 when concurrent access
by Hisanobu Okuda (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2224?page=com.atlassian.jira.plu... ]
Hisanobu Okuda commented on TEIIDDES-2224:
------------------------------------------
pull request
https://github.com/hokuda/teiid-designer/pull/1
> web service returns 500 when concurrent access
> ----------------------------------------------
>
> Key: TEIIDDES-2224
> URL: https://issues.jboss.org/browse/TEIIDDES-2224
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web Services Support
> Affects Versions: 8.4
> Reporter: Hisanobu Okuda
>
> Description of problem:
> web service returns 500 when concurrent access. It works fine with a single access.
> Version-Release number of selected component (if applicable):
> How reproducible:
> Please find the attached reproducer kit reproducer.tar.gz which contains
> reproducer
> ├── accounts.csv // data source
> ├── command.log // test result
> ├── SampleJDV.zip // project source code
> ├── server.log // test result
> ├── SOAP_TEST2.jmx // config file for JMeter
> ├── WSTest.vdb // VDB which contains web service model
> └── WSTest.war // generated JBossWS-CXF War
> Steps to Reproduce:
> 0. add user/user in teiid-security-users.properties
> 1. add datasource in standalone.xml
> <datasource jndi-name="java:/WSTest" pool-name="WSTest" enabled="true">
> <connection-url>jdbc:teiid:WSTest</connection-url>
> <driver>teiid</driver>
> <pool>
> <min-pool-size>100</min-pool-size>
> <max-pool-size>100</max-pool-size>
> <use-strict-min>true</use-strict-min>
> </pool>
> <security>
> <user-name>user</user-name>
> <password>user</password>
> </security>
> 2. unjar WSTest.vdb, change the path to accounts.csv in SampleJDV/sandbox/WSTest_Source.xmi, rejar WSTest.vdb.
> 3. deploy WSTest.vdb
> 4. deploy WSTest.war
> 5. run jmeter, and open SOAP_TEST2.jmx
> 6. run test on jmeter
> Actual results:
> Expected results:
> Additional info:
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2224) web service returns 500 when concurrent access
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2224?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration updated TEIIDDES-2224:
----------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1101449
> web service returns 500 when concurrent access
> ----------------------------------------------
>
> Key: TEIIDDES-2224
> URL: https://issues.jboss.org/browse/TEIIDDES-2224
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web Services Support
> Affects Versions: 8.4
> Reporter: Hisanobu Okuda
>
> Description of problem:
> web service returns 500 when concurrent access. It works fine with a single access.
> Version-Release number of selected component (if applicable):
> How reproducible:
> Please find the attached reproducer kit reproducer.tar.gz which contains
> reproducer
> ├── accounts.csv // data source
> ├── command.log // test result
> ├── SampleJDV.zip // project source code
> ├── server.log // test result
> ├── SOAP_TEST2.jmx // config file for JMeter
> ├── WSTest.vdb // VDB which contains web service model
> └── WSTest.war // generated JBossWS-CXF War
> Steps to Reproduce:
> 0. add user/user in teiid-security-users.properties
> 1. add datasource in standalone.xml
> <datasource jndi-name="java:/WSTest" pool-name="WSTest" enabled="true">
> <connection-url>jdbc:teiid:WSTest</connection-url>
> <driver>teiid</driver>
> <pool>
> <min-pool-size>100</min-pool-size>
> <max-pool-size>100</max-pool-size>
> <use-strict-min>true</use-strict-min>
> </pool>
> <security>
> <user-name>user</user-name>
> <password>user</password>
> </security>
> 2. unjar WSTest.vdb, change the path to accounts.csv in SampleJDV/sandbox/WSTest_Source.xmi, rejar WSTest.vdb.
> 3. deploy WSTest.vdb
> 4. deploy WSTest.war
> 5. run jmeter, and open SOAP_TEST2.jmx
> 6. run test on jmeter
> Actual results:
> Expected results:
> Additional info:
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2224) web service returns 500 when concurrent access
by Hisanobu Okuda (JIRA)
Hisanobu Okuda created TEIIDDES-2224:
----------------------------------------
Summary: web service returns 500 when concurrent access
Key: TEIIDDES-2224
URL: https://issues.jboss.org/browse/TEIIDDES-2224
Project: Teiid Designer
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web Services Support
Affects Versions: 8.4
Reporter: Hisanobu Okuda
Description of problem:
web service returns 500 when concurrent access. It works fine with a single access.
Version-Release number of selected component (if applicable):
How reproducible:
Please find the attached reproducer kit reproducer.tar.gz which contains
reproducer
├── accounts.csv // data source
├── command.log // test result
├── SampleJDV.zip // project source code
├── server.log // test result
├── SOAP_TEST2.jmx // config file for JMeter
├── WSTest.vdb // VDB which contains web service model
└── WSTest.war // generated JBossWS-CXF War
Steps to Reproduce:
0. add user/user in teiid-security-users.properties
1. add datasource in standalone.xml
<datasource jndi-name="java:/WSTest" pool-name="WSTest" enabled="true">
<connection-url>jdbc:teiid:WSTest</connection-url>
<driver>teiid</driver>
<pool>
<min-pool-size>100</min-pool-size>
<max-pool-size>100</max-pool-size>
<use-strict-min>true</use-strict-min>
</pool>
<security>
<user-name>user</user-name>
<password>user</password>
</security>
2. unjar WSTest.vdb, change the path to accounts.csv in SampleJDV/sandbox/WSTest_Source.xmi, rejar WSTest.vdb.
3. deploy WSTest.vdb
4. deploy WSTest.war
5. run jmeter, and open SOAP_TEST2.jmx
6. run test on jmeter
Actual results:
Expected results:
Additional info:
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2151) Create relational model from WS (SOAP) using default procedures generates both models in one subdirectory
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2151?page=com.atlassian.jira.plu... ]
Barry LaFond resolved TEIIDDES-2151.
------------------------------------
Resolution: Cannot Reproduce Bug
Tested with latest code today and could not reproduce. Both source and view models were created in their "sources" and "views" folder.
Note that your screencap shows the right source model name in wizard and the explorer, but your view model on left is *CountryInfoServiceView.xmi* and *CountryInfoServiiceXML.xmi*
So you might want to re-test to verify your steps?
> Create relational model from WS (SOAP) using default procedures generates both models in one subdirectory
> ---------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2151
> URL: https://issues.jboss.org/browse/TEIIDDES-2151
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.3.2
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 8.6
>
> Attachments: bug.png
>
>
> Steps to Reproduce:
> 1. Generate relational model from WS (SOAP)
> 2. Select connection profile and some operation click Next>
> 3. Select different project subdirectories for source and view model.
> 4. In the Procedure generation section select radio option "Default procedures" and click Finish
> 5. Both models are saved in the same subdirectory
> With User-specified procedures all works OK
> JBDS 7.1.1.GA + TeiidDesigner 8.3.2
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2203) Deletion of invalid (columnless) models causes NPE
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2203?page=com.atlassian.jira.plu... ]
Barry LaFond resolved TEIIDDES-2203.
------------------------------------
Resolution: Done
Fixed in both master (8.6) and 8.5.x branch
> Deletion of invalid (columnless) models causes NPE
> --------------------------------------------------
>
> Key: TEIIDDES-2203
> URL: https://issues.jboss.org/browse/TEIIDDES-2203
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.5
> Reporter: Tom Johnston
> Assignee: Barry LaFond
> Fix For: 8.6, 8.5.1
>
> Attachments: OracleExadataSYS.zip
>
>
> I imported all of the SYS views of Oracle 11g which results in a number of tableless columns.
> I have done something similar before and 'cleaned it up' by deleting them after the fact but given another bug of re-using models created in a prior release in a more current workspace/vdb I am re-importing/cleaning up.
> The issue is now I get NPE when I select several of these tables and click delete.
> org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException))
> at org.eclipse.swt.SWT.error(SWT.java:4397)
> at org.eclipse.swt.SWT.error(SWT.java:4312)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.executeRunnable(UiBusyIndicator.java:227)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhileInternal(UiBusyIndicator.java:159)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:116)
> at org.teiid.designer.ui.common.actions.AbstractAction.run(AbstractAction.java:547)
> at org.teiid.designer.ui.explorer.ModelExplorerResourceNavigator.handleKeyPressed(ModelExplorerResourceNavigator.java:1738)
> at org.eclipse.ui.views.navigator.ResourceNavigator$8.keyPressed(ResourceNavigator.java:507)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1081)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1108)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
> at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1827)
> at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4975)
> at org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:6137)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4643)
> at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:6005)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4977)
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> 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:354)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> 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(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> Caused by: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:4397)
> at org.eclipse.swt.SWT.error(SWT.java:4312)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.executeRunnable(UiBusyIndicator.java:227)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhileInternal(UiBusyIndicator.java:159)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:116)
> at org.teiid.designer.ui.common.actions.AbstractAction.run(AbstractAction.java:547)
> at org.teiid.designer.ui.actions.DeleteAction.doRun(DeleteAction.java:335)
> at org.teiid.designer.ui.common.actions.AbstractAction$1.run(AbstractAction.java:544)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 45 more
> Caused by: java.lang.NullPointerException
> at org.teiid.designer.core.refactor.ObjectDeleteCommand.setObjectsToDelete(ObjectDeleteCommand.java:97)
> at org.teiid.designer.ui.actions.workers.DeleteWorker.createObjectDeleteCommand(DeleteWorker.java:155)
> at org.teiid.designer.ui.actions.DeleteEObjectAction.doRun(DeleteEObjectAction.java:83)
> at org.teiid.designer.ui.common.actions.AbstractAction$1.run(AbstractAction.java:544)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 56 more
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2203) Deletion of invalid (columnless) models causes NPE
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2203?page=com.atlassian.jira.plu... ]
Barry LaFond reassigned TEIIDDES-2203:
--------------------------------------
Assignee: Barry LaFond (was: Mark Drilling)
> Deletion of invalid (columnless) models causes NPE
> --------------------------------------------------
>
> Key: TEIIDDES-2203
> URL: https://issues.jboss.org/browse/TEIIDDES-2203
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.5
> Reporter: Tom Johnston
> Assignee: Barry LaFond
> Fix For: 8.6, 8.5.1
>
> Attachments: OracleExadataSYS.zip
>
>
> I imported all of the SYS views of Oracle 11g which results in a number of tableless columns.
> I have done something similar before and 'cleaned it up' by deleting them after the fact but given another bug of re-using models created in a prior release in a more current workspace/vdb I am re-importing/cleaning up.
> The issue is now I get NPE when I select several of these tables and click delete.
> org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException))
> at org.eclipse.swt.SWT.error(SWT.java:4397)
> at org.eclipse.swt.SWT.error(SWT.java:4312)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.executeRunnable(UiBusyIndicator.java:227)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhileInternal(UiBusyIndicator.java:159)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:116)
> at org.teiid.designer.ui.common.actions.AbstractAction.run(AbstractAction.java:547)
> at org.teiid.designer.ui.explorer.ModelExplorerResourceNavigator.handleKeyPressed(ModelExplorerResourceNavigator.java:1738)
> at org.eclipse.ui.views.navigator.ResourceNavigator$8.keyPressed(ResourceNavigator.java:507)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1081)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1108)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
> at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1827)
> at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4975)
> at org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:6137)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4643)
> at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:6005)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4977)
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> 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:354)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> 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(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> Caused by: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:4397)
> at org.eclipse.swt.SWT.error(SWT.java:4312)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.executeRunnable(UiBusyIndicator.java:227)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhileInternal(UiBusyIndicator.java:159)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:116)
> at org.teiid.designer.ui.common.actions.AbstractAction.run(AbstractAction.java:547)
> at org.teiid.designer.ui.actions.DeleteAction.doRun(DeleteAction.java:335)
> at org.teiid.designer.ui.common.actions.AbstractAction$1.run(AbstractAction.java:544)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 45 more
> Caused by: java.lang.NullPointerException
> at org.teiid.designer.core.refactor.ObjectDeleteCommand.setObjectsToDelete(ObjectDeleteCommand.java:97)
> at org.teiid.designer.ui.actions.workers.DeleteWorker.createObjectDeleteCommand(DeleteWorker.java:155)
> at org.teiid.designer.ui.actions.DeleteEObjectAction.doRun(DeleteEObjectAction.java:83)
> at org.teiid.designer.ui.common.actions.AbstractAction$1.run(AbstractAction.java:544)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 56 more
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2203) Deletion of invalid (columnless) models causes NPE
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2203?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2203:
-----------------------------------
Git Pull Request: https://github.com/Teiid-Designer/teiid-designer/commit/d25734c09dd517470...
added null check and fixed a few compiler warnings.
> Deletion of invalid (columnless) models causes NPE
> --------------------------------------------------
>
> Key: TEIIDDES-2203
> URL: https://issues.jboss.org/browse/TEIIDDES-2203
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.5
> Reporter: Tom Johnston
> Assignee: Mark Drilling
> Fix For: 8.6, 8.5.1
>
> Attachments: OracleExadataSYS.zip
>
>
> I imported all of the SYS views of Oracle 11g which results in a number of tableless columns.
> I have done something similar before and 'cleaned it up' by deleting them after the fact but given another bug of re-using models created in a prior release in a more current workspace/vdb I am re-importing/cleaning up.
> The issue is now I get NPE when I select several of these tables and click delete.
> org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException))
> at org.eclipse.swt.SWT.error(SWT.java:4397)
> at org.eclipse.swt.SWT.error(SWT.java:4312)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.executeRunnable(UiBusyIndicator.java:227)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhileInternal(UiBusyIndicator.java:159)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:116)
> at org.teiid.designer.ui.common.actions.AbstractAction.run(AbstractAction.java:547)
> at org.teiid.designer.ui.explorer.ModelExplorerResourceNavigator.handleKeyPressed(ModelExplorerResourceNavigator.java:1738)
> at org.eclipse.ui.views.navigator.ResourceNavigator$8.keyPressed(ResourceNavigator.java:507)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1081)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1108)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
> at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1827)
> at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4975)
> at org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:6137)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4643)
> at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:6005)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4977)
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> 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:354)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> 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(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> Caused by: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:4397)
> at org.eclipse.swt.SWT.error(SWT.java:4312)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.executeRunnable(UiBusyIndicator.java:227)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhileInternal(UiBusyIndicator.java:159)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:116)
> at org.teiid.designer.ui.common.actions.AbstractAction.run(AbstractAction.java:547)
> at org.teiid.designer.ui.actions.DeleteAction.doRun(DeleteAction.java:335)
> at org.teiid.designer.ui.common.actions.AbstractAction$1.run(AbstractAction.java:544)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 45 more
> Caused by: java.lang.NullPointerException
> at org.teiid.designer.core.refactor.ObjectDeleteCommand.setObjectsToDelete(ObjectDeleteCommand.java:97)
> at org.teiid.designer.ui.actions.workers.DeleteWorker.createObjectDeleteCommand(DeleteWorker.java:155)
> at org.teiid.designer.ui.actions.DeleteEObjectAction.doRun(DeleteEObjectAction.java:83)
> at org.teiid.designer.ui.common.actions.AbstractAction$1.run(AbstractAction.java:544)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 56 more
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months