This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 186908 - [69cat] IllegalArgumentException: TreePathHandle [/home/hmichel/projetos/riobranco/cotacao/src/servico_agendamento_servicos/net/riobranco/vendas/services/nota_fiscal_eletronica/retorno/ParametrizacaoRetornoEm
Summary: [69cat] IllegalArgumentException: TreePathHandle [/home/hmichel/projetos/riob...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 16:41 UTC by Michel Graciano
Modified: 2010-12-03 06:21 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167489


Attachments
stacktrace (3.82 KB, text/plain)
2010-05-28 16:41 UTC, Michel Graciano
Details
stacktrace (3.82 KB, text/plain)
2010-05-28 17:59 UTC, Michel Graciano
Details
stacktrace (3.00 KB, text/plain)
2010-05-29 01:41 UTC, XVilka
Details
stacktrace (2.72 KB, text/plain)
2010-06-18 16:52 UTC, Vladimir Voskresensky
Details
stacktrace (2.59 KB, text/plain)
2010-06-29 10:53 UTC, aldobrucale
Details
stacktrace (2.72 KB, text/plain)
2010-07-29 10:13 UTC, aldobrucale
Details
stacktrace (2.53 KB, text/plain)
2010-10-06 13:13 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2010-05-28 16:41:00 UTC
Build: NetBeans IDE 6.9 RC1 (Build 201005242201)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
janicki: Tried to refactor an abstract method's parameters.  (Right-click > Refactor > Change method parameters)  The exception occured as the refactor dialog was trying to display.  (The window looked to be missing some widgets?)  Note that the abstract method was in the Java source code for an "enum" (not a regular "class").

tnleeuw: Tried to change method signature (refactoring) for a method in an interface.

hmichel: Calling change method parameter refactoring

tnleeuw: Tried to refactor an interface method (with 1 implementation); I selected the interface method from an occurrence of it in the code (not the definition).




Stacktrace: 
java.lang.IllegalArgumentException: TreePathHandle [/home/hmichel/projetos/riobranco/cotacao/src/servico_agendamento_servicos/net/riobranco/vendas/services/nota_fiscal_eletronica/retorno/ParametrizacaoRetornoEmissaoNotaFiscalEletronica.java] was not created from /home/hmichel/projetos/riobranco/cotacao/src/shared/net/riobranco/vendas/services/CommandExecutorWrapper.java
mine: id=MasterFileObject[/home/hmichel/projetos/riobranco/cotacao/src/servico_agendamento_servicos/net/riobranco/vendas/services/nota_fiscal_eletronica/retorno/ParametrizacaoRetornoEmissaoNotaFiscalEletronica.java@d7eec1:1e2ad2f,valid=true], url=file:/home/hmichel/projetos/riobranco/cotacao/src/servico_agendamento_servicos/net/riobranco/vendas/services/nota_fiscal_eletronica/retorno/ParametrizacaoRetornoEmissaoNotaFiscalEletronica.java
remote: id=MasterFileObject[/home/hmichel/projetos/riobranco/cotacao/src/shared/net/riobranco/vendas/services/CommandExecutorWrapper.java@1c523b7:1869b28,valid=true], url=file:/home/hmichel/projetos/riobranco/c
   at org.netbeans.api.java.source.TreePathHandle$TreeDelegate.resolve(TreePathHandle.java:424)
   at org.netbeans.api.java.source.TreePathHandle.resolve(TreePathHandle.java:154)
   at org.netbeans.modules.refactoring.java.ui.ChangeParametersPanel$1.run(ChangeParametersPanel.java:136)
   at org.netbeans.modules.refactoring.java.ui.ChangeParametersPanel$1.run(ChangeParametersPanel.java:130)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:478)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154)
Comment 1 Michel Graciano 2010-05-28 16:41:05 UTC
Created attachment 99626 [details]
stacktrace
Comment 2 Michel Graciano 2010-05-28 17:59:40 UTC
Created attachment 99633 [details]
stacktrace
Comment 3 XVilka 2010-05-29 01:41:42 UTC
Created attachment 99638 [details]
stacktrace

Try refactor->Change method parameters.
Comment 4 Jan Jancura 2010-06-11 12:41:24 UTC
Can not reproduce. Can you attach some jar with some example files, please?
Comment 5 Vladimir Voskresensky 2010-06-18 16:52:20 UTC
Created attachment 100217 [details]
stacktrace

called change methods parameters on usaved file
Comment 6 aldobrucale 2010-06-29 10:53:04 UTC
Created attachment 100483 [details]
stacktrace

Starting refactoring "change method parameters"
Comment 7 Exceptions Reporter 2010-06-29 10:53:13 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=167489
Comment 8 aldobrucale 2010-07-29 10:13:29 UTC
Created attachment 101077 [details]
stacktrace

called "Change method parameters"
Comment 9 aldobrucale 2010-10-06 13:13:06 UTC
Created attachment 102281 [details]
stacktrace
Comment 10 Exceptions Reporter 2010-10-15 06:58:43 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=167489
Comment 11 Jan Becicka 2010-10-15 08:45:58 UTC
Changeset: http://hg.netbeans.org/jet-main/rev/e0e85795d6da
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2010-10-15 10:40
Message:   Issue #186908 - [69cat] IllegalArgumentException: TreePathHandle [/home/hmichel/projetos/riobranco/cotacao/src/servico_agendamento_servicos/net/riobranco/vendas/services/nota_fiscal_eletronica/retorno/ParametrizacaoRetornoEm
Comment 12 Quality Engineering 2010-10-17 02:56:43 UTC
Integrated into 'main-golden', will be available in build *201010170000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e0e85795d6da
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #186908 - [69cat] IllegalArgumentException: TreePathHandle [/home/hmichel/projetos/riobranco/cotacao/src/servico_agendamento_servicos/net/riobranco/vendas/services/nota_fiscal_eletronica/retorno/ParametrizacaoRetornoEm
Comment 13 Jan Becicka 2010-12-02 14:58:38 UTC
previous fix was not correct
Comment 14 Jan Becicka 2010-12-02 15:00:38 UTC
Changeset: http://hg.netbeans.org/jet-main/rev/b98caee688c0
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2010-12-02 15:59
Message:   Issue #186908 - [69cat] IllegalArgumentException: TreePathHandle [/home/hmichel/projetos/riobranco/cotacao/src/servico_agendamento_servicos/net/riobranco/vendas/services/nota_fiscal_eletronica/retorno/ParametrizacaoRetornoEm
Comment 15 Quality Engineering 2010-12-03 06:21:58 UTC
Integrated into 'main-golden', will be available in build *201012030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b98caee688c0
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #186908 - [69cat] IllegalArgumentException: TreePathHandle [/home/hmichel/projetos/riobranco/cotacao/src/servico_agendamento_servicos/net/riobranco/vendas/services/nota_fiscal_eletronica/retorno/ParametrizacaoRetornoEm