[JBoss JIRA] Created: (JBOSGI-137) Cannot parse Bundle-SymbolicName
by Thomas Diesler (JIRA)
Cannot parse Bundle-SymbolicName
--------------------------------
Key: JBOSGI-137
URL: https://jira.jboss.org/jira/browse/JBOSGI-137
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core
Reporter: Thomas Diesler
Fix For: Framework 1.0.0 Alpha1
The AbstractOSGiMetaData.parseSymbolicName() cannot always parse the symbolic name
Currently there is a hack in place falls back to the main attribute
public String getBundleSymbolicName()
{
String symbolicName = null;
ParameterizedAttribute parameters = parseSymbolicName();
if (parameters != null)
symbolicName = parameters.getAttribute();
// [TODO] Remove this fall back
if (symbolicName == null)
symbolicName = getMainAttribute(Constants.BUNDLE_SYMBOLICNAME);
if (symbolicName == null)
throw new IllegalStateException("Cannot obtain " + Constants.BUNDLE_SYMBOLICNAME);
return symbolicName;
}
--
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
14 years, 6 months
[JBoss JIRA] Created: (JBOSGI-153) Cannot parse Import Package parameters
by Thomas Diesler (JIRA)
Cannot parse Import Package parameters
--------------------------------------
Key: JBOSGI-153
URL: https://jira.jboss.org/jira/browse/JBOSGI-153
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core
Reporter: Thomas Diesler
Assignee: Adrian Brock
Fix For: Framework 1.0.x
The AbstractOSGiMetaData.parseSymbolicName() cannot always parse the symbolic name
Currently there is a hack in place falls back to the main attribute
public String getBundleSymbolicName()
{
String symbolicName = null;
ParameterizedAttribute parameters = parseSymbolicName();
if (parameters != null)
symbolicName = parameters.getAttribute();
// [TODO] Remove this fall back
if (symbolicName == null)
symbolicName = getMainAttribute(Constants.BUNDLE_SYMBOLICNAME);
if (symbolicName == null)
throw new IllegalStateException("Cannot obtain " + Constants.BUNDLE_SYMBOLICNAME);
return symbolicName;
}
--
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
14 years, 6 months
[JBoss JIRA] Created: (JBOSGI-187) Husky SocketInvocation may block forever
by Thomas Diesler (JIRA)
Husky SocketInvocation may block forever
----------------------------------------
Key: JBOSGI-187
URL: https://jira.jboss.org/jira/browse/JBOSGI-187
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jboss-osgi-husky
Reporter: Thomas Diesler
Fix For: JBossOSGi 1.0.x
Hudson hanging on this
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2266)
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2279)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
at org.jboss.osgi.husky.internal.SocketInvocation.invoke(SocketInvocation.java:79)
at org.jboss.osgi.husky.internal.OSGiInvoker.invoke(OSGiInvoker.java:58)
at org.jboss.osgi.husky.internal.AbstractBridge.run(AbstractBridge.java:66)
at org.jboss.osgi.husky.internal.AbstractBridge.run(AbstractBridge.java:52)
at org.jboss.test.osgi.example.blueprint.BlueprintTestCase.testBlueprintContainerAvailable(BlueprintTestCase.java:103)
--
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
14 years, 6 months