- This topic has 6 replies, 5 voices, and was last updated 15 years, 2 months ago by elabuschagne.
-
AuthorPosts
-
mikelmikeMemberUsing MyEclipse 6.5.1 Enterprise, created a WebService using JAX-WS from a Java bean, all works fine.
Then updated the class (added a new method), went again to the wizard to regenerate the WebService, but the New Web Service form has all fields but Java bean field disabled.
Clicked on the Finish button, received an error:
“An internal error occurred during: “Generating JAX-WS Web Services”.
Invalid thread access”
Error Log shows this:java.lang.NullPointerException
at com.genuitec.eclipse.ws.jaxws.WSDLManager.parse(WSDLManager.java:54)
at com.genuitec.eclipse.ws.jaxws.WSDLManager.copyTo(WSDLManager.java:98)
at com.genuitec.eclipse.ws.jaxws.JaxWSBUJob.manageWSDL(JaxWSBUJob.java:186)
at com.genuitec.eclipse.ws.jaxws.JaxWSBUJob.run(JaxWSBUJob.java:131)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)Please help.
Loyal WaterMemberCan you create a new project and try reproducing this issue. Are you able to reproduce it?
Incase you are able to reproduce this issue, can you list the steps you have followed so that I can test this at my end as well.
Also, can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
mikelmikeMemberPer your request I created a new project, but was not able to reproduce the problem.
In the old project can consistently reproduce the error, the exception is:!ENTRY org.eclipse.jdt.apt.core 2 1 2008-10-20 13:07:49.187
!MESSAGE Unexpected failure running APT on the file(s): RuleServiceDelegate.java, RuleService.java
!STACK 0
com.sun.tools.ws.wscompile.AbortException
at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.onError(WebServiceAP.java:224)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateWrappers(WebServiceWrapperGenerator.java:195)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.processMethod(WebServiceWrapperGenerator.java:125)
at
…………………………From the Installation Details:
*** Date:
Monday, October 20, 2008 1:12:13 PM EDT** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_16*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.1 GA
Build id: 6.5.1-GA-20080715*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.5.1 GA
Build id: 6.5.1-GA-20080715Eclipse Platform
Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800Eclipse RCP
Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800Eclipse Java Development Tools
Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800Eclipse Plug-in Development Environment
Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800Eclipse Project SDK
Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800Eclipse Graphical Editing Framework
Version: 3.3.2.v20080129
Build id: 20080221-1602Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Program Files\MyEclipse\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
-startup
C:\Program Files\MyEclipse\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-exitdata
984_7bc
-clean
-perspective
ilog.rules.studio.ui.perspectives.RuleEditingPerspective
-nl
en_US
-vm
C:\Program Files\Java\jdk1.5.0_16\jre\bin\javaw.exe
Loyal WaterMemberCan you try cleaning you workspace and check if it helps. Looks an project related issue to me. Maybe your project has gone corrupt.
https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/
bsumnMemberI ran into the exact same error message while trying to re-generate a Web Service from a java file in a project that I had created using MyEclipse 6.5. I had imported the project into MyEclipse 7.0 and was trying to use 7.0 to do the re-generation. I had thought that importing a project would copy the project into the workspace that I had set up for 7.0 but I see that the project remains in its old location. In any case, several attempts to re-generate the project always produced the error. Since I never uninstalled MyEclipse 6.5 I decided to start it up and try. MyEclipse 6.5 was still able to re-generate the Web Service from the java file with no problem.
Mike SmithsonMemberNope, tried to recreate with a clean workspace, still get the same error.
elabuschagneParticipantFYI – I got this exact same problem.
I deleted my .metadata folder from my workspace (in effect destroying my workspace, I guess) and re-created the workspace my importing the projects.
The problem went away after that (-clean also did not work for me).
HTH
-
AuthorPosts