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 60129 - IllegalStateEx after change params of setSessionContext
Summary: IllegalStateEx after change params of setSessionContext
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Pavel Fiala
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2005-06-16 10:51 UTC by Lukas Jungmann
Modified: 2005-09-07 13:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2005-06-16 10:51:12 UTC
1. have ejb module with websvc
2. invoke change method parameters on setSessionContext(javax.ejb.SessionContext
aContext) method in websvc

=> java.lang.IllegalStateException: Cannot change "next" property of Problem.
	at org.netbeans.modules.refactoring.api.Problem.setNext(Problem.java:64)
	at
org.netbeans.modules.j2ee.refactoring.Utility.addProblemsToEnd(Utility.java:1066)
	at
org.netbeans.modules.j2ee.refactoring.J2EEChangeParamRefactoringPlugin.preCheck(J2EEChangeParamRefactoringPlugin.java:67)
	at
org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPreCheck(AbstractRefactoring.java:257)
	at
org.netbeans.modules.refactoring.api.AbstractRefactoring.preCheck(AbstractRefactoring.java:111)
	at
org.netbeans.modules.refactoring.spi.ui.ParametersPanel$9.run(ParametersPanel.java:438)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:419)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:794)
Comment 1 Lukas Jungmann 2005-06-16 11:13:03 UTC
this ex. is also thrown when changing method params of ejbActivate, ejbPasivate,
ejbRemove (all methods are from javax.ejb.SessionBean interface)
Comment 3 Lukas Jungmann 2005-09-07 13:39:00 UTC
v.