You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Mark Sinke (JIRA)" <ji...@apache.org> on 2007/06/14 15:06:26 UTC
[jira] Created: (TRANSACTION-17) MultipartStream public API broken
MultipartStream public API broken
---------------------------------
Key: TRANSACTION-17
URL: https://issues.apache.org/jira/browse/TRANSACTION-17
Project: Commons Transaction
Issue Type: Bug
Environment: commons-transaction version 1.2
Reporter: Mark Sinke
In commons-transaction 1.2 the MultipartStream class has 2 public constructors. Both are deprecated; however their implementation delegates to non-visible (package-private) constructors. There are two issues here:
1. the deprecated, delegating constructors use a null pointer for the progress notifier, which in turn yield a NullPointerException when you try to use them
2. the non-deprecated constructors are not visible.
Hence, I cannot really upgrade from 1.0 to 1.2.
Thanks,
Mark.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Commented: (TRANSACTION-17) MultipartStream public API
broken
Posted by "Oliver Zeigermann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TRANSACTION-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504716 ]
Oliver Zeigermann commented on TRANSACTION-17:
----------------------------------------------
Hi Mark!
Are you sure that you are talking about commons transaction here? I can not find class MultipartStream in this component. Maybe you wanted to refer to the fileupload component?!
> MultipartStream public API broken
> ---------------------------------
>
> Key: TRANSACTION-17
> URL: https://issues.apache.org/jira/browse/TRANSACTION-17
> Project: Commons Transaction
> Issue Type: Bug
> Environment: commons-transaction version 1.2
> Reporter: Mark Sinke
>
> In commons-transaction 1.2 the MultipartStream class has 2 public constructors. Both are deprecated; however their implementation delegates to non-visible (package-private) constructors. There are two issues here:
> 1. the deprecated, delegating constructors use a null pointer for the progress notifier, which in turn yield a NullPointerException when you try to use them
> 2. the non-deprecated constructors are not visible.
> Hence, I cannot really upgrade from 1.0 to 1.2.
> Thanks,
> Mark.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Commented: (TRANSACTION-17) MultipartStream public API
broken
Posted by "Mark Sinke (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TRANSACTION-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505755 ]
Mark Sinke commented on TRANSACTION-17:
---------------------------------------
You're right. I'm off. Will post it there.
> MultipartStream public API broken
> ---------------------------------
>
> Key: TRANSACTION-17
> URL: https://issues.apache.org/jira/browse/TRANSACTION-17
> Project: Commons Transaction
> Issue Type: Bug
> Environment: commons-transaction version 1.2
> Reporter: Mark Sinke
>
> In commons-transaction 1.2 the MultipartStream class has 2 public constructors. Both are deprecated; however their implementation delegates to non-visible (package-private) constructors. There are two issues here:
> 1. the deprecated, delegating constructors use a null pointer for the progress notifier, which in turn yield a NullPointerException when you try to use them
> 2. the non-deprecated constructors are not visible.
> Hence, I cannot really upgrade from 1.0 to 1.2.
> Thanks,
> Mark.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Closed: (TRANSACTION-17) MultipartStream public API broken
Posted by "Jörg Heinicke (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TRANSACTION-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jörg Heinicke closed TRANSACTION-17.
------------------------------------
FILEUPLOAD-137
> MultipartStream public API broken
> ---------------------------------
>
> Key: TRANSACTION-17
> URL: https://issues.apache.org/jira/browse/TRANSACTION-17
> Project: Commons Transaction
> Issue Type: Bug
> Environment: commons-transaction version 1.2
> Reporter: Mark Sinke
>
> In commons-transaction 1.2 the MultipartStream class has 2 public constructors. Both are deprecated; however their implementation delegates to non-visible (package-private) constructors. There are two issues here:
> 1. the deprecated, delegating constructors use a null pointer for the progress notifier, which in turn yield a NullPointerException when you try to use them
> 2. the non-deprecated constructors are not visible.
> Hence, I cannot really upgrade from 1.0 to 1.2.
> Thanks,
> Mark.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Resolved: (TRANSACTION-17) MultipartStream public API broken
Posted by "Oliver Zeigermann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TRANSACTION-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oliver Zeigermann resolved TRANSACTION-17.
------------------------------------------
Resolution: Invalid
Setting to invalid for now.
> MultipartStream public API broken
> ---------------------------------
>
> Key: TRANSACTION-17
> URL: https://issues.apache.org/jira/browse/TRANSACTION-17
> Project: Commons Transaction
> Issue Type: Bug
> Environment: commons-transaction version 1.2
> Reporter: Mark Sinke
>
> In commons-transaction 1.2 the MultipartStream class has 2 public constructors. Both are deprecated; however their implementation delegates to non-visible (package-private) constructors. There are two issues here:
> 1. the deprecated, delegating constructors use a null pointer for the progress notifier, which in turn yield a NullPointerException when you try to use them
> 2. the non-deprecated constructors are not visible.
> Hence, I cannot really upgrade from 1.0 to 1.2.
> Thanks,
> Mark.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org