cancel
Showing results for 
Search instead for 
Did you mean: 

Document types not properly loaded

fdgonthier_
Confirmed Champ
Confirmed Champ

I'm having a problem with proper hot reload of my Nuxeo project. I am trying to adapt my workflow so I can do correct hot reload of the server in the project. I have not deployed anything do the bundles directory.

All my components seems to load properly. The 'ClassificationRelation' doctype is registered properly:

2012-11-20 15:38:45,996 INFO  [org.nuxeo.ecm.core.schema.SchemaManagerImpl] Regi
stered document type: ClassificationRelation

But sadly as soon as a service tries to use the document type, I get an immediate crash, just as would happen if the document type wasn't properly registered.

	... 19 more
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.storage.sql.jdbc.QueryMaker$QueryMakerException. message: Unknown type: ClassificationRelation
	at org.nuxeo.ecm.core.storage.sql.jdbc.NXQLQueryMaker$QueryAnalyzer.visitFromClause(NXQLQueryMaker.java:885)
	at org.nuxeo.ecm.core.storage.sql.jdbc.NXQLQueryMaker$QueryAnalyzer.visitQuery(NXQLQueryMaker.java:853)

I have tried fiddling around with the orders in which the components are loaded but I didn't see enough differences to stay the course. I don't see any misbehavior in the log file.

9 REPLIES 9

slacoin_Lacoin
Star Contributor
Star Contributor

Can you share a project that I can load in my IDE for reproducing the problem ?

fdgonthier_
Confirmed Champ
Confirmed Champ

I certainly can't send the full project so I'll try to reproduce it in a smaller one.

Florent_Guillau
World-Class Innovator
World-Class Innovator

What Nuxeo version?

fdgonthier_
Confirmed Champ
Confirmed Champ

Happens on both 5.5-HF05 and 5.6.

fdgonthier_
Confirmed Champ
Confirmed Champ

I'm happy to say that the project that is hosted in this repository exhibits the problem

slacoin_Lacoin
Star Contributor
Star Contributor

I will have a look, thanks.

slacoin_Lacoin
Star Contributor
Star Contributor

I think that problem was already solved in NXP-10024 and released in 5.6-HF01 and 5.5-HF14. Can you try with the last SDK released. Here is the link for downloading.

I am using Nuxeo 5.6 HF07 now and I'm still having various problems with hot reload. Hot reload is still unusable for me.

I am using Nuxeo 5.6 HF07 now and I'm still having various problems with hot reload. Hot reload is still unusable for me.

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.