-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 2.3
-
Component/s: None
-
Environment:
System Information
System Date Friday, 20 Apr 2007
System Time 16:26:04
System Favourite Colour Claret
Java Version 1.5.0_10
Java Vendor Sun Microsystems Inc.
JVM Version 1.0
JVM Vendor Sun Microsystems Inc.
JVM Implementation Version 1.5.0_10-b03
Java Runtime Java(TM) 2 Runtime Environment, Standard Edition
Java VM Java HotSpot(TM) Server VM
User Name SYSTEM
User Timezone Europe/Paris
Operating System Windows 2003 5.2
OS Architecture x86
Filesystem Encoding Cp1252Java VM Memory Statistics
Total Memory 975 MB
Free Memory 238 MB
Used Memory 737 MB
Memory Graph
[Used Memory (76 %)] [Free Memory (24 %)]
24 % FreeRuntime Information
Database Dialect com.atlassian.hibernate.dialect.MySQLDialect
Database Connection URL java:comp/env/jdbc/ConfluenceDS
Database Driver Name N/A
Database Driver Version N/A
Application Server Apache Tomcat/5.5.20
Servlet Version 2.4
Confluence Home D:\confluence\data
Uptime 8 days, 23 hours, 24 minutes, 17 seconds
Confluence Version 2.3
Build Number 641System Information System Date Friday, 20 Apr 2007 System Time 16:26:04 System Favourite Colour Claret Java Version 1.5.0_10 Java Vendor Sun Microsystems Inc. JVM Version 1.0 JVM Vendor Sun Microsystems Inc. JVM Implementation Version 1.5.0_10-b03 Java Runtime Java(TM) 2 Runtime Environment, Standard Edition Java VM Java HotSpot(TM) Server VM User Name SYSTEM User Timezone Europe/Paris Operating System Windows 2003 5.2 OS Architecture x86 Filesystem Encoding Cp1252 Java VM Memory Statistics Total Memory 975 MB Free Memory 238 MB Used Memory 737 MB Memory Graph [Used Memory (76 %)] [Free Memory (24 %)] 24 % Free Runtime Information Database Dialect com.atlassian.hibernate.dialect.MySQLDialect Database Connection URL java:comp/env/jdbc/ConfluenceDS Database Driver Name N/A Database Driver Version N/A Application Server Apache Tomcat/5.5.20 Servlet Version 2.4 Confluence Home D:\confluence\data Uptime 8 days, 23 hours, 24 minutes, 17 seconds Confluence Version 2.3 Build Number 641
Using the following macro:
{recently-updated:spaces=*|labels=nowhere_used_or_defined|types=page}with the label "no_where_used_or_defined" literately nowhere used or defined in confluence
In the preview pane the following is mentioned:
Error rendering macro: java.lang.NullPointerException
After saving the page you get the following result: a page gets displayed showing only the title, with no option what so ever to undo/edit the page afterwards. (see attachment) Espacially the inability to undo/edit the page afterwards is most annoying thing. Unless you know which label is causing the problem the only option a normal user has, is to delete the space and rebuild from crash. This is not a graceful way to handle an exception.
The workaround is to make sure that there is always at least one page with this label. But this case should be handled.