[switchyard-issues] [JBoss JIRA] (SWITCHYARD-593) SY Eclipse tools cannot create test classes using Eclipse 3.6

Rob Cernich (Created) (JIRA) jira-events at lists.jboss.org
Mon Dec 19 12:04:09 EST 2011


SY Eclipse tools cannot create test classes using Eclipse 3.6
-------------------------------------------------------------

                 Key: SWITCHYARD-593
                 URL: https://issues.jboss.org/browse/SWITCHYARD-593
             Project: SwitchYard
          Issue Type: Bug
    Affects Versions: 0.3
            Reporter: Rob Cernich
             Fix For: 0.4


The test file is blank and there is an exception in the Eclipse log.  This is caused by the AST language level used to create the source parser, used to add the methods.  The level used is only supported in Eclipse 3.7.1.


The typical error in the Eclipse log:

eclipse.buildId=M20110210-1200
java.version=1.6.0_27
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product


Error
Mon Dec 19 09:44:16 MST 2011
Error creating bean service class.

java.lang.IllegalArgumentException
at org.eclipse.jdt.core.dom.ASTParser.<init>(ASTParser.java:222)
at org.eclipse.jdt.core.dom.ASTParser.newParser(ASTParser.java:125)
at org.eclipse.jdt.internal.corext.refactoring.util.RefactoringASTParser.<init>(RefactoringASTParser.java:40)
at org.switchyard.tools.ui.wizards.NewServiceTestClassWizardPage.resolveServiceType(NewServiceTestClassWizardPage.java:298)
at org.switchyard.tools.ui.wizards.NewServiceTestClassWizardPage.createTypeMembers(NewServiceTestClassWizardPage.java:262)
at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.createType(NewTypeWizardPage.java:2068)
at org.switchyard.tools.ui.operations.CreateBeanServiceOperation.execute(CreateBeanServiceOperation.java:88)
at org.switchyard.tools.ui.operations.AbstractSwitchYardProjectOperation.run(AbstractSwitchYardProjectOperation.java:100)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
at org.switchyard.tools.ui.wizards.NewBeanServiceWizard$1.run(NewBeanServiceWizard.java:91)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the switchyard-issues mailing list