Tuesday, June 30, 2020

Copy and paste not working (Ctrl + C Ctrl + V) in Chrome (Google Sheets)

Problem

It did not work when you try to copy a cell on Google Sheets.

Reason

Some incompatibility with installed extension.

Solution

Disable the extensions one by one until you found the problematic one.

Copiar e colar (Ctrl + C Ctrl + V) não funciona no Chrome (GSheets)

Problema

Ao tentar copiar uma célula da planilha do  Google não funcionava.

Motivo

Uma extensão que estava instalada passou a conflitar com essa funcionalidade.

Solução

Ir desabilitando as extensões até encontrar a problemática. 

Wednesday, May 20, 2015

Invalid byte 2 of 3-byte UTF-8 sequence


Problem


When try to execute some roo command (ex: roo hint) show the following message error: "Invalid byte 2 of 3-byte UTF-8 sequence".

Reason


The pom.xml file had special characters (ç, ã etc.).

Solution


Remove the special characters.



Byte inválido 2 da sequência UTF-8 do byte 3


Problema


Ao tentar executar algum comando do spring roo (ex: roo hint), apresenta a seguinte mensagem de erro:
Byte inválido 2 da sequência UTF-8 do byte 3


Motivo


O projeto do spring roo utiliza o maven. O arquivo pom.xml possuia caracteres com acentos e cedilha e o roo não estava conseguindo tratar.


Solução

Retirar os caracteres com acento e cedilha.

Thursday, August 8, 2013

Problem

When you try to execute the maven comand mvn clean install shows the following message error: 
...
Exception in thread "main" Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

Reason

There is not enough memory to execute all the steps necessary to the build (integration tests, start the jetty server etc.).

Solution

Creation of a environment variable MAVEN_OPTS with the value -Xmx1024m -XX:MaxPermSize=512m

Related Links

Maven throws “java.lang.OutOfMemoryError”

Setting Java heap space under Maven 2 on Windows

Problema

Ao tentar executar o comando mvn clean install apresentava o seguinte mensagem de erro (de forma reduzida):
...
Exception in thread "main" Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

Motivo

Não existia memória suficiente para execução de todos os passos da construção (execução dos teste de integração, do servidor jetty etc.).

Solução

Criação da variável de ambiente MAVEN_OPTS com o valor -Xmx1024m -XX:MaxPermSize=512m

Links Relacionados

Maven throws “java.lang.OutOfMemoryError”

Setting Java heap space under Maven 2 on Windows


Thursday, September 27, 2012

No RequestContext for operation GWT

Problem

When trying to execute a Spring Roo Application that uses GWT it shows the following message error in console: No RequestContext for operation.


Attention 

This error also occurs  when using RequestFactory and the methods from the client side are not compatibles with the server side. Before trying what is explained here, make sure that the methods were created properly. More information about how to create the methods see this GWT documentation: https://developers.google.com/web-toolkit/doc/latest/DevGuideRequestFactory

Reason

Changes made in a subclass of RequestContext. Apparently it is related to compilation/build problems.

Solution

Recompile/rebuild the project. A simple rebuild did not work to me. Follow the steps that I think I did to resolve the problem. I am not sure because I do not simulated the error again. In the command line:


 mvn clean
 mvn compile
 mvn gwt:run

If not work, try in eclipse:

plugin do google->GWT Compile Projet

If not work try to recompile/rebuild in other ways.