Petals ESB Container

NPE if directories used by the autoloader are deleted when it runs

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 4.0.0
  • Fix Version/s: 4.1.0
  • Component/s: Autoloader
  • Security Level: Public
  • Description:
    Hide
    1. start Petals ESB (the autoloader is enabled)
    2. remove directories: $PETALS_HOME/install, $PETALS_HOME/installed


    The following error occurs:

    Exception in thread "Timer-0" java.lang.NullPointerException
    	at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:59)
    	at java.util.TimerThread.mainLoop(Timer.java:512)
    	at java.util.TimerThread.run(Timer.java:462)
    Exception in thread "Timer-1" java.lang.NullPointerException
    	at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
    	at java.util.Arrays.asList(Arrays.java:3343)
    	at org.ow2.petals.jbi.management.autoload.InstalledDirectoryScanner.run(InstalledDirectoryScanner.java:52)
    	at java.util.TimerThread.mainLoop(Timer.java:512)
    	at java.util.TimerThread.run(Timer.java:462)
    Show
    1. start Petals ESB (the autoloader is enabled)
    2. remove directories: $PETALS_HOME/install, $PETALS_HOME/installed

    The following error occurs:
    Exception in thread "Timer-0" java.lang.NullPointerException
    	at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:59)
    	at java.util.TimerThread.mainLoop(Timer.java:512)
    	at java.util.TimerThread.run(Timer.java:462)
    Exception in thread "Timer-1" java.lang.NullPointerException
    	at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
    	at java.util.Arrays.asList(Arrays.java:3343)
    	at org.ow2.petals.jbi.management.autoload.InstalledDirectoryScanner.run(InstalledDirectoryScanner.java:52)
    	at java.util.TimerThread.mainLoop(Timer.java:512)
    	at java.util.TimerThread.run(Timer.java:462)
  • Environment:
    Linux Ubuntu 11.10

Activity

Hide
Christophe DENEUX added a comment - Wed, 28 Mar 2012 - 11:15:13 +0200

The NPE was replaced by a WARNING message

Show
Christophe DENEUX added a comment - Wed, 28 Mar 2012 - 11:15:13 +0200 The NPE was replaced by a WARNING message

People

Dates

  • Created:
    Wed, 28 Mar 2012 - 10:40:28 +0200
    Updated:
    Wed, 27 Feb 2013 - 11:23:02 +0100
    Resolved:
    Wed, 28 Mar 2012 - 11:14:43 +0200