Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Andrzej Figas
Poller Exception [Bug?]
21 de mayo de 2009 6:51
Respuesta

Andrzej Figas

Ranking: New Member

Mensajes: 6

Fecha de incorporación: 21 de mayo de 2009

Mensajes recientes

Hello!

After installing Liferay 5.2.3 I've published page from staging to live. Since then I keep receiving this exception:
1Current URL /poller/receive generates exception: null


I've checked to publish also polling data although I don't have any polls right now.

Could anyone check if this is a bug and is repeatable?

Kind regards!
Jules OU
RE: Poller Exception [Bug?]
30 de junio de 2009 7:33
Respuesta

Jules OU

Ranking: New Member

Mensajes: 22

Fecha de incorporación: 4 de diciembre de 2008

Mensajes recientes

We have the same issue. IMHO this isn't related to a poll functionality in a portlet, but to Liferay polling for files to (hot) deploy. We have a war file in the hot deploy dir with the right permissions, but liferay won't deploy until we stop && start tomcat.

Liferay 5.2.3 bundled Tomcat 6 on Ubuntu 9.04 amd64
Daniel Tet
RE: Poller Exception [Bug?]
16 de octubre de 2010 1:45
Respuesta

Daniel Tet

Ranking: New Member

Mensajes: 3

Fecha de incorporación: 25 de octubre de 2006

Mensajes recientes

I got a similar problem. Getting 404 (not found) error returned on a POST on <domainname>/poller/receive. In my infinite wisdom I created a blank page with that url and the error went away. I will post more here to see if it helps IE time out on non responsive conections...
Stephan Raemy
RE: Poller Exception [Bug?]
2 de febrero de 2011 3:22
Respuesta

Stephan Raemy

Ranking: New Member

Mensajes: 5

Fecha de incorporación: 16 de septiembre de 2009

Mensajes recientes

I searched throught the 5.2.3 source code and found this javascript file which creates an URL '/poller/...':

portal-web\docroot\html\js\liferay\poller.js
 1//....
 2
 3var _url = '/poller';
 4var _receiveChannel = _url + '/receive';
 5var _sendChannel = _url + '/send';
 6
 7//....
 8
 9var Poller = {
10    init: function(options) {
11        var instance = this;
12        instance.setEncryptedUserId(options.encryptedUserId);
13        instance.setSupportsComet(options.supportsComet);
14    },
15    url: _url,
16
17//....


I also find these error messages in my apache access log file when i try to run the social office 1.5b (5.2.3 based).

IMHO, this poller will not run correctly when running the portal in a non-root context (e.g. /extranet).

With the following change, the poller url should be correct
1var _url = themeDisplay.getPathContext() + '/poller';
Stephan Raemy
RE: Poller Exception [Bug?]
2 de febrero de 2011 3:31
Respuesta

Stephan Raemy

Ranking: New Member

Mensajes: 5

Fecha de incorporación: 16 de septiembre de 2009

Mensajes recientes

Filed an Issue:
http://issues.liferay.com/browse/SOS-534
rich fu
RE: Poller Exception [Bug?]
7 de junio de 2012 18:52
Respuesta

rich fu

Ranking: New Member

Mensajes: 1

Fecha de incorporación: 7 de junio de 2012

Mensajes recientes

Stephan Raemy:
I searched throught the 5.2.3 source code and found this javascript file which creates an URL '/poller/...':

portal-web\docroot\html\js\liferay\poller.js
 1//....
 2
 3var _url = '/poller';
 4var _receiveChannel = _url + '/receive';
 5var _sendChannel = _url + '/send';
 6
 7//....
 8
 9var Poller = {
10    init: function(options) {
11        var instance = this;
12        instance.setEncryptedUserId(options.encryptedUserId);
13        instance.setSupportsComet(options.supportsComet);
14    },
15    url: _url,
16
17//....


I also find these error messages in my apache access log file when i try to run the social office 1.5b (5.2.3 based).

IMHO, this poller will not run correctly when running the portal in a non-root context (e.g. /extranet).

With the following change, the poller url should be correct
1var _url = themeDisplay.getPathContext() + '/poller';




I'm using with 6.1.0
and my property file was set up originally like this...
but I still get this problem...

anyone can help me with some step-by-step directions?
Laura Liparulo
RE: Poller Exception [Bug?]
3 de julio de 2012 11:09
Respuesta

Laura Liparulo

Ranking: Junior Member

Mensajes: 38

Fecha de incorporación: 30 de junio de 2012

Mensajes recientes

On Liferay 6.1 I'm having the same problem trying to override the ProcessAction method (when extending the MVCPortlet class).
Laura Liparulo
RE: Poller Exception [Bug?]
5 de julio de 2012 13:25
Respuesta

Laura Liparulo

Ranking: Junior Member

Mensajes: 38

Fecha de incorporación: 30 de junio de 2012

Mensajes recientes

I had the problem because I was using the AUI tag in the wrong way:
I hadn't written the button in the right way. I corrected it and I did this:

<aui:button type="submit" value="Save" />

Now it works:

<aui:form action="<%= editCaseURL %>" enctype="multipart/form-data" method="post" >
<aui:input type="file" name="fileName" size="75"/>
<aui:button type="submit" value="Save" />
</aui:form>

It couldn't perform the action, I think it didn't pass the input.. so the action process was probably getting "null"