[JBoss JIRA] (JBIDE-25551) Format Checker: dont enforce line feed
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25551?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-25551:
-------------------------------
Fix Version/s: 4.6.x
(was: 4.5.x)
> Format Checker: dont enforce line feed
> ---------------------------------------
>
> Key: JBIDE-25551
> URL: https://issues.jboss.org/browse/JBIDE-25551
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.AM3
> Reporter: Andre Dietisheim
> Assignee: Dmitrii Bocharov
> Labels: code_format_check
> Fix For: 4.6.x
>
>
> Current format checks enforce line feeds which leads to badly readable code when you're using fluent builders like in the following case (see here: https://github.com/jbosstools/jbosstools-openshift/pull/1645/files?diff=u...):
> {code:title=enforced line feeds}
> TableViewer resourcesViewer = new TableViewerBuilder(table, tableContainer)
> .column(resource -> ((IResource) resource).getName()).name("Name").align(SWT.LEFT).weight(1)
> .minWidth(100).buildColumn().column(resource -> ((IResource) resource).getKind()).name("Type")
> .align(SWT.LEFT).weight(1).minWidth(100).buildColumn()
> .column(new LabelsCellLabelProvider(labelFilter)).name("Labels").align(SWT.LEFT).weight(2)
> .minWidth(200).buildColumn().buildViewer();
> {code}
> {code:title=manual line feeds with superior readability}
> TableViewer resourcesViewer = new TableViewerBuilder(table, tableContainer)
> .column(resource -> ((IResource) resource).getName())
> .name("Name").align(SWT.LEFT).weight(1).minWidth(100).buildColumn()
> .column(resource -> ((IResource) resource).getKind())
> .name("Type").align(SWT.LEFT).weight(1).minWidth(100).buildColumn()
> .column(new LabelsCellLabelProvider(labelFilter))
> .name("Labels").align(SWT.LEFT).weight(2).minWidth(200).buildColumn()
> .buildViewer();
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (JBIDE-22934) NullPointerException in VpvEditor$10.documentChanged
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22934?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-22934:
-------------------------------
Fix Version/s: 4.6.x
(was: 4.5.x)
> NullPointerException in VpvEditor$10.documentChanged
> ----------------------------------------------------
>
> Key: JBIDE-22934
> URL: https://issues.jboss.org/browse/JBIDE-22934
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: visual-page-editor-core
> Reporter: Automated Error Reporting Bot
> Assignee: Ilya Buziuk
> Fix For: 4.6.x
>
>
> The following problem was reported via the automated error reporting:
> Message:
> {noformat}
> java.lang.NullPointerException: null
> at org.jboss.tools.vpe.preview.editor.VpvEditor$10.documentChanged(VpvEditor.java:723)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireDocumentChanged(BasicStructuredDocument.java:460)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1184)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)
> at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)
> at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)
> at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)
> at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)
> at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)
> at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)
> at org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)
> at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7308)
> at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8159)
> at org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2306)
> at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7098)
> at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5971)
> at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5998)
> at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5685)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> {noformat}
> Bundles:
> | org.eclipse.core.filebuffers | 3.5.500.v20140723-1040 | 3.5.500.v20140723-1040 |
> | org.eclipse.core.jobs | 3.7.0.v20150330-2103 | 3.7.0.v20150330-2103 |
> | org.eclipse.core.resources | 3.10.1.v20150725-1910 | 3.10.1.v20150725-1910 |
> | org.eclipse.core.runtime | 3.11.1.v20150903-1804 | 3.11.1.v20150903-1804 |
> | org.eclipse.e4.core.di | 1.5.0.v20150421-2214 | 1.5.0.v20150421-2214 |
> | org.eclipse.emf.common | 2.11.1.v20160208-0816 | 2.11.1.v20160208-0816 |
> | org.eclipse.jface | 3.11.1.v20160128-1644 | 3.11.1.v20160128-1644 |
> | org.eclipse.jface.text | 3.10.0.v20150603-1752 | 3.10.0.v20150603-1752 |
> | org.eclipse.swt | 3.104.2.v20160212-1350 | 3.104.2.v20160212-1350 |
> | org.eclipse.ui | 3.107.0.v20150507-1945 | 3.107.0.v20150507-1945 |
> | org.eclipse.wst.html.core | 1.1.802.v201501312139 | 1.1.802.v201501312139 |
> | org.eclipse.wst.sse.core | 1.1.901.v201510130005 | 1.1.901.v201510130005 |
> | org.eclipse.wst.sse.ui | 1.3.401.v201510130005 | 1.3.401.v201510130005 |
> | org.jboss.tools.jst.web.ui | 3.7.1.Final-v20160331-0256-B96 | 3.7.1.Final-v20160331-0256-B96 |
> | org.jboss.tools.vpe.preview.editor | 3.6.0.Final-v20141016-1535-B71 | 3.6.0.Final-v20141016-1535-B71 |
> Operating Systems:
> | Windows | 6.1.0 | 6.1.0 |
> The above information is a snapshot of the collected data. Visit [this page|https://redhat.ctrlflow.com/reviewers/#!/problems/576a9e1be4b08dde03...] for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (JBIDE-22938) NullPointerException below LinkStatusPart$1.widgetSelected (thrown in TabFolder.setBounds)
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22938?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-22938:
-------------------------------
Fix Version/s: 4.6.x
(was: 4.5.x)
> NullPointerException below LinkStatusPart$1.widgetSelected (thrown in TabFolder.setBounds)
> ------------------------------------------------------------------------------------------
>
> Key: JBIDE-22938
> URL: https://issues.jboss.org/browse/JBIDE-22938
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: visual-page-editor-core
> Reporter: Automated Error Reporting Bot
> Assignee: Ilya Buziuk
> Fix For: 4.6.x
>
>
> The following problem was reported via the automated error reporting:
> Message: Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> {noformat}
> java.lang.NullPointerException: null
> at org.eclipse.swt.widgets.TabFolder.setBounds(TabFolder.java:746)
> at org.eclipse.swt.widgets.Control.setBounds(Control.java:890)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:693)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:197)
> at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1668)
> at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1454)
> at org.eclipse.swt.widgets.Control.setSize(Control.java:1241)
> at org.eclipse.jface.preference.PreferenceDialog$PageLayout.layout(PreferenceDialog.java:128)
> at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1668)
> at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1454)
> at org.eclipse.swt.widgets.Control.setBounds(Control.java:862)
> at org.eclipse.swt.custom.ScrolledCompositeLayout.layout(ScrolledCompositeLayout.java:118)
> at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1668)
> at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1454)
> at org.eclipse.swt.widgets.Control.setBounds(Control.java:890)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:693)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:197)
> at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1668)
> at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1454)
> at org.eclipse.swt.widgets.Control.setBounds(Control.java:890)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:693)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:197)
> at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1668)
> at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1454)
> at org.eclipse.swt.widgets.Control.setBounds(Control.java:890)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:693)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:197)
> at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1668)
> at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1454)
> at org.eclipse.swt.widgets.Control.setBounds(Control.java:890)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:693)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:197)
> at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1668)
> at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1454)
> at org.eclipse.swt.widgets.Control.setBounds(Control.java:890)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:693)
> at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:197)
> at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1668)
> at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:2349)
> at org.eclipse.swt.widgets.Shell.open(Shell.java:1629)
> at org.eclipse.swt.widgets.Shell.open(Shell.java:1628)
> at org.eclipse.jface.window.Window.open(Window.java:799)
> at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:330)
> at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:360)
> at org.eclipse.jface.preference.PreferenceDialog.showPageFlippingAbortDialog(PreferenceDialog.java:1318)
> at org.eclipse.jface.preference.PreferenceDialog$9.handleError(PreferenceDialog.java:658)
> at org.eclipse.jface.preference.PreferenceDialog$9.access$0(PreferenceDialog.java:652)
> at org.eclipse.jface.preference.PreferenceDialog$9$1.run(PreferenceDialog.java:677)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:670)
> at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:877)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
> at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:874)
> at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1734)
> at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1093)
> at org.eclipse.jface.preference.PreferenceDialog.selectSavedItem(PreferenceDialog.java:1011)
> at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.selectSavedItem(FilteredPreferenceDialog.java:656)
> at org.eclipse.jface.preference.PreferenceDialog$4.run(PreferenceDialog.java:351)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.preference.PreferenceDialog.createContents(PreferenceDialog.java:346)
> at org.eclipse.jface.window.Window.create(Window.java:430)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
> at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.createDialogOn(WorkbenchPreferenceDialog.java:102)
> at org.eclipse.ui.dialogs.PreferencesUtil.createPreferenceDialogOn(PreferencesUtil.java:192)
> at org.eclipse.ui.dialogs.PreferencesUtil.createPreferenceDialogOn(PreferencesUtil.java:116)
> at org.jboss.tools.vpe.preview.core.exceptions.LinkStatusPart$1.widgetSelected(LinkStatusPart.java:69)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> {noformat}
> Bundles:
> | org.eclipse.core.runtime | 3.11.1.v20150903-1804 | 3.11.1.v20150903-1804 |
> | org.eclipse.jface | 3.11.1.v20160128-1644 | 3.11.1.v20160128-1644 |
> | org.eclipse.swt | 3.104.2.v20160212-1350 | 3.104.2.v20160212-1350 |
> | org.eclipse.ui | 3.107.0.v20150507-1945 | 3.107.0.v20150507-1945 |
> | org.jboss.tools.vpe.preview.core | 3.7.1.Final-v20160331-0327-B91 | 3.7.1.Final-v20160331-0327-B91 |
> Operating Systems:
> | Linux | 4.5.0 | 4.5.0 |
> The above information is a snapshot of the collected data. Visit [this page|https://redhat.ctrlflow.com/reviewers/#!/problems/575730efe4b06056d2...] for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (JBIDE-11172) Database Development: Postgres 9.1 tables are not listed
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-11172?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-11172:
-------------------------------
Fix Version/s: 4.6.x
(was: 4.5.x)
> Database Development: Postgres 9.1 tables are not listed
> --------------------------------------------------------
>
> Key: JBIDE-11172
> URL: https://issues.jboss.org/browse/JBIDE-11172
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate, upstream
> Environment: Mac OS X Lion
> Reporter: Burr Sutter
> Assignee: Koen Aers
> Priority: Critical
> Fix For: 4.6.x
>
> Attachments: Screen Shot 2012-03-05 at 7.52.01 PM.png, Screen Shot 2012-03-05 at 7.55.21 PM.png, Screen Shot 2012-03-05 at 8.00.22 PM.png, Screen Shot 2012-03-05 at 8.00.38 PM.png, pagila-ds.xml, postgresql-9.1-901.jdbc4.jar
>
>
> Postgres 9.1 - connection to a pagila database schema does not return a list of tables in the database explorer, nor in the Hibernate configuration. See attached screenshots.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (JBIDE-23324) Properties: should set selection to child context
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23324?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-23324:
-------------------------------
Fix Version/s: 4.6.x
(was: 4.5.x)
> Properties: should set selection to child context
> -------------------------------------------------
>
> Key: JBIDE-23324
> URL: https://issues.jboss.org/browse/JBIDE-23324
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.4.2.AM2
> Reporter: Dmitry_dont_use this_account Bocharov_dont_use this_account
> Assignee: Dmitrii Bocharov
> Labels: openshift_v3, properties
> Fix For: 4.6.x
>
>
> (copied from https://issues.jboss.org/browse/JBIDE-23182?focusedCommentId=13306362&pag...):
> We need to update EvaluationContext in OpenShiftResourcePropertySection class for example like this:
> {code}
> table.addSelectionChangedListener(new ISelectionChangedListener() {
>
> @Override
> public void selectionChanged(SelectionChangedEvent event) {
> IHandlerService service = (IHandlerService) page.getSite().getService(IHandlerService.class);
> service.getCurrentState().addVariable(ISources.ACTIVE_CURRENT_SELECTION_NAME, table.getSelection());
>
> }
> });
> {code}
> But this made no sense, because in the example above i'm trying to update the global evaluation context from getter. Nothing just happens. So the way to solve it is to define a child evaluation context, which will be used then in Handlers too.
> I think it's a much bigger refactoring, than the one that Slava made. I think we should merge it.
> However, i might have missed some possibilities and maybe someone has more experience with updating the evaluation context. That is the thing that should be done for Properties view similarly to what i offered above, because it's a "peculiar" view.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months