You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Geir Ove Grønmo (JIRA)" <ji...@apache.org> on 2007/10/12 12:08:50 UTC

[jira] Created: (WICKET-1065) NullPointer in FileCleaner causes infinite loop

NullPointer in FileCleaner causes infinite loop
-----------------------------------------------

                 Key: WICKET-1065
                 URL: https://issues.apache.org/jira/browse/WICKET-1065
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta4
         Environment: OpenSuse 10.3, Java 1.6.0 update 3, Apache Tomcat 5.5.25, Eclipse 3.3.0
            Reporter: Geir Ove Grønmo


While hot deploying a Wicket application from Eclipse to a Tomcat instance the "File Reaper" thread seems to go into an infinite loop making the CPU running at 100%. From the thread dump it is clear that a NullPointerException is being thrown on line 61 in FileCleaner.java. Looking at the source code reveals that the ReferenceQueue q member in FileCleaner is null.

"File Reaper" daemon prio=10 tid=0x08265c00 nid=0x18cf runnable [0x9a2d9000..0x9a2d9f30]
   java.lang.Thread.State: RUNNABLE
	at java.lang.Throwable.fillInStackTrace(Native Method)
	- locked <0x701b0000> (a java.lang.NullPointerException)
	at java.lang.Throwable.<init>(Throwable.java:181)
	at java.lang.Exception.<init>(Exception.java:29)
	at java.lang.RuntimeException.<init>(RuntimeException.java:32)
	at java.lang.NullPointerException.<init>(NullPointerException.java:36)
	at org.apache.wicket.util.file.FileCleaner$1.run(FileCleaner.java:61)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-1065) NullPointer in FileCleaner causes infinite loop

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag resolved WICKET-1065.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0-beta5
         Assignee: Juergen Donnerstag

thanks

> NullPointer in FileCleaner causes infinite loop
> -----------------------------------------------
>
>                 Key: WICKET-1065
>                 URL: https://issues.apache.org/jira/browse/WICKET-1065
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta4
>         Environment: OpenSuse 10.3, Java 1.6.0 update 3, Apache Tomcat 5.5.25, Eclipse 3.3.0
>            Reporter: Geir Ove Grønmo
>            Assignee: Juergen Donnerstag
>             Fix For: 1.3.0-beta5
>
>
> While hot deploying a Wicket application from Eclipse to a Tomcat instance the "File Reaper" thread seems to go into an infinite loop making the CPU running at 100%. From the thread dump it is clear that a NullPointerException is being thrown on line 61 in FileCleaner.java. Looking at the source code reveals that the ReferenceQueue q member in FileCleaner is null.
> "File Reaper" daemon prio=10 tid=0x08265c00 nid=0x18cf runnable [0x9a2d9000..0x9a2d9f30]
>    java.lang.Thread.State: RUNNABLE
> 	at java.lang.Throwable.fillInStackTrace(Native Method)
> 	- locked <0x701b0000> (a java.lang.NullPointerException)
> 	at java.lang.Throwable.<init>(Throwable.java:181)
> 	at java.lang.Exception.<init>(Exception.java:29)
> 	at java.lang.RuntimeException.<init>(RuntimeException.java:32)
> 	at java.lang.NullPointerException.<init>(NullPointerException.java:36)
> 	at org.apache.wicket.util.file.FileCleaner$1.run(FileCleaner.java:61)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.