Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 236742 Details for
Bug 419999
Eclipse hangs when trying to activate or deactivate validations in the preference dialog
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed fix
bug419999.patch (text/plain), 2.58 KB, created by
Roberto Sanchez Herrera
on 2013-10-21 18:06:57 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Roberto Sanchez Herrera
Created:
2013-10-21 18:06:57 EDT
Size:
2.58 KB
patch
obsolete
>diff --git a/plugins/org.eclipse.wst.validation.ui/vf2/org/eclipse/wst/validation/ui/internal/preferences/ValidationPreferencePage.java b/plugins/org.eclipse.wst.validation.ui/vf2/org/eclipse/wst/validation/ui/internal/preferences/ValidationPreferencePage.java >index 2f1da24..5f9683f 100644 >--- a/plugins/org.eclipse.wst.validation.ui/vf2/org/eclipse/wst/validation/ui/internal/preferences/ValidationPreferencePage.java >+++ b/plugins/org.eclipse.wst.validation.ui/vf2/org/eclipse/wst/validation/ui/internal/preferences/ValidationPreferencePage.java >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2001, 2009 IBM Corporation and others. >+ * Copyright (c) 2001, 2013 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -508,6 +508,9 @@ > IStructuredSelection selection = (IStructuredSelection) _validatorList.getSelection(); > ValidatorMutable val = (ValidatorMutable) selection.getFirstElement(); > >+ // In Mac OS, val can be null (see bugs 397349 and 412826) >+ if (val == null) return; >+ > switch (columnToEdit) { > case 1: > _changeCount++; >diff --git a/plugins/org.eclipse.wst.validation.ui/vf2/org/eclipse/wst/validation/ui/internal/preferences/ValidationPropertyPage.java b/plugins/org.eclipse.wst.validation.ui/vf2/org/eclipse/wst/validation/ui/internal/preferences/ValidationPropertyPage.java >index 53c574a..87efe72 100644 >--- a/plugins/org.eclipse.wst.validation.ui/vf2/org/eclipse/wst/validation/ui/internal/preferences/ValidationPropertyPage.java >+++ b/plugins/org.eclipse.wst.validation.ui/vf2/org/eclipse/wst/validation/ui/internal/preferences/ValidationPropertyPage.java >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2001, 2009 IBM Corporation and others. >+ * Copyright (c) 2001, 2013 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -568,6 +568,9 @@ > protected void columnClicked(int columnToEdit) { > IStructuredSelection selection = (IStructuredSelection) _validatorList.getSelection(); > ValidatorMutable val = (ValidatorMutable) selection.getFirstElement(); >+ >+ // In Mac OS, val can be null (see bugs 397349 and 412826) >+ if (val == null) return; > > switch (columnToEdit) { > case 1:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 419999
: 236742