Language - parameter is null (Eclipse, Windows XP, 1.0.0c, Postgres 9.3)

111 views
Skip to first unread message

Martin V

unread,
Nov 1, 2013, 8:13:41 PM11/1/13
to idem...@googlegroups.com
Hello,
I'm runninog on Windows XP Pro SP3 czech version, Postgress 9.3, Eclispe Juno

I gone throught this manual:
http://wiki.idempiere.org/en/Windows_Installer
and installed version 1.0.0a and imported updated migration scripts. Unfortunatelly I wasnt able to run client properly (after start it shows for a second and then close immediately).

So I set up Eclipse using this:
http://wiki.idempiere.org/en/Installation_in_Eclipse
when I run server I got this error:

....
00:48:31.937-----------> MLanguage.get_Value: Column not found - AD_PrintPaper_ID [11]
00:48:31.937-----------> MLanguage.get_Value: Column not found - PrintName [11]
00:48:31.937===========> WebEnv.initWeb: startup [11]
java.lang.IllegalArgumentException: Language - parameter is null
....
I tried to set it in "idempiere.properties" in workspace to US_en and English but without succes. I also tried to debug this, but I'm new and this is huge project so I'm a little lost.
Do you have idea what could make a problem?

Another thing. I looked into database and fould "AD_PrintPaper_ID" in table "ad_printpaper". But I didnt fould "PrintName". This is another thing I don't know how to solve.
Thanks for your time.


Here is full stacktrace:

osgi> 2.11.2013 0:48:29 org.compiere.util.Language getLanguage
INFO: Adding Language=cs, Country=CZ, Locale=cs_CZ
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://28.fwk14491894:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://28.fwk14491894:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2.11.2013 0:48:29 org.slf4j.impl.JCLLoggerAdapter info
INFO: Configuring Tomcat from fragment entry 'bundleentry://55.fwk14491894/META-INF/tomcat/server.xml'
2.11.2013 0:48:30 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '75' did not find a matching property.
2.11.2013 0:48:30 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '75' did not find a matching property.
2.11.2013 0:48:30 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlValidation' to 'false' did not find a matching property.
2.11.2013 0:48:30 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlNamespaceAware' to 'false' did not find a matching property.
2.11.2013 0:48:30 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
2.11.2013 0:48:30 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8443"]
2.11.2013 0:48:30 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
2.11.2013 0:48:30 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
2.11.2013 0:48:30 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.21
2.11.2013 0:48:30 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
2.11.2013 0:48:30 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8443"]
2.11.2013 0:48:30 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
2.11.2013 0:48:30 org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina
2.11.2013 0:48:31 org.compiere.web.AdempiereMonitorFilter init
INFO:
00:48:31.312 Adempiere.startup: iDempiere(r) Release 1.0c_2013-06-27 -Smart Suite ERP, CRM and SCM- (c) 1999-2013 iDempiere(r); Implementation: iDempiere - Supported by iDempiere community [11]
00:48:31.328 Ini.loadProperties: E:\iDempiere\workspace\idempiere.properties #28 [11]
[INFO] MLog clients using com.mchange.v2.log.FallbackMLog logging.
[INFO] Initializing c3p0-0.9.2 [built 09-February-2013 02:13:17 +0000; debug? true; trace: 10]
[INFO] Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 2, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> iDempiereDS, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge2168y64fkm61d4a5yz|952905, idleConnectionTestPeriod -> 1200, initialPoolSize -> 10, jdbcUrl -> jdbc:postgresql://localhost:5432/idempiere?encoding=UNICODE, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1200, maxIdleTimeExcessConnections -> 1200, maxPoolSize -> 90, maxStatements -> 0, maxStatementsPerConnection -> 30, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> SELECT Version FROM AD_System, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
00:48:31.937-----------> MLanguage.get_Value: Column not found - AD_PrintPaper_ID [11]
00:48:31.937-----------> MLanguage.get_Value: Column not found - PrintName [11]
00:48:31.937===========> WebEnv.initWeb: startup [11]
java.lang.IllegalArgumentException: Language - parameter is null
    at org.compiere.util.Language.<init>(Language.java:356)
    at org.compiere.util.Language.getLanguage(Language.java:168)
    at org.compiere.util.Language.setBaseLanguage(Language.java:206)
    at org.compiere.util.Language.getLanguage(Language.java:153)
    at org.compiere.util.Env.getLanguage(Env.java:1078)
    at org.compiere.util.Language.getLoginLanguage(Language.java:325)
    at org.compiere.util.TimeUtil.getDay(TimeUtil.java:42)
    at org.compiere.util.TimeUtil.getDay(TimeUtil.java:60)
    at org.compiere.model.MSystem.setInfo(MSystem.java:325)
    at org.compiere.model.MSystem.get(MSystem.java:76)
    at org.compiere.Adempiere.startupEnvironment(Adempiere.java:589)
    at org.compiere.Adempiere.startup(Adempiere.java:551)
    at org.compiere.util.WebEnv.initWeb(WebEnv.java:170)
    at org.compiere.util.WebEnv.initWeb(WebEnv.java:129)
    at org.compiere.web.AdempiereMonitor.init(AdempiereMonitor.java:1047)

00:48:33.250 WebEnv.initWeb: Servlet Init Parameter: idempiereMonitor [11]
00:48:33.250 AdempiereMonitor.init:  [11]
00:49:08.796           WebUIServlet.init: iDempiere Web Client started successfully [12]
!SESSION 2013-11-02 00:48:27.656 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_30
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=cs_CZ
Framework arguments:  -product org.adempiere.server.server_product
Command-line arguments:  -product org.adempiere.server.server_product -data E:\iDempiere\workspace/../runtime-server.product -dev file:E:/iDempiere/workspace/.metadata/.plugins/org.eclipse.pde.core/server.product/dev.properties -os win32 -arch x86 -consoleLog -console

!ENTRY org.eclipse.osgi 2 0 2013-11-02 00:49:13.562
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-11-02 00:49:13.562
!MESSAGE Bundle org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505 [112] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.launcher.gtk.linux.x86_64 2 0 2013-11-02 00:49:13.562
!MESSAGE Platform filter did not match: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))





Hiep Lq

unread,
Nov 1, 2013, 10:01:21 PM11/1/13
to idem...@googlegroups.com

seem window guideline miss update database step.
you can do step "applying additional migration script" in below guideline 

Martin V

unread,
Nov 2, 2013, 10:38:51 AM11/2/13
to idem...@googlegroups.com

Thank you very much,
I works like a charm. I checked ad_migration table and there was only 1.0a scripts so I had to migrate to 1.0c-release.


2013/11/2 Hiep Lq <hie...@hasuvimex.vn>

--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/_Yym5JspmSM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hiep Lq

unread,
Nov 2, 2013, 11:04:33 AM11/2/13
to idem...@googlegroups.com

I only remark. for full content ref: https://groups.google.com/forum/#!searchin/idempiere/i1.0z/idempiere/03SZgZrTtH0/RmHgGUrpYt8J

NOTE
(*) current i1.0c-release => i2.0
(*) for rapid update database. use syncApplied.sh of carlos
but it only for linux. 
=> 1. complete switch to ubuntu
     2. or install a virtual machine, run update db from vm.

REMARK
"(1) migration/i1.0c-release/

now, we also have 

 (2) migration/i1.0z/


As I understand it, the scripts in (2) are applicable only for the development branch because they concern new features which are noch merged into the release-1.0c branch.

When tracking the development branch is it necessary to apply all the scripts from both folders (1) and (2)? "

Martin V

unread,
Nov 2, 2013, 2:51:13 PM11/2/13
to idem...@googlegroups.com

Hmmm you partially answered my question, if I should aplly also i1.0z? Because I didn't and it works only with i1.0c-release.


"(*) current i1.0c-release => i2.0"

So the current version is i2.0? where could I download it?


2013/11/2 Hiep Lq <hie...@hasuvimex.vn>

Hiep Lq

unread,
Nov 2, 2013, 11:33:50 PM11/2/13
to idem...@googlegroups.com
Hi Martin.
I answer inline.

On Sunday, November 3, 2013 1:51:13 AM UTC+7, Martin V wrote:

Hmmm you partially answered my question, if I should aplly also i1.0z? Because I didn't and it works only with i1.0c-release.
 
If dev in develop branch => must migrate i1.0z + newest release (current 2.0)
if dev in release branch => only migrate folder of this release.
 

"(*) current i1.0c-release => i2.0"

So the current version is i2.0? where could I download it?

only update code.
you should read complete guideline http://www.globalqss.com/wiki/index.php/IDempiere
Reply all
Reply to author
Forward
0 new messages