Dear all,
I get below error while building the package. Can you please someone help here
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
could you share the applied filters?
By reading the error seems that you are using a missing namespaces.
Probably you need to add the new namespace as described here [0].
[0] javax.jcr.NamespaceException: Unknown namespace prefix error in AEM
Thanks,
Antonio
Views
Replies
Total Likes
Hi,
can you describe which steps you perform to create your package and build it?
Thanks,
Antonio
Views
Replies
Total Likes
Hi @antoniom54959291 ,
Just created package, added filters and build it.
Views
Replies
Total Likes
Hi,
could you share the applied filters?
By reading the error seems that you are using a missing namespaces.
Probably you need to add the new namespace as described here [0].
[0] javax.jcr.NamespaceException: Unknown namespace prefix error in AEM
Thanks,
Antonio
Views
Replies
Total Likes
Below is the complete log
javax.jcr.NamespaceException: Unknown namespace prefix: ExtensisFontSense at org.apache.jackrabbit.oak.jcr.session.SessionNamespaces.getNamespaceURI(SessionNamespaces.java:140) at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNamespaceURI(SessionImpl.java:700) at org.apache.jackrabbit.vault.fs.impl.AggregateManagerImpl.getNamespaceURI(AggregateManagerImpl.java:313) at org.apache.jackrabbit.vault.fs.impl.AggregateImpl.getNamespaceURI(AggregateImpl.java:401) at org.apache.jackrabbit.vault.fs.impl.io.AbstractSAXFormatter.startNamespaceDeclarations(AbstractSAXFormatter.java:187) at org.apache.jackrabbit.vault.fs.impl.io.AbstractSAXFormatter.onWalkBegin(AbstractSAXFormatter.java:157) at org.apache.jackrabbit.vault.fs.impl.io.DocViewSAXFormatter.onWalkBegin(DocViewSAXFormatter.java:89) at org.apache.jackrabbit.vault.fs.impl.AggregateImpl.walk(AggregateImpl.java:423) at org.apache.jackrabbit.vault.fs.impl.io.DocViewSerializer.writeContent(DocViewSerializer.java:63) at org.apache.jackrabbit.vault.fs.SerializerArtifact.spool(SerializerArtifact.java:93) at org.apache.jackrabbit.vault.fs.io.JarExporter.writeFile(JarExporter.java:122) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:216) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:214) at org.apache.jackrabbit.vault.fs.io.AbstractExporter.export(AbstractExporter.java:184) at org.apache.jackrabbit.vault.packaging.impl.PackageManagerImpl.assemble(PackageManagerImpl.java:120) at org.apache.jackrabbit.vault.packaging.impl.PackageManagerImpl.assemble(PackageManagerImpl.java:82) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageManagerImpl.assemble(JcrPackageManagerImpl.java:466) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageManagerImpl.assemble(JcrPackageManagerImpl.java:447) at com.day.jcr.vault.packaging.impl.JrVltJcrPackageManagerAdapter.assemble(JrVltJcrPackageManagerAdapter.java:120) at com.day.crx.packaging.impl.J2EEPackageManager.consoleBuild(J2EEPackageManager.java:274) at com.day.crx.packaging.impl.J2EEPackageManager.doPost(J2EEPackageManager.java:163) at com.day.crx.packaging.impl.PackageManagerServlet.doPost(PackageManagerServlet.java:148) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:339) at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:300) at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:93) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:50) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:128) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:89) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:290) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at com.adobe.acs.commons.wcm.impl.AemEnvironmentIndicatorFilter.doFilter(AemEnvironmentIndicatorFilter.java:145) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:300) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:55) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:115) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:76) at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:49) at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745)
Error: Unknown namespace prefix: ExtensisFontSense
Views
Replies
Total Likes
Hi,
try following the steps described here [0] in order to add the "ExtensionsFontSense" as new namespace.
I think that you can just add something like i put in the following image:
[0] /external-link.jspa?url=https%3A%2F%2Fhelpx.adobe.com%2Fexperience-manager%2Fkb%2Fjavax-jcr-Namespac...javax.jcr.NamespaceException: Unknown namespace prefix error in AEM
Let me know.
Thanks,
Antonio
Views
Replies
Total Likes
Dear @antoniom54959291
But what should i add in URI for ExtensisFontSense?antoniom54959291
Views
Replies
Total Likes
Views
Replies
Total Likes
I get this error now
Unable to register new namespace mapping.Failed to register namespace mapping ExtensisFontSense -> http://www.extensis.com/meta/FontSense/
Views
Replies
Total Likes
Also this namespace is already registered. Please see the screenshot
Views
Replies
Total Likes
Hi,
are you sure that use the following data?
URI: http://www.extensis.com/meta/FontSense/
Prefix: ExtensisFontSense
I'm able to add it without any issue as the image below:
Views
Replies
Total Likes
I dont know why. I tried with Admin credentials, still not able to add.
Views
Replies
Total Likes
Hi,
have you inserted values without spaces?
Has i see from your image it seems that you just only need to add the prefix.
If you have tried with clean characters, i cannot give you any other suggestions.
Views
Replies
Total Likes
Is this problem for only 1 package or all packages?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies