• 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: Odd NoClassDefFoundError Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd NoClassDefFoundError Error


  • Subject: Re: Odd NoClassDefFoundError Error
  • From: David Avendasora <email@hidden>
  • Date: Wed, 8 Sep 2010 14:36:35 -0400

Okay, Steve Meyer figured it out.

The app started up just fine, but the first time the "Inbox" class was called, it called it's superclass which has a static variable that loads a set of EOs from the database. That DB connection failed, which left the superclass uninitialized and therefor basically corrupt, and therefor the NoClassDefFoundError.

I think we'll be digging around looking for more issues like this. Soon.

Dave

PS, Sorry about the lack of stack trace.

On Sep 8, 2010, at 1:20 PM, Chuck Hill wrote:

> Any exceptions in the log on start up?  Were you upgrading something?  Are you sure that this one instance did not just _not_ restart and so no see the new code?
>
> Chuck
>
>
> On Sep 8, 2010, at 10:12 AM, David Avendasora wrote:
>
>> Hi all,
>>
>> Has anyone else ever seen this:
>>
>> We have a server that is running 4 instances of one of our apps. Last night we restarted one of the instances and apparently it didn't properly load 1 class that is part of one of our internal frameworks.
>>
>> Every time a user tried a feature that used that one class, we got java.lang.NoClassDefFoundError. The other instances of the same app started from the same files on the hard drive were running fine.
>>
>> We restarted the affected instance and that eliminated the problem.
>>
>> We couldn't find any errors in any of the logs that would explain why the class wouldn't have properly loaded.
>>
>> It's all fine now, but this was a very strange issue.
>>
>> Anyone ever run into something like that?
>>
>> Dave  _______________________________________________
>> 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
>
> --
> Chuck Hill             Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
>
>

 _______________________________________________
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

  • Follow-Ups:
    • Re: Odd NoClassDefFoundError Error
      • From: Chuck Hill <email@hidden>
References: 
 >Odd NoClassDefFoundError Error (From: David Avendasora <email@hidden>)
 >Re: Odd NoClassDefFoundError Error (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WOWODC 2011 coming to your city
  • Next by Date: Re: WOWODC 2011 coming to your city
  • Previous by thread: Re: Odd NoClassDefFoundError Error
  • Next by thread: Re: Odd NoClassDefFoundError Error
  • Index(es):
    • Date
    • Thread