Closed graz1an0 closed 11 years ago
This is in Oracle
Yes in Oracle
These are the steps that I've followed:
Do you thing that I've missed some steps?
no that is right. I wasn't asking if it was Oracle but letting the developer know it is :-) We will try to get tho this next week.
Fixed on #1881
Will test on all db's after dashboard generator jsp is fixed: Created follow up fix task: https://github.com/dotCMS/dotCMS/issues/2171
This is the stack trace.
2013-01-09 17:51:14,250 ERROR com.dotcms.enterprise.priv.c - getTopReferers failed:java.lang.NullPointerException java.lang.NullPointerException at com.dotcms.enterprise.priv.c.getTopReferers(SourceFile:636) at com.dotmarketing.portlets.dashboard.business.DashboardAPIImpl.getTopReferers(DashboardAPIImpl.java:73) at com.dotcms.enterprise.priv.DashboardAjax.getHostStatistics(SourceFile:174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.directwebremoting.impl.CreatorModule$1.doFilter(CreatorModule.java:229) at org.directwebremoting.impl.CreatorModule.executeMethod(CreatorModule.java:241) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:379) at java.lang.Thread.run(Thread.java:662) 2013-01-09 17:51:14,253 ERROR com.dotcms.enterprise.priv.DashboardAjax - java.lang.NullPointerException com.dotmarketing.exception.DotRuntimeException: java.lang.NullPointerException at com.dotmarketing.exception.DotRuntimeException.fillInStackTrace(DotRuntimeException.java:33) at java.lang.Throwable.(Throwable.java:181)
at java.lang.Exception.(Exception.java:29)
at java.lang.RuntimeException.(RuntimeException.java:32)
at com.dotmarketing.exception.DotRuntimeException.(DotRuntimeException.java:15)
at com.dotcms.enterprise.priv.c.getTopReferers(SourceFile:676)
at com.dotmarketing.portlets.dashboard.business.DashboardAPIImpl.getTopReferers(DashboardAPIImpl.java:73)
at com.dotcms.enterprise.priv.DashboardAjax.getHostStatistics(SourceFile:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.directwebremoting.impl.CreatorModule$1.doFilter(CreatorModule.java:229)
at org.directwebremoting.impl.CreatorModule.executeMethod(CreatorModule.java:241)
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:379)
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:332)
at org.directwebremoting.dwrp.BaseCallHandler.handle(BaseCallHandler.java:104)
After running the /html/scripts/dashboard_data_generator.jsp we get the referers properly on MySQL
http://screencast.com/t/mOr1smFNmu
But not Oracle
http://screencast.com/t/ahi850hoip
Also, we need to get the "top" content pulling as well. If we need to modify the /html/scripts/dashboard_data_generator.jsp to populate data to make this show, then we should do that and then we can make sure it works on all 4 DBs - poor man's test driven development.