[jboss-jira] [JBoss JIRA] (AS7-1288) NPE in thread "vfs-shutdown"

Darryl Miles (JIRA) jira-events at lists.jboss.org
Wed Apr 10 08:03:49 EDT 2013


    [ https://issues.jboss.org/browse/AS7-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765941#comment-12765941 ] 

Darryl Miles commented on AS7-1288:
-----------------------------------

If it helps the TempFileProvider$DeleteTask has a:

filePath = null;
path = "F:\Devel\deps\jboss-eap-6.1\standalone\tmp\vfs\osgitmp-449ec252f4170b79";
prefixLength = 3;

The contents of this directory are empty.
I am able without any issue to "rmdir" the directory from a cmd.exe while the debugger has suspended the shutdown when the NPE is thrown.

Maybe there is a shutdown timing issue and the an open file handle was closed and file deleted by OSGi subsystem after the NPE is thrown ?

So I guess OSGi is the cause in my case if that help track the issue.
                
> NPE in thread "vfs-shutdown" 
> -----------------------------
>
>                 Key: AS7-1288
>                 URL: https://issues.jboss.org/browse/AS7-1288
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: VFS
>    Affects Versions: 7.0.0.Final
>         Environment: 7.1.0.Alpha1 Jenkins build 1402
>            Reporter: Juergen Zimmermann
>            Assignee: David Lloyd
>             Fix For: Awaiting Volunteers
>
>
> When I shutdown a standalone server I'm getting a NPE. The shutdown command is:
> jboss-admin.bat --connect command=:shutdown
> Console log:
> ...
> 18:24:55,990 INFO  [org.jboss.as.logging] Restored bootstrap log handlers
> 18:24:55,990 INFO  [org.jboss.as.jmx.JMXConnectorService] JMX remote connector stopped
> 18:24:56,075 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: jboss-as-osgi-configadmin:7.1.0.Alpha1-SNAPSHOT
> 18:24:56,125 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: org.apache.felix.log:1.0.0
> 18:24:56,230 INFO  [org.apache.catalina.core.StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
> 18:24:56,286 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: org.apache.felix.configadmin:1.2.8
> 18:24:56,323 INFO  [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: jboss-osgi-logging:1.0.0
> 18:24:56,330 INFO  [com.arjuna.ats.jbossatx] ARJUNA32018: Destroying TransactionManagerService
> 18:24:56,331 INFO  [com.arjuna.ats.jbossatx] ARJUNA32014: Stopping transaction recovery manager
> 18:24:56,368 ERROR [stderr] Exception in thread "vfs-shutdown" java.lang.NullPointerException
> 18:24:56,368 ERROR [stderr] 	at org.jboss.vfs.TempFileProvider$DeleteTask.run(TempFileProvider.java:151)
> 18:24:56,368 ERROR [stderr] 	at org.jboss.vfs.TempFileProvider.close(TempFileProvider.java:132)
> 18:24:56,368 ERROR [stderr] 	at org.jboss.osgi.vfs30.VirtualFileAdaptor30$2.run(VirtualFileAdaptor30.java:94)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list