[jira] [Commented] (NETBEANS-2810) Java EE 8 Web Project creation does not automatically enable feature

2019-07-09 Thread Josh Juneau (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16881569#comment-16881569
 ] 

Josh Juneau commented on NETBEANS-2810:
---

I have been unable to reproduce this issue with a clean install and user 
directory.  Please try again with latest sources and update.  I appreciate the 
feedback and your time helping to troubleshoot.

> Java EE 8 Web Project creation does not automatically enable feature
> 
>
> Key: NETBEANS-2810
> URL: https://issues.apache.org/jira/browse/NETBEANS-2810
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Web Project
>Affects Versions: 11.1
> Environment: 11.1 beta3
> Java: 1.8.0_212
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>Reporter: Vano Beridze
>Assignee: Josh Juneau
>Priority: Major
>
> # Create web project
>  # IDE proposes to install Oracle JS Parser
>  # Install the plugin
>  # IDE proposes to install NB Javac plugin
>  # Install the plugin
>  # At this point IDE displays the dialog page that does not have Next enabled.
> If you go back and then next, it activates the feature and project is created 
> successfully.
> You don't have to go back and feature activation should happen automatically 
> at the step 6.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



svn commit: r34820 - /release/netbeans/KEYS

2019-07-09 Thread neilcsmith
Author: neilcsmith
Date: Tue Jul  9 17:41:36 2019
New Revision: 34820

Log:
Adding keys for Neil C Smith

Modified:
release/netbeans/KEYS

Modified: release/netbeans/KEYS
==
--- release/netbeans/KEYS (original)
+++ release/netbeans/KEYS Tue Jul  9 17:41:36 2019
@@ -310,3 +310,62 @@ BdHHi+tMHOtgdfBrD4H5S/d4KRzIfgC3/iqyT5Kg
 4tA8i+UVXORe
 =Tpov
 -END PGP PUBLIC KEY BLOCK-
+pub   rsa4096 2019-06-14 [SC] [expires: 2022-06-13]
+  7B037EEBE0F0DEDFEE65B6983703AC389A12A9D4
+uid   [ultimate] Neil C Smith 
+sig 33703AC389A12A9D4 2019-06-14  Neil C Smith 
+sub   rsa4096 2019-06-14 [E] [expires: 2022-06-13]
+sig  3703AC389A12A9D4 2019-06-14  Neil C Smith 
+
+-BEGIN PGP PUBLIC KEY BLOCK-
+
+mQINBF0Dt0oBEAC6YCsgf9I4tWwipBYTxiYg+PzIbPGV+61x5jfmc5iWIdWFaum/
+PtiDmjw0eocoALQ58zXTtM1q3+MFgDW2ccZ1C44wRXGiGo15+OfR9wC1rl/zGFJF
+rz+zXYK6Hz3w+hTXA/n8T3AqaYvNftf9wXKlkTPhUFoIyasodRAZnHzfHPPYG6b0
+tMTrFyLK3pnpy3KZoZz92XEgykEQS1crV0wcnQ0gtmp2Cg/6lI6je8j1gAPV76BN
+8xNciyHKPZSNCFmQiSQgRDsGd5lmDtw5UBhrlEdbs16XuCWvW75hm4xyL6THycmn
+JAdzScT3KNVn25S50m+ffAloUAE7qMOV+f6yWVnmyw8OpIXYpreweWaVBLxA/hU+
+MVA0VJKWg+UTp7LNa9arq8vgxK6nu6y7yPB6pSQyKu9rm32gwQCfwrmbirFwKrSj
+HOIGEo4gFyfbV4XaX5i6/b7vqGncagw6NXRvQqZUOe4bFY/7bYY9od638DXnEi/A
+90/2DbIoKMBAYxTN9016KJS+oV9D+svcdDTumENlvXFq8lQ/SyblZkY8Ys+957VW
+O0+kNWRh9AUImEY10Ipg/AnDJbWod5UI5fxhEXGJfLrFVhL+1cEP7+PHzr1jKQi5
+18sQvHBkcvexQvEsftVJGXnE8To+c45HuTxRgQO9H9TBgnlGchKC+uXD1wARAQAB
+tCROZWlsIEMgU21pdGggPG5laWxjc21pdGhAYXBhY2hlLm9yZz6JAlQEEwEKAD4W
+IQR7A37r4PDe3+5ltpg3A6w4mhKp1AUCXQO3SgIbAwUJBaOagAULCQgHAgYVC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peSB3gtIQbOwWeCkNGKj/BwG3rMeQD+uFn8uGg+
+EysfsyranSFQl3ePFg8ObDumirqmdW8ajeoV7gMR4/Av/ttUX1p+WW3vYrOMAIRQ
+BQPLsbfCwa55E9yR
+=SHon
+-END PGP PUBLIC KEY BLOCK-



-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Closed] (NETBEANS-2794) Alt+F7 find usages not working in gradle project

2019-07-09 Thread Neil C Smith (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neil C Smith closed NETBEANS-2794.
--
Resolution: Fixed

> Alt+F7 find usages not working in gradle project
> 
>
> Key: NETBEANS-2794
> URL: https://issues.apache.org/jira/browse/NETBEANS-2794
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.1
>Reporter: Michael D Billman
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
> Attachments: Test.zip, image-2019-07-03-13-28-42-721.png, 
> image-2019-07-03-13-29-06-221.png, messages.log
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> I am having trouble with find usages not returning any results.  Sample 
> project attached.
> public class CartonLocationNoticeMsg extends CartonLocationNotice
> {
> }
> ...
> public class CartonLocationNotice
> {
> }
> !image-2019-07-03-13-28-42-721.png!
> !image-2019-07-03-13-29-06-221.png!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-2794) Alt+F7 find usages not working in gradle project

2019-07-09 Thread Neil C Smith (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neil C Smith updated NETBEANS-2794:
---
Fix Version/s: 11.1

> Alt+F7 find usages not working in gradle project
> 
>
> Key: NETBEANS-2794
> URL: https://issues.apache.org/jira/browse/NETBEANS-2794
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.1
>Reporter: Michael D Billman
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
> Attachments: Test.zip, image-2019-07-03-13-28-42-721.png, 
> image-2019-07-03-13-29-06-221.png, messages.log
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> I am having trouble with find usages not returning any results.  Sample 
> project attached.
> public class CartonLocationNoticeMsg extends CartonLocationNotice
> {
> }
> ...
> public class CartonLocationNotice
> {
> }
> !image-2019-07-03-13-28-42-721.png!
> !image-2019-07-03-13-29-06-221.png!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans] branch master updated: [NETBEANS-2794] Fix possible ArrayOutOfBoundException when during refactoring.

2019-07-09 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 2db1eb8  [NETBEANS-2794] Fix possible ArrayOutOfBoundException when 
during refactoring.
 new 5489a0e  Merge pull request #1365 from lkishalmi/NETBEANS-2794
2db1eb8 is described below

commit 2db1eb8d0290e46ea5c1ff6c7515e1c1c49dadaf
Author: Laszlo Kishalmi 
AuthorDate: Mon Jul 8 19:10:51 2019 -0700

[NETBEANS-2794] Fix possible ArrayOutOfBoundException when during 
refactoring.
---
 .../java/ui/tree/FolderTreeElement.java| 40 --
 1 file changed, 22 insertions(+), 18 deletions(-)

diff --git 
a/java/refactoring.java/src/org/netbeans/modules/refactoring/java/ui/tree/FolderTreeElement.java
 
b/java/refactoring.java/src/org/netbeans/modules/refactoring/java/ui/tree/FolderTreeElement.java
index 0a47d88..e9554b5 100644
--- 
a/java/refactoring.java/src/org/netbeans/modules/refactoring/java/ui/tree/FolderTreeElement.java
+++ 
b/java/refactoring.java/src/org/netbeans/modules/refactoring/java/ui/tree/FolderTreeElement.java
@@ -19,6 +19,9 @@
 
 package org.netbeans.modules.refactoring.java.ui.tree;
 
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
 import java.util.logging.Logger;
 import javax.lang.model.element.ElementKind;
 import javax.swing.Icon;
@@ -36,9 +39,9 @@ import org.openide.util.NbBundle;
  *
  * @author Jan Becicka
  */
-public class FolderTreeElement implements TreeElement {
+public final class FolderTreeElement implements TreeElement {
 
-private FileObject fo;
+private final FileObject fo;
 FolderTreeElement(FileObject fo) {
 this.fo = fo;
 }
@@ -104,22 +107,23 @@ public class FolderTreeElement implements TreeElement {
 return null;
 }
 Sources src = ProjectUtils.getSources(prj);
+List allgroups = new ArrayList<>();
 //TODO: needs to be generified
-SourceGroup[] javagroups = 
src.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
-SourceGroup[] xmlgroups = src.getSourceGroups("xml");//NOI18N
-
-SourceGroup[] allgroups =  new SourceGroup[javagroups.length + 
xmlgroups.length];
-
-if (allgroups.length < 1) {
+String[] sourceTypes = new String[] {
+JavaProjectConstants.SOURCES_TYPE_JAVA,
+"xml", //NOI18N
+};
+for (String sourceType : sourceTypes) {
+allgroups.addAll(Arrays.asList(src.getSourceGroups(sourceType)));
+}
+if (allgroups.isEmpty()) {
 // Unknown project group
 Logger.getLogger(FolderTreeElement.class.getName()).severe("Cannot 
find SourceGroup for " + file.getPath()); // NOI18N
 return null;
-   }
-System.arraycopy(javagroups,0,allgroups,0,javagroups.length);
-
System.arraycopy(xmlgroups,0,allgroups,allgroups.length-1,xmlgroups.length);
-for(int i=0; ihttps://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch asf-site updated: Automated site publishing by Jenkins build 809

2019-07-09 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 21f0402  Automated site publishing by Jenkins build 809
21f0402 is described below

commit 21f0402f1d65b0dfabb71bf684033563a2277dc1
Author: jenkins 
AuthorDate: Tue Jul 9 14:15:41 2019 +

Automated site publishing by Jenkins build 809
---
 content/participate/netcat.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/participate/netcat.html b/content/participate/netcat.html
index 10936d1..2007d80 100644
--- a/content/participate/netcat.html
+++ b/content/participate/netcat.html
@@ -292,7 +292,7 @@ NetCAT programs. As the NetCAT coordinator you will be 
responsible for:
 forming NetCAT tribes, finding their leaders and supporting them throughout 
the program
 
 
-maintaining https://services.netbeans.org/synergy;>Synergy 
(users, tribes and test runs) to have development builds fully tested and 
Release Candidate build certified
+maintaining http://netbeans-vm.apache.org/synergy;>Synergy 
(users, tribes and test runs) to have development builds fully tested and 
Release Candidate build certified
 
 
 watching quality status and progress of stabilization through JIRA bug 
dashboard and discussions on NetCAT mailing list


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch master updated: Updating JDK8 settings in jenkins job.

2019-07-09 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
 new fce26af  Updating JDK8 settings in jenkins job.
fce26af is described below

commit fce26af65858dc28bfecfbe9d07c1e5f2b0eab6d
Author: Antonio Vieiro 
AuthorDate: Tue Jul 9 16:12:15 2019 +0200

Updating JDK8 settings in jenkins job.
---
 netbeans.apache.org/src/content/index.asciidoc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/netbeans.apache.org/src/content/index.asciidoc 
b/netbeans.apache.org/src/content/index.asciidoc
index 48acb11..566e921 100644
--- a/netbeans.apache.org/src/content/index.asciidoc
+++ b/netbeans.apache.org/src/content/index.asciidoc
@@ -60,7 +60,6 @@ See how you can participate by 
link:/participate/submit-pr.html[submitting pull
 We are currently reviewing the tutorials. See how you can 
link:http://netbeans.apache.org/kb/docs/contributing.html[help us] review the 
link:http://netbeans.apache.org/kb/docs/java/[Java] and 
link:http://netbeans.apache.org/kb/docs/php/[PHP] tutorials.
 
 
-
 
 
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch master updated: Updating link to Synergy

2019-07-09 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
 new f7b82a3  Updating link to Synergy
f7b82a3 is described below

commit f7b82a313ba9cad9cb271a4e67a2cb11f4e9a8c9
Author: Antonio Vieiro 
AuthorDate: Tue Jul 9 14:52:58 2019 +0200

Updating link to Synergy
---
 netbeans.apache.org/src/content/participate/netcat.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netbeans.apache.org/src/content/participate/netcat.asciidoc 
b/netbeans.apache.org/src/content/participate/netcat.asciidoc
index b88c8bf..fa707ff 100644
--- a/netbeans.apache.org/src/content/participate/netcat.asciidoc
+++ b/netbeans.apache.org/src/content/participate/netcat.asciidoc
@@ -127,7 +127,7 @@ NetCAT programs. As the NetCAT coordinator you will be 
responsible for:
 - updating NetCAT web content mainly prior to start of the program
 - sending an invite message and promoting the program to assemble enough 
NetCAT participants
 - forming NetCAT tribes, finding their leaders and supporting them throughout 
the program
-- maintaining link:https://services.netbeans.org/synergy[Synergy] (users, 
tribes and test runs) to have development builds fully tested and Release 
Candidate build certified
+- maintaining link:http://netbeans-vm.apache.org/synergy[Synergy] (users, 
tribes and test runs) to have development builds fully tested and Release 
Candidate build certified
 - watching quality status and progress of stabilization through JIRA bug 
dashboard and discussions on NetCAT mailing list
 - if needed encouraging higher participation in the program by writing weekly 
status reports, organizing online meetings, creating online surveys etc.
 - creating final Community Acceptance survey, processing and publishing its 
results


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2794) Alt+F7 find usages not working in gradle project

2019-07-09 Thread Michael D Billman (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16881194#comment-16881194
 ] 

Michael D Billman commented on NETBEANS-2794:
-

Glad to see there was a resolution.  I'll look for the update soon.

> Alt+F7 find usages not working in gradle project
> 
>
> Key: NETBEANS-2794
> URL: https://issues.apache.org/jira/browse/NETBEANS-2794
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.1
>Reporter: Michael D Billman
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Attachments: Test.zip, image-2019-07-03-13-28-42-721.png, 
> image-2019-07-03-13-29-06-221.png, messages.log
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> I am having trouble with find usages not returning any results.  Sample 
> project attached.
> public class CartonLocationNoticeMsg extends CartonLocationNotice
> {
> }
> ...
> public class CartonLocationNotice
> {
> }
> !image-2019-07-03-13-28-42-721.png!
> !image-2019-07-03-13-29-06-221.png!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-2818) NPE with "Pull Up" refactoring

2019-07-09 Thread Aldo Brucale (JIRA)
Aldo Brucale created NETBEANS-2818:
--

 Summary: NPE with "Pull Up" refactoring
 Key: NETBEANS-2818
 URL: https://issues.apache.org/jira/browse/NETBEANS-2818
 Project: NetBeans
  Issue Type: Bug
  Components: java - Refactoring
Affects Versions: 11.1
Reporter: Aldo Brucale


An exception is thrown when I try to move a method to the superclass. I'm using 
Netbeans 11.1 beta 3.

{noformat}
java.lang.NullPointerException
at 
org.netbeans.modules.refactoring.java.plugins.PullUpTransformer.addMemberToTarget(PullUpTransformer.java:208)
at 
org.netbeans.modules.refactoring.java.plugins.PullUpTransformer.addMembersToTarget(PullUpTransformer.java:114)
at 
org.netbeans.modules.refactoring.java.plugins.PullUpTransformer.visitClass(PullUpTransformer.java:82)
at 
org.netbeans.modules.refactoring.java.plugins.PullUpTransformer.visitClass(PullUpTransformer.java:57)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:192)
at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:76)
at 
jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
at 
jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
at 
jdk.compiler/com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.scan(RefactoringVisitor.java:192)
at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:443)
at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:408)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:166)
at 
org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:138)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
at 
org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:317)
at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:263)
at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:245)
at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.createAndAddElements(JavaRefactoringPlugin.java:326)
at 
org.netbeans.modules.refactoring.java.plugins.PullUpRefactoringPlugin.prepare(PullUpRefactoringPlugin.java:261)
[catch] at 
org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:417)
at 
org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:401)
at 
org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:212)
at 
org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:1063)
at