Ah!
Productivity just doubled here after getting rid of all these "Unable
to read last modified time stamp..." errors.
Especially when Hibernate needs to fire up after every restart...

2007/2/22, Howard M. Lewis Ship (JIRA) <[email protected]>:

     [ 
https://issues.apache.org/jira/browse/TAPESTRY-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship closed TAPESTRY-1243.
------------------------------------------

    Resolution: Fixed

> Deleting/renaming a file causes an unhandled runtime exception
> --------------------------------------------------------------
>
>                 Key: TAPESTRY-1243
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1243
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0
>            Reporter: Howard M. Lewis Ship
>         Assigned To: Howard M. Lewis Ship
>             Fix For: 5.0
>
>
> Here I renamed a class from Delegator to Delegate and there's a failure on 
the following request:
> java.lang.RuntimeException: Unable to read last modified time stamp of 
resource 
file:/Users/Howard/Documents/workspace/tapestry-core/bin/org/apache/tapestry/corelib/components/Delegator.class:
 
/Users/Howard/Documents/workspace/tapestry-core/bin/org/apache/tapestry/corelib/components/Delegator.class
 (No such file or directory)
>       at 
org.apache.tapestry.internal.util.URLChangeTracker.readTimestamp(URLChangeTracker.java:106)
>       at 
org.apache.tapestry.internal.util.URLChangeTracker.containsChanges(URLChangeTracker.java:74)
>       at 
org.apache.tapestry.internal.services.ComponentInstantiatorSourceImpl.checkForUpdates(ComponentInstantiatorSourceImpl.java:100)
>       at 
org.apache.tapestry.internal.services.UpdateListenerHubImpl.fireUpdateEvent(UpdateListenerHubImpl.java:43)
>       at 
$UpdateListenerHub_1107631b784.fireUpdateEvent($UpdateListenerHub_1107631b784.java)
>       at 
$UpdateListenerHub_1107631b780.fireUpdateEvent($UpdateListenerHub_1107631b780.java)
>       at 
org.apache.tapestry.internal.services.CheckForUpdatesFilter$1.run(CheckForUpdatesFilter.java:56)
>       at 
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier$2.invoke(ConcurrentBarrier.java:168)
>       at 
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier$2.invoke(ConcurrentBarrier.java:166)
>       at 
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withWrite(ConcurrentBarrier.java:139)
>       at 
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withWrite(ConcurrentBarrier.java:174)
>       at 
org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:85)
>       at 
org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:1)
>       at 
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
>       at 
org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:104)
>       at $RequestHandler_1107631b798.service($RequestHandler_1107631b798.java)
>       at $RequestHandler_1107631b799.service($RequestHandler_1107631b799.java)
>       at $RequestHandler_1107631b78f.service($RequestHandler_1107631b78f.java)
>       at 
org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:336)
>       at 
$HttpServletRequestHandler_1107631b790.service($HttpServletRequestHandler_1107631b790.java)
>       at 
$HttpServletRequestHandler_1107631b78e.service($HttpServletRequestHandler_1107631b78e.java)
>       at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:114)
>       at 
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
>       at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
>       at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>       at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>       at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:526)
>       at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>       at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>       at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>       at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>       at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>       at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
>       at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>       at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> Caused by: java.io.FileNotFoundException: 
/Users/Howard/Documents/workspace/tapestry-core/bin/org/apache/tapestry/corelib/components/Delegator.class
 (No such file or directory)
>       at java.io.FileInputStream.open(Native Method)
>       at java.io.FileInputStream.<init>(FileInputStream.java:106)
>       at java.io.FileInputStream.<init>(FileInputStream.java:66)
>       at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
>       at 
org.apache.tapestry.internal.util.URLChangeTracker.readTimestamp(URLChangeTracker.java:93)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
/ted

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to