On 20 jun 2006, at 11.49, Nick Westgate wrote:
Just glancing at your code without digging in to it, it seems
pretty dangerous to use statics like this in a component:
...
private static Method snippetConverterMethod;
That certainly is true.
One more thing:
Thinking about fixing my problem.
Andreas,
I've only seen weird null exceptions when caching is disabled.
Just glancing at your code without digging in to it, it seems
pretty dangerous to use statics like this in a component:
...
private static Method snippetConverterMethod;
...
Cheers,
Nick.
Andreas Pardeike wrote:
Nick,
Nick,
I only disable caching when I run the project locally via the eclipse
plugin. But once deployed to my jetty test server I don't have any
-Dorg.apache.tapestry.disable-caching=true or the corresponding
settings. I also remember that I tried to fix a small change on the test
server and it
Hi Andreas.
Is Tapestry page caching enabled or disabled?
Cheers,
Nick.
Andreas Pardeike wrote:
Remember, it works fine for any time I run and test this up to the
point where I leave the test server running for 1 or 2 days and then
the first call to a page that contains this component will fa
On 20 jun 2006, at 00.37, Gunna Satria wrote:
Sorry, not looking that section correctly..
So, e.getMessage() is resulting null?
Is it only do so if we do something like this,
try{
throw new Exception():
}
catch(Exception e){
System.out.println("message: "+e.getMessage);
}
No. As you can s
The code also has these debugging statements:
writer.print("page: " + page);
writer.print("visitObject: " + visitObject);
writer.print("visitClass: " + visitClass);
writer.print("arguments[0]: " + arguments[0]);
writer.print("arguments[1]: " + arguments[1]);
writer.print("snippetGetterMetho
Hi Andreas,
By looking in the error stack trace below, you must see in your
DBTextSnippet.java code line 44.
I got your source but i'm not sure it is really line 44 where's the error
occur(maybe you have breakline somewhere)
well, my guess is this below code,
if(snippetGetterMethod
Seems like the attachments didn't make it. Here's the source:
### DBTextSnippet.jwc
http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd";>
class="se.pardeike.tapestry.Extras.DBTextSnippet.DBTextSnippet"
allow-body="no" allow-informal-parameters="no">
A piece of dynamic text fetched f
Hi,
I can't get this solved. I had added some extra debugging output and
I waited for 48 hours and contacted the server again. As soon as my
dynamic text component tries to ask the page's visit class for a
specific
text (the database handling is not done inside the text component, I
get the fo