[JBoss JIRA] Created: (JBIDE-6054) NullPointerException when trying to rename method
by Vadim Berezniker (JIRA)
NullPointerException when trying to rename method
-------------------------------------------------
Key: JBIDE-6054
URL: https://jira.jboss.org/jira/browse/JBIDE-6054
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.1.0.GA
Reporter: Vadim Berezniker
I have a seam-gen ant based project.
When I attempt to rename a method, the refactoring process sits there for a bit in "Checking preconditions" state and then I get an error dialog that says "The participant '<method name>' caused an internal error and has been disabled for refactoring."
The following exception is seen in the Eclipse log right after the message:
!ENTRY org.eclipse.ltk.core.refactoring 4 10000 2010-03-13 00:18:41.025
!MESSAGE Internal Error
!STACK 0
java.lang.NullPointerException
at org.jboss.tools.common.el.core.ca.AbstractELCompletionEngine.resolveELOperand(AbstractELCompletionEngine.java:256)
at org.jboss.tools.common.el.core.ca.AbstractELCompletionEngine.resolve(AbstractELCompletionEngine.java:131)
at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.searchInCach(RefactorSearcher.java:210)
at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.scan(RefactorSearcher.java:188)
at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.scan(RefactorSearcher.java:148)
at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.scan(RefactorSearcher.java:146)
at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.scan(RefactorSearcher.java:146)
at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.scan(RefactorSearcher.java:146)
at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.scan(RefactorSearcher.java:146)
at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.scan(RefactorSearcher.java:146)
at org.jboss.tools.jsf.el.refactoring.RefactorSearcher.findELReferences(RefactorSearcher.java:114)
at org.jboss.tools.jsf.ui.el.refactoring.RenameMethodParticipant.checkConditions(RenameMethodParticipant.java:70)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:257)
at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:85)
at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:211)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
I recently updated to 3.1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (JBIDE-5924) Intermittent issue with generating Web Service classes from WSDL
by Brian Fitzpatrick (JIRA)
Intermittent issue with generating Web Service classes from WSDL
----------------------------------------------------------------
Key: JBIDE-5924
URL: https://jira.jboss.org/jira/browse/JBIDE-5924
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Webservices
Affects Versions: 2.1.1
Reporter: Brian Fitzpatrick
https://enterprise.redhat.com/issue-tracker/536423
********
[JBOSS] Failed to Generate Web Service Classes from WSDL
********
This case was originally submitted on the Redhat Support site and transferred here to the JBoss Support site. Apologies for the initial lack of information; that information was not transferred over.
This is a problem that is happening inside JBoss's Developer's Studio. Here are the technologies being used:
Operating System: Fedora 12
JBoss Developer's Studio v2.1.1.GA
JBoss Application Server v5.1.0.GA
JBoss WS Tools v3.2.2.GA
Java SDK 1.6.0_17
I have been creating "Top Down Java Bean Web Services" from a WSDL file using the File->New->Web Service wizard. After the installation of JBoss Dev Studio, this function worked perfectly and created all the necessary classes in the package that I was specifying.
After a few weeks, this function seemed to become slightly broken. All of a sudden, going through the same process, I started to receive a "Failed to generate implementation class" error when hitting Finish at the end of the wizard. It stopped creating the Implementation class of the Web Service, but it created the other classes. This wasn't a huge deal because I have been developing the Implementation class myself and it was still providing the other supporting classes for the web service.
Just recently, this function has stopped working completely. It no longer creates ANY of the classes and I still get the "Failed to generate implementation class" error when I hit Finish at the end of the Wizard.
When I originally created this ticket on the Redhat Support site, the wizard started to work again while I was taking screen shots to show the errors, but it has stopped working again.
***************
In addition to the problem above:
In my WSDL file, I have a function called validLogin that returns a complex object UserBean. UserBean.java is a java object that I created. It resides in another project called "Commons" inside of JBoss Dev Studio under the package "com.beans"
When I first created this WSDL file, I believe it worked fine by just putting in "com.beans.UserBean". The wsdl file seemed to pick up the UserBean object automatically because I have the Commons project linked to the accessdb project through the Build Path.
Now this function doesn't seem to be working anymore. When the "web service wizard" was working or if I do the "create web client from wsdl wizard", it doesn't seem to recognize the UserBean class in the Commons project. It tries to make a new object called ComBeansUserBean as well as UserBean.
Can you instruct me on the best way to tell my WSDL file to return a complex object residing in a different project using the Design view of the wsdl creator?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months