[jboss-jira] [JBoss JIRA] Commented: (JBVFS-142) NPE in VirtualJarInputStream
John Bailey (JIRA)
jira-events at lists.jboss.org
Fri Mar 5 12:04:10 EST 2010
[ https://jira.jboss.org/jira/browse/JBVFS-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12518425#action_12518425 ]
John Bailey commented on JBVFS-142:
-----------------------------------
I have committed a fix for the bug causing the NullPointer. There is however another issue here as mentioned in my previous comment, since the JAR is actually a directory at the point this code is executing it.
I will live this issue open and hopefully we can get some more info on why it is trying to read a directory as a file.
> NPE in VirtualJarInputStream
> ----------------------------
>
> Key: JBVFS-142
> URL: https://jira.jboss.org/jira/browse/JBVFS-142
> Project: JBoss VFS
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.0.0.CR3
> Reporter: Thomas Diesler
> Assignee: John Bailey
> Fix For: 3.0.0.CR4
>
>
> Caused by: java.lang.NullPointerException
> at org.jboss.vfs.VirtualJarInputStream.read(VirtualJarInputStream.java:149)
> at org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.readFile(AdaptorUtil.java:75)
> at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:77)
> at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:922)
> In a Deployer I get a bundle location as String from the configuration.
> I pass the String on to a 3rd party library (i.e. Equinox)
> Equinox does
> URLConnection urlcon = new URL(location).openConnection()
> urlcon.openStream();
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list