• 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: Application won't start anymore
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application won't start anymore


  • Subject: Re: Application won't start anymore
  • From: Timo Hoepfner <email@hidden>
  • Date: Mon, 4 Oct 2010 18:48:58 +0200

Hi Amedeo,

jar files can have an optional index file inside. If this is out of sync with the actual contents, you can get this error.
The only jar file in Wonder that has such an index is in ERPDFGeneration (core-renderer-R8-final.jar).


Try updating the index with "jar -i" and see if that solves the problem:

> cd path/to/Wonder/Frameworks/Misc/ERPDFGeneration/Libraries
> jar -i core-renderer-R8-final.jar

If this doesn't help, it's probably not a Wonder jar that causes the error.

Timo

Am 04.10.2010 um 10:08 schrieb Amedeo Mantica:

Without any changes to the app I get this error

Some day ago I updated Wonder to latest ( I'm using WO 5.4 )

Other projects are working fine.

Suggestions? Thanks

Amedeo


Oct 04 10:05:44 ConfindustriaNet[22500] ERROR er.extensions.appserver.ERXApplication - ConfindustriaNet failed to start.
InvalidJarIndexException: Invalid index
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java: 858)
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java: 765)
at sun.misc.URLClassPath.getResource(URLClassPath.java:169)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com .webobjects .foundation._NSUtilities._searchForClassInPackages(_NSUtilities.java: 415)
at com .webobjects .foundation.NSBundle.searchForClassInBundles(NSBundle.java:941)
at com .webobjects .foundation.NSBundle.searchAllBundlesForClassWithName(NSBundle.java: 927)
at com.webobjects.foundation.NSBundle $1._searchForClassWithName(NSBundle.java:351)
at com .webobjects .foundation._NSUtilities._classWithPartialName(_NSUtilities.java:385)
at com .webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java: 335)
at er .extensions .migration.ERXMigrator._buildDependenciesForModel(ERXMigrator.java: 357)
at er .extensions .migration .ERXMigrator._buildDependenciesForModelsNamed(ERXMigrator.java:275)
at er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java: 184)
at er .extensions .appserver.ERXApplication.finishInitialization(ERXApplication.java: 1184)
... skipped 13 stack elements
Oct 04 10:05:44 ConfindustriaNet[22500] WARN NSLog - A fatal exception occurred: Invalid index
[2010-10-4 10:5:44 CEST] <main> sun.misc.InvalidJarIndexException: Invalid index
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:858)
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:765)
at sun.misc.URLClassPath.getResource(URLClassPath.java:169)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com .webobjects .foundation._NSUtilities._searchForClassInPackages(_NSUtilities.java: 415)
at com .webobjects .foundation.NSBundle.searchForClassInBundles(NSBundle.java:941)
at com .webobjects .foundation.NSBundle.searchAllBundlesForClassWithName(NSBundle.java: 927)
at com.webobjects.foundation.NSBundle $1._searchForClassWithName(NSBundle.java:351)
at com .webobjects .foundation._NSUtilities._classWithPartialName(_NSUtilities.java:385)
at com .webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java: 335)
at er .extensions .migration.ERXMigrator._buildDependenciesForModel(ERXMigrator.java: 357)
at er .extensions .migration .ERXMigrator._buildDependenciesForModelsNamed(ERXMigrator.java:275)
at er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java: 184)
at er .extensions .appserver.ERXApplication.finishInitialization(ERXApplication.java: 1184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com .webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java: 122)
at com.webobjects.foundation.NSNotificationCenter $_Entry.invokeMethod(NSNotificationCenter.java:588)
at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java:546)
at com.webobjects.appserver.WOApplication.run(WOApplication.java: 1229)
at er.extensions.appserver.ERXApplication.run(ERXApplication.java: 1297)
at com.webobjects.appserver.WOApplication.main(WOApplication.java: 548)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java: 783)
at it.chieti.confindustria.Application.main(Application.java:36)


_______________________________________________
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

_______________________________________________ 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: Application won't start anymore [SOLVED]
      • From: Amedeo Mantica <email@hidden>
References: 
 >Application won't start anymore (From: Amedeo Mantica <email@hidden>)

  • Prev by Date: Re: Default value for attribute in EntityModeler?
  • Next by Date: Re: Application won't start anymore [SOLVED]
  • Previous by thread: Application won't start anymore
  • Next by thread: Re: Application won't start anymore [SOLVED]
  • Index(es):
    • Date
    • Thread