Frank Quednau
unread,Jan 31, 2012, 5:18:30 PM1/31/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to FubuMVC Development Group
Hi there,
I am using the following assets file:
"jquery is scripts/jquery.js
pagination includes scripts/jquery.pagination.js,styles/pagination.css
jquery-ui includes scripts/jquery-ui-1.8.12.custom.min.js,styles/
jquery-ui.css
codehighlight includes styles/SyntaxHighlighter.css,scripts/
shCore.js,scripts/shBrushCSharp.js
site includes styles/site.css,scripts/rf.site.js"
when I use those assets in the ui markup (Asset being a shorthand for
WriteAssetTags etc.):
<Asset name="jquery-ui" />
<Asset name="site" />
All's fine. But also writing <Asset name="jquery" /> gives a NRE. The
same happens when I add jquery to the "jquery-ui includes ..." part of
the assets file.
However, the NRE seems to happen after rendering. In both cases the
rendering works correct which is easily verified since any missing bit
would fail core functionality of the page.
The stack trace is shown below, I hope this somehow helps to pinpoint
what could be happening:
at FubuMVC.Core.Assets.Http.ContentWriter.writeBinary(AssetPath
asset) in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Assets
\Http\ContentWriter.cs:line 56
at FubuMVC.Core.Assets.Http.ContentWriter.Write(AssetPath asset) in
c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Assets\Http
\ContentWriter.cs:line 35
at FubuMVC.Core.Assets.Http.AssetWriter.Write(AssetPath path) in c:
\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Assets\Http
\AssetWriter.cs:line 28
at lambda_method(Closure , AssetWriter , AssetPath )
at
FubuMVC.Core.Behaviors.OneInOneOutActionInvoker`3.performInvoke() in c:
\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Behaviors
\OneInOneOutActionInvoker.cs:line 26
at FubuMVC.Core.Behaviors.BasicBehavior.Invoke() in c:\BuildAgent
\work\e5cfff0cc125d023\src\FubuMVC.Core\Behaviors
\BasicBehavior.cs:line 26
at FubuMVC.Core.Diagnostics.Tracing.BehaviorTracer.<Invoke>b__0()
in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Diagnostics
\Tracing\BehaviorTracer.cs:line 29
at FubuMVC.Core.Diagnostics.Tracing.BehaviorTracer.invoke(Action
action) in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core
\Diagnostics\Tracing\BehaviorTracer.cs:line 51
at FubuMVC.Core.Diagnostics.Tracing.BehaviorTracer.Invoke() in c:
\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Diagnostics\Tracing
\BehaviorTracer.cs:line 29
at
FubuMVC.Core.Caching.OutputCachingBehavior.<.ctor>b__0(IActionBehavior
x) in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Caching
\OutputCachingBehavior.cs:line 26
at
FubuMVC.Core.Caching.OutputCachingBehavior.<>c__DisplayClass6.<CreateOuput>b__4()
in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Caching
\OutputCachingBehavior.cs:line 45
at FubuMVC.Core.Runtime.OutputWriter.Record(Action action) in c:
\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Runtime
\OutputWriter.cs:line 47
at
FubuMVC.Core.Diagnostics.Tracing.RecordingOutputWriter.Record(Action
action) in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core
\Diagnostics\Tracing\RecordingOutputWriter.cs:line 78
at FubuMVC.Core.Caching.OutputCachingBehavior.CreateOuput(String
resourceHash, Action`1 innerInvocation) in c:\BuildAgent\work
\e5cfff0cc125d023\src\FubuMVC.Core\Caching
\OutputCachingBehavior.cs:line 45
at
FubuMVC.Core.Caching.OutputCachingBehavior.<>c__DisplayClass9.<generateOutput>b__8()
in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Caching
\OutputCachingBehavior.cs:line 55
at
FubuMVC.Core.Assets.Caching.AssetContentCache.<>c__DisplayClass6.<Retrieve>b__5(String
hash) in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Assets
\Caching\AssetContentCache.cs:line 38
at FubuCore.Util.Cache`2.Fill(TKey key, Func`2 onMissing) in c:
\BuildAgent\work\4a2c4b02595de142\src\FubuCore\Util\Cache.cs:line 130
at
FubuMVC.Core.Assets.Caching.AssetContentCache.<>c__DisplayClass6.<Retrieve>b__4()
in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Assets\Caching
\AssetContentCache.cs:line 38
at FubuMVC.Core.Assets.Caching.AssetContentCache.read[T](Func`1
findValue) in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core
\Assets\Caching\AssetContentCache.cs:line 48
at FubuMVC.Core.Assets.Caching.AssetContentCache.Retrieve(String
resourceHash, Func`1 cacheMiss) in c:\BuildAgent\work
\e5cfff0cc125d023\src\FubuMVC.Core\Assets\Caching
\AssetContentCache.cs:line 36
at
FubuMVC.Core.Caching.OutputCachingBehavior.generateOutput(Action`1
innerInvocation) in c:\BuildAgent\work\e5cfff0cc125d023\src
\FubuMVC.Core\Caching\OutputCachingBehavior.cs:line 55
at FubuMVC.Core.Caching.OutputCachingBehavior.Invoke() in c:
\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Caching
\OutputCachingBehavior.cs:line 35
at FubuMVC.Core.Diagnostics.Tracing.BehaviorTracer.<Invoke>b__0()
in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Diagnostics
\Tracing\BehaviorTracer.cs:line 29
at FubuMVC.Core.Diagnostics.Tracing.BehaviorTracer.invoke(Action
action) in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core
\Diagnostics\Tracing\BehaviorTracer.cs:line 51
at FubuMVC.Core.Diagnostics.Tracing.BehaviorTracer.Invoke() in c:
\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Diagnostics\Tracing
\BehaviorTracer.cs:line 29
at FubuMVC.Core.Diagnostics.Tracing.DiagnosticBehavior.Invoke() in
c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core\Diagnostics
\Tracing\DiagnosticBehavior.cs:line 30
at
FubuMVC.StructureMap.NestedStructureMapContainerBehavior.Invoke() in c:
\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.StructureMap
\NestedStructureMapContainerBehavior.cs:line 29
at FubuMVC.Core.Runtime.BehaviorInvoker.Invoke(IActionBehavior
behavior) in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core
\Runtime\BehaviorInvoker.cs:line 40
at FubuMVC.Core.Runtime.BehaviorInvoker.Invoke(ServiceArguments
arguments, IDictionary`2 routeValues) in c:\BuildAgent\work
\e5cfff0cc125d023\src\FubuMVC.Core\Runtime\BehaviorInvoker.cs:line 33
at
FubuMVC.Core.Runtime.FubuRouteHandler.FubuHttpHandler.ProcessRequest(HttpContext
context) in c:\BuildAgent\work\e5cfff0cc125d023\src\FubuMVC.Core
\Runtime\FubuRouteHandler.cs:line 47
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)