cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo doesn't resolve any Action Seam

roccapl_
Confirmed Champ
Confirmed Champ

I set up eclipse on a windows 7 machine with the 5.6 tomcat release of nuxeo. I created a fresh new workspace. I'm using java 1.6.0_37 to run the server. I installed the latest stable version of Nuxeo IDE. I've created a Nuxeo Plugin Project using the wizard and then an Action Seam called 'test' using the wizard without modyfing any code.

Nuxeo complains with:


ERROR [org.nuxeo.ecm.platform.actions.DefaultActionFilter] evaluation of condition SeamContext.get("test").accept() failed: returning false

and if i delete the filter condition from the xml then i get this error

ERROR [javax.enterprise.resource.webcontainer.jsf.application] javax.el.PropertyNotFoundException: Target Unreachable, identifier 'test' resolved to null

what could have happened?

1 ACCEPTED ANSWER

slacoin_Lacoin
Star Contributor
Star Contributor

The seam action bean is not loaded because the nuxeo runtime used is not a SDK. The SDK distribution includes is pre-bundled with all sources and also some development components that we don't want in a standard distribution. The seam hot-reloader is bundled in that way.

View answer in original post

23 REPLIES 23

roccapl_
Confirmed Champ
Confirmed Champ

What should I try to solve this? Should I use a particular version of Eclipse (I'm using Juno) or Java (1.6.0_37)?

slacoin_Lacoin
Star Contributor
Star Contributor

I can't reproduce with the last stable IDE release (1.1.10.R11x_v20121116_1232) on juno. Can you enable the following trace in NUXEO_HOME/lib/log4j.xml and watch in NUXEO_HOME/log/server.log for something going wrong.

roccapl_
Confirmed Champ
Confirmed Champ

I don't know, these are the lines just before and after the error.

roccapl_
Confirmed Champ
Confirmed Champ

I'm using the same version of Nuxeo IDE as yours (the current stable). I tried on two different Windows and on a Linux computer and I get the same error. For more information, because all the OS are 64 bit I'm using 64 bit versions for both java and eclipse. Should I use 32 bit?

slacoin_Lacoin
Star Contributor
Star Contributor

No, I don't think the architecture is related to. Can you give me an access to the your project sources ?

slacoin_Lacoin
Star Contributor
Star Contributor

Can you check you don't have a duplicate component for "test" in your log. Using a such generic name may be the error cause.

roccapl_
Confirmed Champ
Confirmed Champ

There are no project sources

roccapl_
Confirmed Champ
Confirmed Champ

No, I tried in a friend's computer which didn't even have eclipse installed, and also in a new installation of linux, there were no other project in the workspace and I tried with random names like "sdgdsd". But still the problem persists

slacoin_Lacoin
Star Contributor
Star Contributor

Do you have a line like this in your server.log ?

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.