• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unclear error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unclear error


  • Subject: Re: Unclear error
  • From: Art Isbell <email@hidden>
  • Date: Wed, 9 Mar 2005 10:52:25 -1000

On Mar 9, 2005, at 10:27 AM, Andrew Kinnie wrote:

I am using WO 5.2 on Mac OS X 10.3 and XCode 1.5. I am developing on one machine, and deploying it on another. Both machines are running OS X 10.3 client.

This is identical to my development and deployment environment.

I previously deployed an earlier version of this site successfully. Yesterday, I made some changes, that worked on the development machine, but when I changed XCode to "Deployment" style this morning, I got an error stating that there was no executable. Even switching back to "Development" did not help. I needed to restart the computer to get "Development" to properly compile and run the site.

I can't explain your experience, but I have never had a similar experience. However, my development and deployment process differs somewhat from yours.

I develop using Xcode's GUI app. When an app or framework is ready to deploy, I delete any previous installations in /Library/WebObjects/Applications, /Library/WebServer/Documents, /Library/Frameworks, and /Library/WebServer/Documents/Frameworks. This is probably not necessary, but I'm not confident that a new installation will eliminate all traces of a previous installation.

To install Deployment and WebServer versions on my development system, I use Xcode's command-line interface in a shell script, xcodeinstall:

#! /bin/sh

sudo xcodebuild install -buildstyle Deployment DSTROOT=/
sudo xcodebuild install -buildstyle WebServer DSTROOT=/

I test this deployment on my development system using apache. If it works correctly, I create zip or tgz archives of each installed product, transfer them to my deployment system, and unarchive each archive.

This process has always worked for me.

I got this error on one of the subcomponents (Admin):

Error:
java.lang.NullPointerException

Reason:

Stack trace:

File
Line#
Method
Package

NA : Non applicable, JIT activated


I've seen this very uninformative error message during development occasionally. I have always been able to solve the problem, probably by running the app under the debugger. Unfortunately, I cannot recall the details.

Aloha,
Art
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Unclear error (From: Andrew Kinnie <email@hidden>)

  • Prev by Date: Re: Tomcat and WO System Properties...
  • Next by Date: FOP with WO error
  • Previous by thread: Unclear error
  • Next by thread: FOP with WO error
  • Index(es):
    • Date
    • Thread