Hi Pentaho folks,
When I am teaching Pentaho to my students they always forget to put the primary key in the hierarchy and they error below will occur.
Like the example below:
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while loading segment; sql=[select "dim_convenente"."convenente" as "c0", sum("fato_convenios_siconv"."m_valor_convenio") as "m0" from "dw"."dim_convenente" as "dim_convenente", "dw"."fato_convenios_siconv" as "fato_convenios_siconv" where "fato_convenios_siconv"."sk_convenente" = "dim_convenente"."convenente" group by "dim_convenente"."convenente"]
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:942)
at mondrian.olap.Util.newInternal(Util.java:2261)
at mondrian.olap.Util.newError(Util.java:2277)
at mondrian.rolap.SqlStatement.handle(SqlStatement.java:336)
at mondrian.rolap.SqlStatement.execute(SqlStatement.java:236)
at mondrian.rolap.RolapUtil.executeQuery(RolapUtil.java:318)
at mondrian.rolap.agg.SegmentLoader.createExecuteSql(SegmentLoader.java:555)
at mondrian.rolap.agg.SegmentLoader.loadImpl(SegmentLoader.java:187)
at mondrian.rolap.agg.SegmentLoader.access$000(SegmentLoader.java:48)
at mondrian.rolap.agg.SegmentLoader$SegmentLoadCommand.call(SegmentLoader.java:155)
at mondrian.rolap.agg.SegmentLoader$SegmentLoadCommand.call(SegmentLoader.java:129)
... 5 more
Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: bigint = text
Dica: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Posição: 253
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2077)
How to solve it.
Put the primary key in the hierarchy.
Monday, August 12, 2013
Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: bigint = text
Marcadores:
Pentaho Errors
Caused by: java.lang.ClassNotFoundException: javassist.bytecode.ClassFile
Hi Pentaho Folks,
Last week when I executed ./workbench.sh on my Mac I've got this error:
Caused by: java.lang.ClassNotFoundException: javassist.bytecode.ClassFile
It also occurs in Linux Ubuntu.
MacBook-Air-de-Caio:schema-workbench caiomsouza$ ./workbench.sh
/Applications/Pentaho/psw-ce-3.5.0/schema-workbench
WARNING: Using java from path
DEBUG: _PENTAHO_JAVA_HOME=
DEBUG: _PENTAHO_JAVA=java
17:09:41,822 ERROR [Workbench] main
java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
at org.scannotation.AnnotationDB.scanClass(AnnotationDB.java:311)
at org.scannotation.AnnotationDB.scanArchives(AnnotationDB.java:294)
at org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(BasePluginType.java:238)
at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:500)
at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:115)
at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:420)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:121)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:68)
at mondrian.gui.Workbench.getDbMeta(Workbench.java:1225)
at mondrian.gui.Workbench.loadDatabaseMeta(Workbench.java:193)
at mondrian.gui.Workbench.(Workbench.java:132)
at mondrian.gui.Workbench.main(Workbench.java:2094)
Caused by: java.lang.ClassNotFoundException: javassist.bytecode.ClassFile
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 12 more
How to solve it:
I edited workbench.sh and add the line below:
CP="${CP}${PS}${MONDRIAN_HOME}/lib/javassist.jar"
I also put the javassist.jar on psw-ce-3.5.0/schema-workbench/lib
After that, It worked fine.
If you find a better way to solve it, please let me know it.
Last week when I executed ./workbench.sh on my Mac I've got this error:
Caused by: java.lang.ClassNotFoundException: javassist.bytecode.ClassFile
It also occurs in Linux Ubuntu.
MacBook-Air-de-Caio:schema-workbench caiomsouza$ ./workbench.sh
/Applications/Pentaho/psw-ce-3.5.0/schema-workbench
WARNING: Using java from path
DEBUG: _PENTAHO_JAVA_HOME=
DEBUG: _PENTAHO_JAVA=java
17:09:41,822 ERROR [Workbench] main
java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
at org.scannotation.AnnotationDB.scanClass(AnnotationDB.java:311)
at org.scannotation.AnnotationDB.scanArchives(AnnotationDB.java:294)
at org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(BasePluginType.java:238)
at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:500)
at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:115)
at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:420)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:121)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:68)
at mondrian.gui.Workbench.getDbMeta(Workbench.java:1225)
at mondrian.gui.Workbench.loadDatabaseMeta(Workbench.java:193)
at mondrian.gui.Workbench.
at mondrian.gui.Workbench.main(Workbench.java:2094)
Caused by: java.lang.ClassNotFoundException: javassist.bytecode.ClassFile
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 12 more
How to solve it:
I edited workbench.sh and add the line below:
CP="${CP}${PS}${MONDRIAN_HOME}/lib/javassist.jar"
I also put the javassist.jar on psw-ce-3.5.0/schema-workbench/lib
After that, It worked fine.
If you find a better way to solve it, please let me know it.
Caused by: java.lang.ClassNotFoundException: org.scannotation.AnnotationDB
Hi Pentaho Folks,
Last week when I executed ./workbench.sh on my Mac I've got this error:
Caused by: java.lang.ClassNotFoundException: org.scannotation.AnnotationDB
It also occurs in Linux Ubuntu.
MacBook-Air-de-Caio:schema-workbench caiomsouza$ ./workbench.sh
/Applications/Pentaho/psw-ce-3.5.0/schema-workbench
WARNING: Using java from path
DEBUG: _PENTAHO_JAVA_HOME=
DEBUG: _PENTAHO_JAVA=java
17:08:48,928 ERROR [Workbench] main
java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB
at org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(BasePluginType.java:237)
at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:500)
at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:115)
at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:420)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:121)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:68)
at mondrian.gui.Workbench.getDbMeta(Workbench.java:1225)
at mondrian.gui.Workbench.loadDatabaseMeta(Workbench.java:193)
at mondrian.gui.Workbench.(Workbench.java:132)
at mondrian.gui.Workbench.main(Workbench.java:2094)
Caused by: java.lang.ClassNotFoundException: org.scannotation.AnnotationDB
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 10 more
How to solve it:
I edited workbench.sh and add the line below:
CP="${CP}${PS}${MONDRIAN_HOME}/lib/scannotation-1.0.2.jar"
I also put the scannotation-1.0.2.jar on psw-ce-3.5.0/schema-workbench/lib
Last week when I executed ./workbench.sh on my Mac I've got this error:
Caused by: java.lang.ClassNotFoundException: org.scannotation.AnnotationDB
It also occurs in Linux Ubuntu.
MacBook-Air-de-Caio:schema-workbench caiomsouza$ ./workbench.sh
/Applications/Pentaho/psw-ce-3.5.0/schema-workbench
WARNING: Using java from path
DEBUG: _PENTAHO_JAVA_HOME=
DEBUG: _PENTAHO_JAVA=java
17:08:48,928 ERROR [Workbench] main
java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB
at org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(BasePluginType.java:237)
at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:500)
at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:115)
at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:420)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:121)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:68)
at mondrian.gui.Workbench.getDbMeta(Workbench.java:1225)
at mondrian.gui.Workbench.loadDatabaseMeta(Workbench.java:193)
at mondrian.gui.Workbench.
at mondrian.gui.Workbench.main(Workbench.java:2094)
Caused by: java.lang.ClassNotFoundException: org.scannotation.AnnotationDB
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 10 more
How to solve it:
I edited workbench.sh and add the line below:
CP="${CP}${PS}${MONDRIAN_HOME}/lib/scannotation-1.0.2.jar"
I also put the scannotation-1.0.2.jar on psw-ce-3.5.0/schema-workbench/lib
Saturday, July 20, 2013
Free Family History and Genealogy Records — FamilySearch.org
Hi all,
Usually I write in this blog about IT, Open Source and things related with computers and business.
But, today I decided to write in my blog about something very special for me, it is "Family History and Genealogy Records".
On July, 8, 2013 my lovely grandmother Pilar died at home in peace surrounded by her family this event made me think more about my family history and about life.
I love Family History and Genealogy Records and until today I have already in my personal tree 16 (sixteen) generations recorded in my familysearch.org account.
So, If you want to learn more about it please visit www.familysearch.org and watch the videos below.
Saturday, July 06, 2013
Brincando com os Dados do Bolsa Família @ FISL14
Amigos,
Baixei a base de dados do Bolsa Família divulgada no FISL pelo MDS.gov.br e fiz algumas coisas no Pentaho, segue algumas imagens.
Fiz muito rápido esse projeto um pouco no hotel, no restaurante, no avião e em casa em pleno sábado e agora está publicado em um servidor de teste na Amazon AWS.
Para ficar bacana é necessário melhorar muitas coisas, mas já é possível realizar algumas análises.
Baixei a base de dados do Bolsa Família divulgada no FISL pelo MDS.gov.br e fiz algumas coisas no Pentaho, segue algumas imagens.
Fiz muito rápido esse projeto um pouco no hotel, no restaurante, no avião e em casa em pleno sábado e agora está publicado em um servidor de teste na Amazon AWS.
Para ficar bacana é necessário melhorar muitas coisas, mas já é possível realizar algumas análises.
Friday, July 05, 2013
Livro Pentaho na Prática com desconto para participantes do FISL14
http://www.amazon.com.br/Pentaho-na-Pr%C3%A1tica-ebook/dp/B00CEQFDU0
Deseja aprender sobre BI Open Source?
Compre o livro Pentaho na Prática com desconto exclusivo para participantes do FISL14.
O primeiro livro em Português sobre Pentaho criado por três brasileiros da Comunidade Pentaho Brasil.
Faça o cadastro até o final do FISL 14 para receber o desconto exclusivo para comprar o livro.
Marcadores:
livro de pentaho em português
Stand do Grupo de Usuários Pentaho Brasil no FISL14
Marcadores:
Stand da Comunidade Pentaho no FISL14
Thursday, July 04, 2013
Novo Curso Online Gratuito PDI/Kettle, se você não usa é por que você não conhece
Pessoal,
No FISL 14 montamos um stand para divulgar o grupo de usuários do Pentaho e demonstrando o PDI/Kettle para as pessoas pensei no nome do novo curso gratuito, vai chamar PDI/Kettle, se você não usa é por que você não conhece.
Objetivo:
Ensinar como o software PDI/Kettle pode te ajudar a ser mais produtivo.
Em breve mais informações.
Marcadores:
Curso Gratuito de PDI
Professor Coruja @ FISL 14
Amigos,
Participar do FISL 14 é uma grande emoção, faço questão de estar aqui todos os anos.
FISL = Rever amigos, rever ex-alunos, rever clientes, rever amigos das comunidades, assistir palestras, oficinas, comer churrasco até quase morrer na churrascaria Na Brasa, passar frio, ficar cansado demais por que informação demais cansa o corpo rs rs rs.
Encontrei o Mr. Zend PHP (Flávio Gomes) que estudou comigo na UTFPR e o Mr. Debian (Hélio Loureiro) que estudou comigo na FGV.
Além de muitos outros amigos, mas esses estudaram comigo e fazem parte da Comunidade de Software Livre.
E também tirar uma foto bacana como essa.
Monday, July 01, 2013
Pentaho 4.8 /4.5 CE running on iPad / iPhone / Android bug fixed
"When we log into Pentaho User Console using our iPad /iPhone/iPod Touch or an Android device, by default Pentaho launches Analyzer , however this component is exclusive from Enterprise Edition."
To correct this issue we should open this file:
PUCLogin.jsp
included in the following folder:
biserver-ce-4.8.0-stable\biserver-ce\tomcat\webapps\pentaho\jsp
and search for the following code snippet
PUCLogin.jsp
included in the following folder:
biserver-ce-4.8.0-stable\biserver-ce\tomcat\webapps\pentaho\jsp
and search for the following code snippet
1
2
3
| if (/(iPad|iPod|iPhone)/.test(navigator.userAgent) || window.orientation !== undefined){ returnLocation = CONTEXT_PATH+ "content/analyzer/selectSchema" ; } |
Disable or delete this source code lines and the bug will be fixed
1
2
3
| //if(/(iPad|iPod|iPhone)/.test(navigator.userAgent) || window.orientation !== undefined){ // returnLocation = CONTEXT_PATH+"content/analyzer/selectSchema"; //} |
Known limitations:
On several mobile devices mantle double click behavior doesn’t work fine, remember to use the buttons red squared on the next screenshot
Marcadores:
pentaho ipad bug
Subscribe to:
Posts (Atom)