Code assist does not work in dvdstore example
asookazian Feb 2, 2010 12:53 AMusing Eclipse Galileo SR1, JBT 3.1.0.CR1
I installed the Seam dvdstore application (4 projects in total generated in my workspace) via the Eclipse Help --> Project Examples.
I corrected the server runtimes as they were pointed by default to EAP (which I don't have). All errors in the problems view are now gone.
The code completion in the xhtml files does not work (pop-up works but the values I'm expecting to be there for selection are not there).
Exception stack trace when I try to modify the xhtml file:
java.lang.ArrayStoreException
at java.lang.System.arraycopy(Native Method)
at java.util.ArrayList.toArray(ArrayList.java:306)
at org.jboss.tools.jst.web.kb.internal.JspContextImpl.getVars(JspContextImpl.java:87)
at org.jboss.tools.jst.web.kb.el.AbstractELCompletionEngine.resolve(AbstractELCompletionEngine.java:98)
at org.jboss.tools.jsf.web.validation.ELValidator.validateElOperand(ELValidator.java:410)
at org.jboss.tools.jsf.web.validation.ELValidator.validateELExpression(ELValidator.java:376)
at org.jboss.tools.jsf.web.validation.ELValidator.validateEL(ELValidator.java:283)
at org.jboss.tools.jsf.web.validation.ELValidator.validateDom(ELValidator.java:325)
at org.jboss.tools.jsf.web.validation.ELValidator.validateFile(ELValidator.java:276)
at org.jboss.tools.jsf.web.validation.ELValidator.validate(ELValidator.java:159)
at org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager.validate(ValidatorManager.java:92)
at org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager.validateInJob(ValidatorManager.java:75)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
session data:
eclipse.buildId=M20090917-0800
from Eclipse error log view.
Here is the .projects file contents:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>dvdstore</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.common.verification.verifybuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.seam.core.seambuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.hibernate.eclipse.console.hibernateBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.jst.web.kb.kbbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.jboss.tools.jsf.jsfnature</nature>
<nature>org.jboss.tools.seam.core.seamnature</nature>
<nature>org.hibernate.eclipse.console.hibernateNature</nature>
<nature>org.jboss.tools.jst.web.kb.kbnature</nature>
</natures>
</projectDescription>