You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2026/07/30 15:07:27 UTC
(jackrabbit) branch 2.22 updated (beaec22eb -> 2b90ca922)
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a change to branch 2.22
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git
from beaec22eb JCR-5247: update Apache parent pom to version 39
new 5d15d3f61 JCR-5249 : added broken prefix to exception message
new 4ac208f16 JCR-5249 : added broken prefix to other missing exception as well
new 2b90ca922 JCR-5249 : added broken uri to exception as well
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(jackrabbit) 01/03: JCR-5249 : added broken prefix to exception message
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a commit to branch 2.22
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git
commit 5d15d3f61c098a6163554d44853581ba98a08b23
Author: Rishabh Kumar <di...@adobe.com>
AuthorDate: Wed Jun 24 15:29:35 2026 +0530
JCR-5249 : added broken prefix to exception message
---
.../jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java b/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java
index 4d13fab49..fdd1e7c21 100644
--- a/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java
+++ b/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java
@@ -59,7 +59,7 @@ public class SessionNamespaceResolver implements NamespaceResolver {
return session.getNamespaceURI(prefix);
} catch (RepositoryException e) {
// should never get here...
- throw new NamespaceException("internal error: failed to resolve namespace prefix", e);
+ throw new NamespaceException("internal error: failed to resolve namespace prefix: " + prefix, e);
}
}
}
(jackrabbit) 03/03: JCR-5249 : added broken uri to exception as well
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a commit to branch 2.22
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git
commit 2b90ca9225c0468853bd62ea71ec0d70980d8525
Author: Rishabh Kumar <di...@adobe.com>
AuthorDate: Wed Jun 24 20:52:46 2026 +0530
JCR-5249 : added broken uri to exception as well
---
.../jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java | 2 +-
.../src/main/java/org/apache/jackrabbit/spi2jcr/SessionInfoImpl.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java b/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java
index fdd1e7c21..4f6bceff5 100644
--- a/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java
+++ b/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/namespace/SessionNamespaceResolver.java
@@ -47,7 +47,7 @@ public class SessionNamespaceResolver implements NamespaceResolver {
return session.getNamespacePrefix(uri);
} catch (RepositoryException e) {
// should never get here...
- throw new NamespaceException("internal error: failed to resolve namespace uri", e);
+ throw new NamespaceException("internal error: failed to resolve namespace uri: '" + uri + "'", e);
}
}
diff --git a/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/SessionInfoImpl.java b/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/SessionInfoImpl.java
index d6ef6859b..2c1045f52 100644
--- a/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/SessionInfoImpl.java
+++ b/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/SessionInfoImpl.java
@@ -110,7 +110,7 @@ class SessionInfoImpl implements SessionInfo {
}
catch (RepositoryException e) {
// should never get here...
- throw new NamespaceException("internal error: failed to resolve namespace prefix: '" + prefix + "'", e);
+ throw new NamespaceException("internal error: failed to resolve namespace prefix", e);
}
}
};
(jackrabbit) 02/03: JCR-5249 : added broken prefix to other missing exception as well
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a commit to branch 2.22
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git
commit 4ac208f16156ca9a8e9a6bcd21924e4592127219
Author: Rishabh Kumar <di...@adobe.com>
AuthorDate: Wed Jun 24 19:38:18 2026 +0530
JCR-5249 : added broken prefix to other missing exception as well
---
.../src/main/java/org/apache/jackrabbit/spi2jcr/SessionInfoImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/SessionInfoImpl.java b/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/SessionInfoImpl.java
index 2c1045f52..d6ef6859b 100644
--- a/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/SessionInfoImpl.java
+++ b/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/SessionInfoImpl.java
@@ -110,7 +110,7 @@ class SessionInfoImpl implements SessionInfo {
}
catch (RepositoryException e) {
// should never get here...
- throw new NamespaceException("internal error: failed to resolve namespace prefix", e);
+ throw new NamespaceException("internal error: failed to resolve namespace prefix: '" + prefix + "'", e);
}
}
};