Issue with build 527

3 views
Skip to first unread message

Eduardo Scoz

unread,
Nov 9, 2009, 2:34:59 PM11/9/09
to nhprof
Hi Ayende,

I just updated to the latest build 527, and now I'm getting this issue
when starting up my console app:

log4net:ERROR XmlHierarchyConfigurator: Cannot find Property [sink] to
set objec
t on
[HibernatingRhinos.Profiler.Appender.NHibernate.NHibernateProfilerAppender]

Preparing to populate database.
log4net:ERROR [NHibernateProfilerAppender] Could not create message to
send
System.InvalidOperationException: The profiler was not initialize
properly, did
you forgot to call Profiler.Initialze()?
at
HibernatingRhinos.Profiler.Appender.ProfilerInfrastructure.get_MessageDisp
atcher()
at
HibernatingRhinos.Profiler.Appender.ProfilerIntegration.PublishProfilerEve
nt(String sessionId, String loggerName, String message, DateTime
timestamp, Leve
l level)
at
HibernatingRhinos.Profiler.Appender.NHibernate.NHibernateProfilerAppender.
Append(LoggingEvent loggingEvent)


I'm using the log4net config available on the website, which you said
was for this new version (http://nhprof.com/Learn/Usage/
ProfileAppWithConfiguration).

Any ideas?

Ayende Rahien

unread,
Nov 9, 2009, 2:51:46 PM11/9/09
to nhp...@googlegroups.com
You are correct, I am sorry for the trouble.
The next build will be out in a few moments and will fix this issue.

Eduardo Scoz

unread,
Nov 9, 2009, 4:15:53 PM11/9/09
to nhprof
Thanks Ayende,

Everything is now working, but I'm getting an error message when the
application starts up:

log4net:ERROR [NHibernateProfilerAppender] Attempted to append to
closed appende
r named [NHibernate.Profiler].

After the message shows up, everything works fine.

Previous versions of the profiler didn't show this message.


Thank you,

Eduardo


On Nov 9, 1:51 pm, Ayende Rahien <aye...@ayende.com> wrote:
> You are correct, I am sorry for the trouble.
> The next build will be out in a few moments and will fix this issue.
>

Eduardo Scoz

unread,
Nov 10, 2009, 9:01:44 AM11/10/09
to nhprof
How about this error message, Ayende, any ideas?

Thanks!

Ayende Rahien

unread,
Nov 10, 2009, 10:23:56 AM11/10/09
to nhp...@googlegroups.com
Yes, I know what the problem is: I am stupid.
It will be fixed sometimes today.

Eduardo Scoz

unread,
Nov 10, 2009, 10:37:20 AM11/10/09
to nhp...@googlegroups.com
hahaha thanks again, Ayende.

Ayende Rahien

unread,
Nov 10, 2009, 1:15:21 PM11/10/09
to nhp...@googlegroups.com
Okay, it should be fine now.
Next build will fix it, but please note that there was another change in how you configure NHProf in the config.

Eduardo Scoz

unread,
Nov 10, 2009, 2:26:29 PM11/10/09
to nhp...@googlegroups.com
Thanks Ayende!
Reply all
Reply to author
Forward
0 new messages