I'm seeing a Java.Lang.RuntimeException
when trying to call the GetLink()
method, the Tridion instance has recently been upgraded from 2009 to 2011 SP1. Initially I suspected this might be an issue with the Java version or that the correct DLLs haven't been added to the bin folder. Java version is correct, Tridion Linking DLL is correct yet still I see this error.
The DLLs have been taken from another site under the same Tridion instance where component linking works perfectly fine.
I've had a look online but can't really narrow the problem down - has anyone seen this before?
Stack trace is below:
[RuntimeException]
Codemesh.JuggerNET.NTypeValue.Throw(Int64 inst) +351
Codemesh.JuggerNET.JavaClass.ThrowTypedException(Int64 inst) +1278
Codemesh.JuggerNET.JavaMethod.CallObject(JavaProxy jpo, JavaMethodArguments args) +551
Com.Tridion.Linking.ComponentLink.GetLink(String sourcePageURI, String targetComponentURI, String excludeTemplateURI, String linkTagAttributes, String linkText, Boolean showTextOnFail, Boolean showAnchor) +205
Tridion.ContentDelivery.Web.Linking.ComponentLink.GetLink(String sourcePageUri, String targetComponentUri, String excludeTemplateUri, String linkTagAttributes, String linkText, Boolean showTextOnFail, Boolean showAnchor) +38
ASP.en_includes_controls_rss_items_ascx.Header_PreRender(Object sender, EventArgs e) in c:\inetpub\wwwroot\path_to_file\rss-items.ascx:18
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnPreRender(EventArgs e) +8704614
System.Web.UI.Control.PreRenderRecursiveInternal() +80
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
EDIT
Just to explain a little about the setup of the websites, each site uses the config
and lib
from the Tridion Install directory under \Program Files\Tridion
. There is no config/lib folder per website, just a bin folder.
lib
dir are also correctly upgraded from 2009 to 2011? See also @Mihai's answer there.