Views are broken

36 views
Skip to first unread message

diegop...@gmail.com

unread,
Sep 28, 2014, 4:44:01 PM9/28/14
to encue...@googlegroups.com
When I had changed admin language, the views stopped working.

For example the view whom create polls, now are hidden, or the view who manage the user profile have the same problem, and more views.

Sorry for my english, :).

Thank you very much, and sorry for the inconvenience.

Juan Picado

unread,
Sep 29, 2014, 1:31:21 AM9/29/14
to encue...@googlegroups.com
Can you show me more info? screenshots? logs? 

diegop...@gmail.com

unread,
Sep 29, 2014, 10:50:24 AM9/29/14
to encue...@googlegroups.com
Sorry, I don't know why but the only problem is resolved, thank you very much.

Although I still get these error messages:

ERROR: org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task.
java.lang.NullPointerException
    at org.encuestame.core.cron.CalculateHashTagSize.calculate(CalculateHashTagSize.java:92)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
    at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
    at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
ERROR: org.encuestame.mvc.page.PollController - org.springframework.context.NoSuchMessageException: No message found under code 'counter_zero' for locale 'es'.


Thank you very much.

Juan Picado

unread,
Sep 29, 2014, 1:51:33 PM9/29/14
to encue...@googlegroups.com
Hi,

Seems it's a bug.

Please create a ticket with all the information do you have. I'll take a look closely.

Andrea

unread,
Oct 3, 2014, 7:50:08 AM10/3/14
to encue...@googlegroups.com
Hi, I have moreless the same problem...suddendly the home page disappeared and now if I call /encuestame/home I get a blank page

The log shows the following messages


java.lang.NullPointerException
    at org.encuestame.core.cron.CalculateHashTagSize.calculate(CalculateHashTagSize.java:92)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
    at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
    at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
ERROR: org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task.
java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
    at org.hibernate.type.EnumType.nullSafeGet(EnumType.java:120)
    at org.hibernate.type.CustomType.nullSafeGet(CustomType.java:109)
    at org.hibernate.type.AbstractType.hydrate(AbstractType.java:104)
    at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2283)
    at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1527)
    at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1455)
    at org.hibernate.loader.Loader.getRow(Loader.java:1355)
    at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
    at org.hibernate.loader.Loader.doQuery(Loader.java:829)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
    at org.hibernate.loader.Loader.doList(Loader.java:2542)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)

In order to get the login page again, I had to type the complete address of a protected REST service.

Best,
Andrea

Juan Picado

unread,
Oct 4, 2014, 6:23:58 AM10/4/14
to encue...@googlegroups.com
CalculateHashTagSize is something related with a process running in the background, not related with a white page.

I need more info to figure out why you get a blank page.

Anyway I'll create a ticket, that cast issue is not normal. Thanks

Regards.

On Friday, October 3, 2014 1:50:08 PM UTC+2, Andrea wrote:
Hi, I have moreless the same problem...suddendly the home page disappeared and now if I call /encuestame/home I get a blank page. 

diegop...@gmail.com

unread,
Oct 4, 2014, 11:42:20 AM10/4/14
to encue...@googlegroups.com
When change user language? Its blank or not, depends of language of web browser. But I don't why.

Thank you very much.

diegop...@gmail.com

unread,
Oct 4, 2014, 12:34:44 PM10/4/14
to encue...@googlegroups.com
If you change in your firefox, put url about:config, the parameter intl.accept_languages, with the same language as the encuestame user, that's right, if not you get the view in blank. For example es -> Español or en -> English.

Juan Carlos Picado

unread,
Oct 7, 2014, 2:59:46 AM10/7/14
to encue...@googlegroups.com
The language is defined by default to English, you can change it in the profile settings view, the browser current locale is only used to change the language if the user is not logged. Do you have any screenshot or something else/? 

--
Has recibido este mensaje porque estás suscrito al grupo "encuestame" de Grupos de Google.
Para anular la suscripción a este grupo y dejar de recibir sus mensajes, envía un correo electrónico a encuestame+...@googlegroups.com.
Para acceder a más opciones, visita https://groups.google.com/d/optout.



--
Att,

Juan Carlos Picado Herrera


Reply all
Reply to author
Forward
0 new messages