Details
-
Type: Bug
-
Status: Closed
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: unspecified
-
Fix Version/s: None
-
Component/s: Other
-
Labels:None
-
Environment:
Operating System: Windows XP
Platform: PC
-
Bugzilla Id:3727
Description
--------------------------------------------------
Component Used: ./contenteditor.sh
Build: tsa-build-bidmgr-2010-04-07-p592-r1223
--------------------------------------------------
Steps to reproduce:
1. Execute 'contenteditor.sh' with appropriate arguments as follows:
./contenteditor-google.sh -d3 -U 3651 -a 3191 -c 336501 -P
Expected Result:
If the option -P need values,the script usage should be displayed else the
script should execute successfully giving the appropriate output
Actual Result:
The follwoing output was obtained which had the "Null Pointer Exception":
pid 16210's current affinity mask: 1
pid 16210's new affinity mask: 1
2010-04-12 08:47:37.727 (3) [main]: Debug Level set to 3
2010-04-12 08:47:37.742 (3) [main]: LicensingFileRefresher:
modification detected on 1271061069000 for licensing.properties
2010-04-12 08:47:37.745 (3) [main]: Licensing environment
detected, loading configuration.
2010-04-12 08:47:37.746 (3) [main]: Loaded property:
tsa.google.mcc.email=yellsmsdomain@yellgroup.com
2010-04-12 08:47:37.747 (3) [main]: Loaded property:
tsa.google.mcc.password=nb8mq1r0v27a
2010-04-12 08:47:37.747 (3) [main]: Loaded property:
tsa.google.mcc.developerToken=NT-M9w1-slpn_FomR2AQhw
2010-04-12 08:47:37.747 (3) [main]: Loaded property:
tsa.google.mcc.applicationToken=uoIAD-arHiCXJKtlGSg5qw
2010-04-12 08:47:37.748 (3) [main]: Loaded property:
tsa.google.mcc.isReseller=true
2010-04-12 08:47:37.748 (3) [main]: Loaded property:
tsa.google.mcc.userAgent=MMS AdWords Software
2010-04-12 08:47:37.748 (3) [main]: Loaded property:
tsa.google.isSandbox=true;
2010-04-12 08:47:37.752 (3) [main]: =============== Starting
Google Content Editor ================
2010-04-12 08:47:37.753 (3) [main]: ----------------Google
Content Editor starting
2010-04-12 08:47:38.600 (3) [P1T1]: Created shared sesystem
connection rw
2010-04-12 08:47:41.854 (3) [P1T1]: DatabasePool with a limit of
80 created
2010-04-12 08:47:42.006 (2) [P1T1]: Exception [Exception running
content editor, quitting]:java.lang.NullPointerException
at
com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditorHelper.replaceKeywords(GoogleContentEditorHelper.java:282)
at
com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditorHelper.replace(GoogleContentEditorHelper.java:225)
at
com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.handlePreRunActions(GoogleContentEditor.java:921)
at
com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.run(GoogleContentEditor.java:865)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
2010-04-12 08:47:42.007 (3) [P1T1]: ... SEUser 3651 finished
2010-04-12 08:47:42.008 (3) [main]: ------------Google Content
Editor done
2010-04-12 08:47:42.008 (3) [main]: =============== Completed
Google Content Editor ================