You are here: Home
PachyForge Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Java exception when previewing/publishing proje (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Java exception when previewing/publishing proje
#129
Boydicus (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline
Java exception when previewing/publishing project. 4 Years, 2 Months ago Karma: 0  
Greetings!

I am trying to get a new installation up and running but am having a problem where I get a java exception whenever we preview or publish a presentation. I wonder if anyone could help me find a way to get more information out of Pachy as to what is making it so unhappy?

I am running ver2.0.4 on a Windows server machine with the latest versions of Apache, MySQL, and JRE.

Thanks!
Any pointers or tips would be greatly appreciated!

I get the following in the command line when I try to preview:
--------------------------------------------------------------

[2008-03-14 09:23:48 CST] <WorkerThread2> <com.WebObjects.appserver._private.WOC
omponentRequestHandler>: Exception occurred while handling request:
java.lang.NullPointerException
[2008-03-14 09:23:48 CST] <WorkerThread2> java.lang.NullPointerException
at org.NMC.pachyderm.foundation.PXBuildTarget._systemTargetsByIdentifier
(PXBuildTarget.java:196)
at org.nmc.pachyderm.foundation.PXBuildTarget.systemTargetForIdentifier(
PXBuildTarget.java:126)
at org.nmc.pachyderm.authoring.EditPresentationPage._handleScreenPreview
Command(EditPresentationPage.java:229)
at org.nmc.pachyderm.authoring.EditPresentationPage.previewHomeScreen(Ed
itPresentationPage.java:219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValu
e(NSKeyValueCoding.java:684)
at com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObje
ct(NSKeyValueCoding.java:1160)
at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valu
eForKey(NSKeyValueCoding.java:1268)
at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:153
9)
at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyV
alueCoding.java:498)
at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementa
tion.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java
:1600)
at com.webobjects.appserver._private.WOKeyValueAssociation.valueInCompon
ent(WOKeyValueAssociation.java:46)
at com.webobjects.appserver.WOComponent.valueForBinding(WOComponent.java
:735)
at com.webobjects.appserver._private.WOBindingNameAssociation.valueInCom
ponent(WOBindingNameAssociation.java:35)
at com.webobjects.appserver._private.WOHyperlink.invokeAction(WOHyperlin
k.java:76)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction
(WODynamicGroup.java:101)
at com.webobjects.appserver._private.WOGenericContainer.invokeAction(WOG
enericContainer.java:23)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction
(WODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynam
icGroup.java:110)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:94
5)
at com.webobjects.appserver._private.WOComponentReference.invokeAction(W
OComponentReference.java:104)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction
(WODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynam
icGroup.java:110)
at com.webobjects.appserver._private.WOConditional.invokeAction(WOCondit
ional.java:55)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction
(WODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynam
icGroup.java:110)
at com.webobjects.appserver._private.WOComponentContent.invokeAction(WOC
omponentContent.java:31)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction
(WODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynam
icGroup.java:110)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:94
5)
at com.webobjects.appserver._private.WOComponentReference.invokeAction(W
OComponentReference.java:104)
at com.webobjects.appserver._private.WOSwitchComponent.invokeAction(WOSw
itchComponent.java:171)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:94
5)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1168)
at com.webobjects.appserver.WOApplication.invokeAction(WOApplication.jav
a:1375)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatch
WithPreparedPage(WOComponentRequestHandler.java:196)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatch
WithPreparedSession(WOComponentRequestHandler.java:287)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatch
WithPreparedApplication(WOComponentRequestHandler.java:322)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleRe
quest(WOComponentRequestHandler.java:358)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleReq
uest(WOComponentRequestHandler.java:435)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.
java:1306)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThre
ad.java:173)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.j
ava:254)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#130
joshua (Admin)
Admin
Posts: 35
graphgraph
User Offline
Re:Java exception when previewing/publishing proje 4 Years, 2 Months ago Karma: 0  
Greetings,

It looks to me like it might be that either there is a permissions problem or there are missing directories that are causing a failure in the creation of the assets needed to create a published presentation. I would look into the log files and check for failures around assets to confirm. Make sure that the wwwroot is set up with the right directories, and that your temp directory is read/writeable by the user that is running Pachyderm and Apache.

Joshua
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#132
Boydicus (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline
Re:Java exception when previewing/publishing proje 4 Years, 1 Month ago Karma: 0  
Thanks for your response. I have verified that the user running the pachy has full access to the web root and pachy program directory. Can you advise me on how to "look into the logs"? There is a logs dir but it is empty. Is there something I have to do to turn on logging?
Thanks!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#133
joshua (Admin)
Admin
Posts: 35
graphgraph
User Offline
Re:Java exception when previewing/publishing proje 4 Years, 1 Month ago Karma: 0  
I'm not as versed on the Windows install as I am on the Mac, but the logs directory should produce both an output log and an error log - if they aren't there, it's possible that the permissions on the log directory are not set to writeable by the user that runs apache and WebObjects. Change the directory permissions to world-writeable and try re-running the app.

Can anyone who has more Windows install familiarity help out in finding the location of the logs?

Thanks,

Joshua
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#169
CindyWalters (User)
Junior Boarder
Posts: 20
graphgraph
User Offline
Re:Java exception when previewing/publishing proje 3 Years, 10 Months ago Karma: 0  
Sorry for the very late reply, but on Windows the logs are found in the Pachyderm installation location, under the Pachyderm\logs\ directory. For example: C:\Program Files\Pachyderm\logs\. Default file names are pachyderm.output.txt and pachyderm.errors.txt.

Cindy
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop