cancel
Showing results for 
Search instead for 
Did you mean: 

Namespace prefix is not mapped to a namespace URI

dmralfing
Champ in-the-making
Champ in-the-making
I'm creating models in my development environment. Sometimes, when I change something in a model and restart repository, Alfresco become crazy and doesn´t start showing in the log this error:


Caused by: org.alfresco.service.namespace.NamespaceException:
Namespace prefix  is not mapped to a namespace URI


I can guarantee that there aren´t erros in the XML, if I put the same XML in a new Alfresco installation it works OK. Every time I have this problem I do not have any other way than delete my database + alf_data to start with the repositoy empty having lost all data. Does it exist any solution that make me retrieve my repository?. Affortunately I can assume it in a development environment, but I´m afraid that if occurs in a production environment I will end up in Jail. Alfresco is very dangerous, not giving any solution when it happens something like this. Maybe touch the database?. This kind of things make me think again if I should consider other content management systems more reliable than Alfresco, it´s absolutely unbelievable to assume the fact that change your content models without error can produces inconsistences in your system that avoid restart, it´s a big risk!
   Please, tell me that I´m wrong and it exist any manner to retrieve your system when it happens something like this!.

5 REPLIES 5

mrogers
Star Contributor
Star Contributor
You simply have a broken model.  Fix that and alfresco will start.   

Where and how are you defining the models?

dmralfing
Champ in-the-making
Champ in-the-making
This is the code:

<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="prtls:documentoIntranetModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
   <!– Optional meta-data about the model –>  
   <description>Modelo Documental - Intranet Portales</description>
   <author></author>
   <version>1.0</version>

   <!– Imports are required to allow references to definitions in other models –>  
   <imports>
      <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
      <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
      <import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
      <import uri="http://www.alfresco.org/model/datalist/1.0" prefix="dl"/>
   </imports>
   <namespaces>      
    
      <namespace uri="http://www.alfresco.org/model/documento-intranet/1.0" prefix="prtls"/>      
<!–
        <namespace uri="http://www.alfresco.org/model/documentointranet/1.0" prefix="prtls"/>      
   –>
   </namespaces>
   <constraints>
   <constraint name="prtls:listaValoresUltimaHora" type="LIST">
         <parameter name="allowedValues">
            <list>
               <value>Si</value>
               <value>No</value>
               <value>No se sabe</value>
            </list>
         </parameter>
         <parameter name="caseSensitive">
            <value>true</value>
         </parameter>
   </constraint>
   <constraint name="prtls:carga-origenes" type="portales.intranet.constraints.gabinete.ValoresCategoriaArchivo" >   
                     <parameter name="allowedValues"><list/></parameter>
                     <parameter name="caseSensitive"><value>true</value></parameter>
   </constraint>

   </constraints>
<types>
<type name="prtls:tipos">
       <title>Intranet/Catálogo de Valores/03.Tipos</title>
       <description>Tipos</description>
       <parent>dl:dataListItem</parent>
       <properties>
         <property name="prtls:documento-tipos">
            <title>Tipo</title>
            <type>d:text</type>
            <mandatory>true</mandatory>
         </property>
      </properties>      
</type>
<type name="prtls:origenes">
       <title>Intranet/Catálogo de Valores/01.Unidades</title>
       <description>Unidades</description>
       <parent>dl:dataListItem</parent>
       <properties>
         <property name="prtls:origen-abierto">
            <title>Unidad</title>
            <type>d:text</type>
            <mandatory>true</mandatory>
         </property>
         <property name="prtls:url-origen-abierto">
            <title>URL Unidad</title>
            <type>d:text</type>
            <mandatory>true</mandatory>
         </property>
      </properties>      
</type>
<type name="prtls:categorias">
       <title>Intranet/Catálogo de Valores/02.Temáticas</title>
       <description>Temáticas</description>
       <parent>dl:dataListItem</parent>
       <properties>
          <property name="prtls:origen-cerrado">
           <title>Unidad</title>
            <type>d:text</type>
            <mandatory>false</mandatory>
         </property>
         <property name="prtls:categorias">
         <title>Temática</title>
            <type>d:text</type>
            <mandatory>true</mandatory>
      </property>
      </properties>      
</type>
<type name="prtls:carpetaIntranet">
      <!–  <title>Carpeta genérica de Intranet de Portales</title>–>
      <parent>cm:folder</parent>
      <properties>
      <property name="prtls:metadatoCarpeta">
         <type>d:text</type>
         <mandatory>false</mandatory>
         </property>
      </properties>
</type>
<type name="prtls:documentoIntranet">
   <title>Documento genérico de Intranet de Portales</title>
      <parent>cm:content</parent>
      <properties>
      <property name="prtls:tipo_documento">
            <type>d:text</type>
            <mandatory>false</mandatory>
      </property>
      <property name="prtls:origen">
            <type>d:text</type>
            <mandatory>false</mandatory>
      </property>
      <property name="prtls:suborigen">
            <type>d:text</type>
            <mandatory>false</mandatory>
      </property>
      <property name="prtls:categoria">
            <type>d:text</type>
            <mandatory>false</mandatory>
      </property>
         </properties>
      </type>
     
      <type name="prtls:documentoGabineteComunicacion">
     <title>Documento de Gabinete de comunicación de Intranet</title>
      <parent>prtls:documentoIntranet</parent>
      <properties>
      <property name="prtls:categoriaArchivo">
            <type>d:text</type>
            <mandatory>false</mandatory>
            <multiple>true</multiple>
            <constraints>
                  <constraint ref="prtls:carga-origenes"/>
            </constraints>
      </property>
      <property name="prtls:categoriaPublicacion">
            <type>d:text</type>
            <mandatory>false</mandatory>
            <multiple>true</multiple>
      </property>
            <property name="prtls:categoriaTemasActualidad">
            <type>d:text</type>
            <mandatory>false</mandatory>
            <multiple>true</multiple>
      </property>
      <property name="prtls:comunidadAutonoma">
            <type>d:text</type>
            <mandatory>false</mandatory>
            <multiple>false</multiple>
      </property>
      <property name="prtls:fechaReferencia">
            <type>d:date</type>
            <mandatory>true</mandatory>
            <multiple>false</multiple>
      </property>
            <property name="prtls:publicacion">
            <type>d:text</type>
            <mandatory>false</mandatory>
            <multiple>false</multiple>
      </property>
            <property name="prtls:publicacionRegional">
            <type>d:text</type>
            <mandatory>false</mandatory>
            <multiple>true</multiple>
      </property>
            <property name="prtls:ultimaHora">
            <type>d:text</type>
            <mandatory>false</mandatory>
            <multiple>true</multiple>
            <constraints>
                  <constraint ref="prtls:listaValoresUltimaHora"/>
            </constraints>
      </property>
         </properties>
      </type>
       
      <type name="prtls:valoresGabinetes">
       <title>Intranet/Catálogo de Valores/Gabinete de Comunicación</title>
       <description>Gabinete de Comunicación: Valores de Catálogos</description>
       <parent>dl:dataListItem</parent>
       <properties>
         <property name="prtls:valorCatalogoGabinete">
            <title>Valor Catálogo Gabinete</title>
            <type>d:text</type>
            <mandatory>true</mandatory>
         </property>
      </properties>      
   </type>
   
       <type name="prtls:gabineteValoresArchivo">
       <title>Intranet/Gabinete de comunicación/Categorías de Archivo</title>
       <description>Intranet: Gabinete de comunicación - Categorías de Archivo</description>
       <parent>dl:dataListItem</parent>
       <mandatory-aspects><aspect>prtls:valorCatalogo</aspect></mandatory-aspects>   
      </type>
      <type name="prtls:gabineteValoresCCAA">
       <title>Intranet/Gabinete de comunicación/Categorías de Comunidades Autónomas</title>
       <description>Intranet:Gabinete de comunicación - Categorías de Comunidades Autónomas</description>
       <parent>dl:dataListItem</parent>
       <mandatory-aspects><aspect>prtls:valorCatalogo</aspect></mandatory-aspects>   
      </type>
      <type name="prtls:gabineteValoresPublicaciones">
       <title>Intranet/Gabinete de comunicación/Categorías de Publicaciones</title>
       <description>Intranet: Gabinete de Comunicación - Categorías de Publicaciones</description>
       <parent>dl:dataListItem</parent>
       <mandatory-aspects><aspect>prtls:valorCatalogo</aspect></mandatory-aspects>   
      </type>
      <type name="prtls:gabineteValoresPublicacionesRegionales">
       <title>Intranet/Gabinete de comunicación/Categorías de Publicaciones Regionales</title>
       <description>Intranet: Gabinete de Comunicación - Categorías de Publicaciones Regionales</description>
       <parent>dl:dataListItem</parent>
       <mandatory-aspects><aspect>prtls:valorCatalogo</aspect></mandatory-aspects>   
      </type>
      <type name="prtls:gabineteValoresTemasActualidad">
       <title>Intranet/Gabinete de comunicación/Categorías de Temas de Actualidad</title>
       <description>Intranet: Gabinete de Comunicación - Categorías de Temas de Actualidad</description>
       <parent>dl:dataListItem</parent>
       <mandatory-aspects><aspect>prtls:valorCatalogo</aspect></mandatory-aspects>   
      </type>
    </types>
    <aspects>
      <aspect name="prtls:valorCatalogo">
         <title>Valor Catálogo</title>
         <properties>
            <property name="prtls:valortexto">
               <type>text</type>
            </property>
         </properties>
      </aspect>
   </aspects>
   
</model>

This is the Exception produced:

20:30:06,877 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'intranet.modelos.documento-general' defined in class path resource [alfresco/module/intranetAmp/context/intranet-modelos-context.xml]: Invocation of init method failed; nested exception is org.alfresco.service.cmr.dictionary.DictionaryException: 02050001 Could not import bootstrap model alfresco/module/intranetAmp/model/intranetDocumentoGeneralModel.xml
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
   at org.apache.catalina.core.StandardService.start(StandardService.java:525)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 02050001 Could not import bootstrap model alfresco/module/intranetAmp/model/intranetDocumentoGeneralModel.xml
   at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:158)
   at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:105)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
   … 37 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 02050000 Failed to compile model prtls:documentoIntranetModel
   at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:108)
   at org.alfresco.repo.dictionary.M2Model.compile(M2Model.java:163)
   at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModelImpl(DictionaryDAOImpl.java:305)
   at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModel(DictionaryDAOImpl.java:288)
   at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:154)
   … 45 more
Caused by: org.alfresco.service.namespace.NamespaceException: Namespace prefix  is not mapped to a namespace URI
   at org.alfresco.service.namespace.QName.createQName(QName.java:99)
   at org.alfresco.service.namespace.QName.createQName(QName.java:121)
   at org.alfresco.repo.dictionary.M2PropertyDefinition.<init>(M2PropertyDefinition.java:68)
   at org.alfresco.repo.dictionary.M2ClassDefinition.<init>(M2ClassDefinition.java:102)
   at org.alfresco.repo.dictionary.M2AspectDefinition.<init>(M2AspectDefinition.java:42)
   at org.alfresco.repo.dictionary.CompiledModel.constructDefinitions(CompiledModel.java:161)
   at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:88)
   … 49 more
20:39:44,955 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
20:39:44,977 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
20:39:54,974 WARN  [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active
20:39:59,563 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Registered component: ModuleComponent[ module=intranetAmp, name=justicia.intranetamp.component, since=1.0, appliesFrom=1.0, appliesTo=999, onceOnly=true]
20:40:00,121 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
20:40:00,121 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
20:40:00,132 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'intranet.modelos.documento-general' defined in class path resource [alfresco/module/intranetAmp/context/intranet-modelos-context.xml]: Invocation of init method failed; nested exception is org.alfresco.service.cmr.dictionary.DictionaryException: 02050001 Could not import bootstrap model alfresco/module/intranetAmp/model/intranetDocumentoGeneralModel.xml
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
   at org.apache.catalina.core.StandardService.start(StandardService.java:525)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 02050001 Could not import bootstrap model alfresco/module/intranetAmp/model/intranetDocumentoGeneralModel.xml
   at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:158)
   at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:105)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
   … 37 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 02050000 Failed to compile model prtls:documentoIntranetModel
   at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:108)
   at org.alfresco.repo.dictionary.M2Model.compile(M2Model.java:163)
   at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModelImpl(DictionaryDAOImpl.java:305)
   at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModel(DictionaryDAOImpl.java:288)
   at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:154)
   … 45 more
Caused by: org.alfresco.service.namespace.NamespaceException: Namespace prefix  is not mapped to a namespace URI
   at org.alfresco.service.namespace.QName.createQName(QName.java:99)
   at org.alfresco.service.namespace.QName.createQName(QName.java:121)
   at org.alfresco.repo.dictionary.M2PropertyDefinition.<init>(M2PropertyDefinition.java:68)
   at org.alfresco.repo.dictionary.M2ClassDefinition.<init>(M2ClassDefinition.java:102)
   at org.alfresco.repo.dictionary.M2AspectDefinition.<init>(M2AspectDefinition.java:42)
   at org.alfresco.repo.dictionary.CompiledModel.constructDefinitions(CompiledModel.java:161)
   at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:88)
   … 49 more


I have already deleted indexes and caches. For me it´s not problem to spend time doing whatever it might be necessary, like delete the appropiate rows in the database, but I need to know it exist the guarantee to retrieve the system if this kind of things occurs longer in the future. The version is 4.1.2, I need to prove the stability of Alfresco. I promise you I´m not doing bat habits, nothing against recommendations neither nothing weird, it´s only modify a type!

kaynezhang
World-Class Innovator
World-Class Innovator
Please pay attention to your aspect "prtls:valorCatalogo"'s definition ,datatype of property "prtls:valortexto"  should be d:text instead of text..

Be carefull ,good luck

    <aspects>

      <aspect name="prtls:valorCatalogo">

         <title>Valor Catálogo</title>

         <properties>

            <property name="prtls:valortexto">

               <type>text</type>

            </property>

         </properties>

      </aspect>

   </aspects>

dmralfing
Champ in-the-making
Champ in-the-making
Yes, that´s right, but the error telling something about the namespace confused me.
Thank you

kaynezhang
World-Class Innovator
World-Class Innovator
Since there is no prefix in
<type>text</type>
element ,I guess alfresco treat it as an empty prefix.and this empty prefix is not mapped to a namespace URI