SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Phoenix
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Phoenix This forum is for discussing the user-created Phoenix custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-21-2012, 03:43 AM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Phoenix Google weather

I'm keeping having this null pointer exception in the log after installing the "Phoenix Fanart for SageTV" plugin from JREkiwi. The plugin uses the phoenix core services which are producing the error in the log below.

Thanks
Eddy

Code:
Sun 10/21 10:14:16.353 [PooledThread@1e7b36d] Plugin phoenix-core is enabled, try to load it from class: sagex.phoenix.plugin.PhoenixPlugin
Sun 10/21 10:14:16.400 [PooledThread@1e7b36d] Plugin object was loaded, now starting it...
Sun 10/21 10:14:16.486 [PooledThread@1e7b36d] LOG4J: Configured Logging for: phoenix using file: phoenix.log4j.properties
Sun 10/21 10:14:16.487 [PooledThread@1e7b36d] LOG4J: Configured Logging for: phoenix-metadata using file: phoenix-metadata.log4j.properties
Sun 10/21 10:14:16.854 [PooledThread@1e7b36d] instance for '' = sage.google.weather.GoogleWeather@eb02f7
Sun 10/21 10:14:16.856 [PooledThread@1e7b36d] Catbert Static Field lookup Failure for:PHOENIX_GOOGLE_WEATHER
Sun 10/21 10:14:16.856 [PooledThread@1e7b36d] java.lang.ClassNotFoundException: PHOENIX.GOOGLE
Sun 10/21 10:14:16.856 [PooledThread@1e7b36d] java.lang.NullPointerException
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] java.lang.reflect.Method.invoke(Unknown Source)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sage.e$e.a(Unknown Source)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sage.a.m$b.a(Unknown Source)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sage.a.m.a(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sage.e.g$30.void(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sage.az.a(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sage.SageTV.api(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sagex.remote.EmbeddedSageAPIProvider.callService(EmbeddedSageAPIProvider.java:16)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sagex.SageAPI.call(SageAPI.java:171)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sagex.api.WidgetAPI.EvaluateExpression(WidgetAPI.java:824)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sagex.phoenix.Phoenix.initServices(Phoenix.java:356)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sagex.phoenix.Phoenix.<clinit>(Phoenix.java:83)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sagex.phoenix.plugin.PhoenixPlugin.start(PhoenixPlugin.java:265)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sage.plugin.a.a(Unknown Source)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sage.plugin.a.a(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.e.w$39.void(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.az.a(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.x.g(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.x.f(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.x.access$200(Unknown Source)
Sun 10/21 10:14:16.861 [PooledThread@1e7b36d] sage.x$3.run(Unknown Source)
Sun 10/21 10:14:16.861 [PooledThread@1e7b36d] sage.cz$a.run(Unknown Source)
Sun 10/21 10:14:16.862 [PooledThread@1e7b36d] EXCEPTION in getValueAsObject:sage.a.e: Error in method reflection of sage_google_weather_GoogleWeather_getNWSZipCode of java.lang.NullPointerException for:sage_google_weather_GoogleWeather_getNWSZipCode(PHOENIX_GOOGLE_WEATHER)
Sun 10/21 10:14:16.867 [PooledThread@1e7b36d] Catbert Static Field lookup Failure for:PHOENIX_GOOGLE_WEATHER
Sun 10/21 10:14:16.867 [PooledThread@1e7b36d] java.lang.ClassNotFoundException: PHOENIX.GOOGLE
Sun 10/21 10:14:16.867 [PooledThread@1e7b36d] java.lang.NullPointerException
Sun 10/21 10:14:16.867 [PooledThread@1e7b36d] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] java.lang.reflect.Method.invoke(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sage.e$e.a(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sage.a.m$b.a(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sage.a.m.a(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sage.e.g$30.void(Unknown Source)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sage.az.a(Unknown Source)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sage.SageTV.api(Unknown Source)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sagex.remote.EmbeddedSageAPIProvider.callService(EmbeddedSageAPIProvider.java:16)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sagex.SageAPI.call(SageAPI.java:171)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sagex.api.WidgetAPI.EvaluateExpression(WidgetAPI.java:824)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sagex.phoenix.Phoenix.initServices(Phoenix.java:359)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sagex.phoenix.Phoenix.<clinit>(Phoenix.java:83)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sagex.phoenix.plugin.PhoenixPlugin.start(PhoenixPlugin.java:265)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sage.plugin.a.a(Unknown Source)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sage.plugin.a.a(Unknown Source)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sage.e.w$39.void(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.az.a(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.x.g(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.x.f(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.x.access$200(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.x$3.run(Unknown Source)
Sun 10/21 10:14:16.872 [PooledThread@1e7b36d] sage.cz$a.run(Unknown Source)
Sun 10/21 10:14:16.872 [PooledThread@1e7b36d] EXCEPTION in getValueAsObject:sage.a.e: Error in method reflection of sage_google_weather_GoogleWeather_getGoogleWeatherLoc of java.lang.NullPointerException for:sage_google_weather_GoogleWeather_getGoogleWeatherLoc(PHOENIX_GOOGLE_WEATHER)
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard
Reply With Quote
  #2  
Old 10-21-2012, 08:35 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
When phoenix services start, it does try to autoconfigure the weather locations. While this may produce an exception in the logs, it doesn't affect the startup of SageTV or Phoenix.

Quote:
Originally Posted by routerunner View Post
I'm keeping having this null pointer exception in the log after installing the "Phoenix Fanart for SageTV" plugin from JREkiwi. The plugin uses the phoenix core services which are producing the error in the log below.

Thanks
Eddy

Code:
Sun 10/21 10:14:16.353 [PooledThread@1e7b36d] Plugin phoenix-core is enabled, try to load it from class: sagex.phoenix.plugin.PhoenixPlugin
Sun 10/21 10:14:16.400 [PooledThread@1e7b36d] Plugin object was loaded, now starting it...
Sun 10/21 10:14:16.486 [PooledThread@1e7b36d] LOG4J: Configured Logging for: phoenix using file: phoenix.log4j.properties
Sun 10/21 10:14:16.487 [PooledThread@1e7b36d] LOG4J: Configured Logging for: phoenix-metadata using file: phoenix-metadata.log4j.properties
Sun 10/21 10:14:16.854 [PooledThread@1e7b36d] instance for '' = sage.google.weather.GoogleWeather@eb02f7
Sun 10/21 10:14:16.856 [PooledThread@1e7b36d] Catbert Static Field lookup Failure for:PHOENIX_GOOGLE_WEATHER
Sun 10/21 10:14:16.856 [PooledThread@1e7b36d] java.lang.ClassNotFoundException: PHOENIX.GOOGLE
Sun 10/21 10:14:16.856 [PooledThread@1e7b36d] java.lang.NullPointerException
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] java.lang.reflect.Method.invoke(Unknown Source)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sage.e$e.a(Unknown Source)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sage.a.m$b.a(Unknown Source)
Sun 10/21 10:14:16.857 [PooledThread@1e7b36d] sage.a.m.a(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sage.e.g$30.void(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sage.az.a(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sage.SageTV.api(Unknown Source)
Sun 10/21 10:14:16.858 [PooledThread@1e7b36d] sagex.remote.EmbeddedSageAPIProvider.callService(EmbeddedSageAPIProvider.java:16)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sagex.SageAPI.call(SageAPI.java:171)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sagex.api.WidgetAPI.EvaluateExpression(WidgetAPI.java:824)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sagex.phoenix.Phoenix.initServices(Phoenix.java:356)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sagex.phoenix.Phoenix.<clinit>(Phoenix.java:83)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sagex.phoenix.plugin.PhoenixPlugin.start(PhoenixPlugin.java:265)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sage.plugin.a.a(Unknown Source)
Sun 10/21 10:14:16.859 [PooledThread@1e7b36d] sage.plugin.a.a(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.e.w$39.void(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.az.a(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.x.g(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.x.f(Unknown Source)
Sun 10/21 10:14:16.860 [PooledThread@1e7b36d] sage.x.access$200(Unknown Source)
Sun 10/21 10:14:16.861 [PooledThread@1e7b36d] sage.x$3.run(Unknown Source)
Sun 10/21 10:14:16.861 [PooledThread@1e7b36d] sage.cz$a.run(Unknown Source)
Sun 10/21 10:14:16.862 [PooledThread@1e7b36d] EXCEPTION in getValueAsObject:sage.a.e: Error in method reflection of sage_google_weather_GoogleWeather_getNWSZipCode of java.lang.NullPointerException for:sage_google_weather_GoogleWeather_getNWSZipCode(PHOENIX_GOOGLE_WEATHER)
Sun 10/21 10:14:16.867 [PooledThread@1e7b36d] Catbert Static Field lookup Failure for:PHOENIX_GOOGLE_WEATHER
Sun 10/21 10:14:16.867 [PooledThread@1e7b36d] java.lang.ClassNotFoundException: PHOENIX.GOOGLE
Sun 10/21 10:14:16.867 [PooledThread@1e7b36d] java.lang.NullPointerException
Sun 10/21 10:14:16.867 [PooledThread@1e7b36d] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] java.lang.reflect.Method.invoke(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sage.e$e.a(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sage.a.m$b.a(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sage.a.m.a(Unknown Source)
Sun 10/21 10:14:16.868 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sage.e.g$30.void(Unknown Source)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sage.az.a(Unknown Source)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sage.SageTV.api(Unknown Source)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sagex.remote.EmbeddedSageAPIProvider.callService(EmbeddedSageAPIProvider.java:16)
Sun 10/21 10:14:16.869 [PooledThread@1e7b36d] sagex.SageAPI.call(SageAPI.java:171)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sagex.api.WidgetAPI.EvaluateExpression(WidgetAPI.java:824)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sagex.phoenix.Phoenix.initServices(Phoenix.java:359)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sagex.phoenix.Phoenix.<clinit>(Phoenix.java:83)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sagex.phoenix.plugin.PhoenixPlugin.start(PhoenixPlugin.java:265)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sage.plugin.a.a(Unknown Source)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sage.plugin.a.a(Unknown Source)
Sun 10/21 10:14:16.870 [PooledThread@1e7b36d] sage.e.w$39.void(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.az.a(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.e.a(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.x.g(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.x.f(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.x.access$200(Unknown Source)
Sun 10/21 10:14:16.871 [PooledThread@1e7b36d] sage.x$3.run(Unknown Source)
Sun 10/21 10:14:16.872 [PooledThread@1e7b36d] sage.cz$a.run(Unknown Source)
Sun 10/21 10:14:16.872 [PooledThread@1e7b36d] EXCEPTION in getValueAsObject:sage.a.e: Error in method reflection of sage_google_weather_GoogleWeather_getGoogleWeatherLoc of java.lang.NullPointerException for:sage_google_weather_GoogleWeather_getGoogleWeatherLoc(PHOENIX_GOOGLE_WEATHER)
Reply With Quote
  #3  
Old 10-21-2012, 08:42 AM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Quote:
Originally Posted by stuckless View Post
When phoenix services start, it does try to autoconfigure the weather locations. While this may produce an exception in the logs, it doesn't affect the startup of SageTV or Phoenix.
Thanks for the reply.

Is there any property I can specify to disable the weather auto-configure mechanism, and therefore stop this potential memory leak? I'm using the new Weather API.

Many thanks
Eddy
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard

Last edited by routerunner; 10-21-2012 at 08:48 AM.
Reply With Quote
  #4  
Old 10-21-2012, 11:37 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by routerunner View Post
Thanks for the reply.

Is there any property I can specify to disable the weather auto-configure mechanism, and therefore stop this potential memory leak? I'm using the new Weather API.

Many thanks
Eddy
Basically, no. Just because it's logging an error certainly doesn't mean there is a leak. The error happens, it gets handled and logged, so there is "leak" in terms of memory. While it logs an "error" it really is just a warning. It doesn't impact the system in any other way.
Reply With Quote
  #5  
Old 10-30-2012, 11:40 AM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Quote:
Originally Posted by stuckless View Post
Basically, no. Just because it's logging an error certainly doesn't mean there is a leak. The error happens, it gets handled and logged, so there is "leak" in terms of memory. While it logs an "error" it really is just a warning. It doesn't impact the system in any other way.
I was hoping to see this logged exception magically disappear in the latest Phoenix core build ...
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard
Reply With Quote
  #6  
Old 10-30-2012, 11:54 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
it will go away but we are still working at building in the latest wunderground weather into the core....so stay tuned.

k
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Weather API v2.0.2 Opus4 SageTV Studio 15 11-08-2012 06:21 PM
Google weather - not working !!!! jusjoken SageTV Software 95 10-12-2012 03:09 PM
Google Weather API v1 Opus4 SageTV Studio 13 12-05-2011 08:03 AM
FYI - Google Weather Broken peterjb SageTV Australia/New Zealand 1 11-21-2011 03:07 PM
Downloaded Google Weather Update, No weather? symgryph SageTV v7 Customizations 3 11-18-2011 08:55 AM


All times are GMT -6. The time now is 12:59 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.