sivaprasad9394
Occasional Collector

illegal language error while generating news page?

Jump to solution

Dear All,

Why i am getting the below error message? PT - portuguese

Configuration for PT is available in Languages section.All the other languages are configured and working properly except PT.

INFO  20.01.2015 12:59:30.576 (de.espirit.firstspirit.store.access.sitestore.PageRefImpl): generating page reference 'news_detail_page' (id=13033858, html, PT, 147776)

INFO  20.01.2015 12:59:30.576 (de.espirit.firstspirit.generate.AbstractGenerationContext): page not translated (id=13033854)

WARN  20.01.2015 12:59:30.618{g-node=13033854} (de.espirit.firstspirit.generate.SiteProduction): Replacing null value with empty default! Undefined method 'de.espirit.firstspirit.parser.eval.NullEnhancer$Null#replaceAll(java.lang.String, java.lang.String)'!

WARN  20.01.2015 12:59:30.682{g-node=13033854} (de.espirit.firstspirit.generate.SiteProduction): Replacing null value with empty default!

INFO  20.01.2015 12:59:30.800{g-node=13033854} (de.espirit.firstspirit.generate.SiteProduction): copy picture bosch_logo (id=13756410), lang = PT, res = Pic_BoschLogo, to media/pt/_tech/bnn_images/general/bosch_logo_Pic_BoschLogo.png

INFO  20.01.2015 12:59:30.807{g-node=13033854} (de.espirit.firstspirit.generate.SiteProduction): Setting 'setOutput' to 'null' - Undefined variable 'subst'!

INFO  20.01.2015 12:59:30.819{g-node=13033854} (de.espirit.firstspirit.generate.SiteProduction): Setting 'set_somActivatedElements' to 'null' - Undefined method 'de.espirit.firstspirit.parser.eval.NullEnhancer$Null#meta(java.lang.String)'!

INFO  20.01.2015 12:59:30.819{g-node=13033854} (de.espirit.firstspirit.generate.SiteProduction): Setting 'set_somPageProxy' to 'null' - Undefined method 'de.espirit.firstspirit.parser.eval.NullEnhancer$Null#meta(java.lang.String)'!

INFO  20.01.2015 12:59:30.820{g-node=13033854} (de.espirit.firstspirit.generate.SiteProduction): Setting 'set_somRecordProxy' to 'null' - Undefined method 'de.espirit.firstspirit.parser.eval.NullEnhancer$Null#meta(java.lang.String)'!

INFO  20.01.2015 12:59:30.836{g-node=13033854} (de.espirit.firstspirit.store.access.AccessStoreBuilder): PAGESTORE loaded in 0ms

ERROR 20.01.2015 12:59:30.836{g-node=13033854} (de.espirit.firstspirit.generate.SiteProduction): illegal language: 'PT'

WARN  20.01.2015 12:59:30.836{g-node=13033854} (de.espirit.firstspirit.generate.GenerateUtil): invalid language '' (class de.espirit.firstspirit.parser.eval.Undefined)

INFO  20.01.2015 12:59:30.870{g-node=13033854} (de.espirit.firstspirit.store.access.AccessStoreBuilder): TEMPLATESTORE loaded in 29ms

INFO  20.01.2015 12:59:30.901{g-node=13033854} (de.espirit.firstspirit.store.access.AccessStoreBuilder): MEDIASTORE loaded in 1ms

WARN  20.01.2015 12:59:30.906{g-node=13033854} (de.espirit.firstspirit.generate.SiteProduction): Replacing null value with empty default!

BeanShell.png

Regards,

Siva

0 Kudos
1 Solution

Accepted Solutions
Peter_Jodeleit
Crownpeak employee

That really sounds strange. Could you please activate the debug mode and include the failure trace for this error message. The version number of your FirstSpirit installation could also help.

Your attached picture is a from the content store, do you use content from remote projects? Then the language could be missing in the remote project.

The other log messages also do not look good...

Peter

View solution in original post

0 Kudos
3 Replies
Peter_Jodeleit
Crownpeak employee

That really sounds strange. Could you please activate the debug mode and include the failure trace for this error message. The version number of your FirstSpirit installation could also help.

Your attached picture is a from the content store, do you use content from remote projects? Then the language could be missing in the remote project.

The other log messages also do not look good...

Peter
0 Kudos
pavone
I'm new here

Hello Siva,

do you stil need help or have you already solved your problem? If so, it would be great if you posted your solution here.

If you still need help please answer Peter's questions.

Best regards

Tim

0 Kudos

Dear Tim,

We have resolved the issue by looking deep in the log and found that checking of the non translated page is checked.

Regards,

Siva

0 Kudos