You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <tu...@ws.apache.org> on 2006/10/13 13:04:35 UTC
[jira] Created: (TUSCANY-838) Standalone launcer fails with NPE for
ALL samples
Standalone launcer fails with NPE for ALL samples
-------------------------------------------------
Key: TUSCANY-838
URL: http://issues.apache.org/jira/browse/TUSCANY-838
Project: Tuscany
Issue Type: Bug
Components: Java SCA Core
Affects Versions: Java-M2
Reporter: ant elder
Priority: Blocker
Fix For: Java-M2
Trying to use the standalone launcer and it fails with NPE for ALL our samples
C:\SCA\Standalone>java -jar bin\launcher.jar --classpath ..\SVN\TRUNK\samples\sca\calculator\target\sample-calculator-1.0-incubator-M2-SNAPSHOT.jar
Exception in thread "main" java.lang.NullPointerException
at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:102)
at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.loadFromSidefile(CompositeComponentTypeLoader.java:65)
at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:57)
at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:39)
at org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(LoaderRegistryImpl.java:159)
at org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:101)
at org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:76)
at org.apache.tuscany.core.runtime.AbstractRuntime.deployApplicationScdl(AbstractRuntime.java:136)
at org.apache.tuscany.runtime.standalone.host.StandaloneRuntimeImpl.initialize(StandaloneRuntimeImpl.java:85)
at org.apache.tuscany.launcher.MainLauncherBooter.main(MainLauncherBooter.java:80)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-838) Standalone launcher fails with NPE
for ALL samples
Posted by "Jeremy Boynes (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-838?page=comments#action_12442028 ]
Jeremy Boynes commented on TUSCANY-838:
---------------------------------------
It works if you don't put in "--classpath" so that's a doc bug:
$ java -jar bin/launcher.jar ~/.m2/repository/org/apache/tuscany/samples/sca/sample-calculator/1.0-incubator-M2-SNAPSHOT/sample-calculator-1.0-incubator-M2-SNAPSHOT.jar
3 + 2=5.0
3 - 2=1.0
3 * 2=6.0
3 / 2=1.5
We still need to handle the problem better and output a message rather than a stacktrace.
> Standalone launcher fails with NPE for ALL samples
> --------------------------------------------------
>
> Key: TUSCANY-838
> URL: http://issues.apache.org/jira/browse/TUSCANY-838
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core
> Affects Versions: Java-M2
> Reporter: ant elder
> Assigned To: ant elder
> Priority: Blocker
> Fix For: Java-M2
>
>
> Trying to use the standalone launcher and it fails with NPE for ALL our samples
> C:\SCA\Standalone>java -jar bin\launcher.jar --classpath ..\SVN\TRUNK\samples\sca\calculator\target\sample-calculator-1.0-incubator-M2-SNAPSHOT.jar
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:102)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.loadFromSidefile(CompositeComponentTypeLoader.java:65)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:57)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:39)
> at org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(LoaderRegistryImpl.java:159)
> at org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:101)
> at org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:76)
> at org.apache.tuscany.core.runtime.AbstractRuntime.deployApplicationScdl(AbstractRuntime.java:136)
> at org.apache.tuscany.runtime.standalone.host.StandaloneRuntimeImpl.initialize(StandaloneRuntimeImpl.java:85)
> at org.apache.tuscany.launcher.MainLauncherBooter.main(MainLauncherBooter.java:80)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Assigned: (TUSCANY-838) Standalone launcher fails with NPE
for ALL samples
Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-838?page=all ]
ant elder reassigned TUSCANY-838:
---------------------------------
Assignee: ant elder
> Standalone launcher fails with NPE for ALL samples
> --------------------------------------------------
>
> Key: TUSCANY-838
> URL: http://issues.apache.org/jira/browse/TUSCANY-838
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core
> Affects Versions: Java-M2
> Reporter: ant elder
> Assigned To: ant elder
> Priority: Blocker
> Fix For: Java-M2
>
>
> Trying to use the standalone launcher and it fails with NPE for ALL our samples
> C:\SCA\Standalone>java -jar bin\launcher.jar --classpath ..\SVN\TRUNK\samples\sca\calculator\target\sample-calculator-1.0-incubator-M2-SNAPSHOT.jar
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:102)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.loadFromSidefile(CompositeComponentTypeLoader.java:65)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:57)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:39)
> at org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(LoaderRegistryImpl.java:159)
> at org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:101)
> at org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:76)
> at org.apache.tuscany.core.runtime.AbstractRuntime.deployApplicationScdl(AbstractRuntime.java:136)
> at org.apache.tuscany.runtime.standalone.host.StandaloneRuntimeImpl.initialize(StandaloneRuntimeImpl.java:85)
> at org.apache.tuscany.launcher.MainLauncherBooter.main(MainLauncherBooter.java:80)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Updated: (TUSCANY-838) Standalone launcher fails with NPE
for ALL samples
Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-838?page=all ]
ant elder updated TUSCANY-838:
------------------------------
Summary: Standalone launcher fails with NPE for ALL samples (was: Standalone launcer fails with NPE for ALL samples)
Description:
Trying to use the standalone launcher and it fails with NPE for ALL our samples
C:\SCA\Standalone>java -jar bin\launcher.jar --classpath ..\SVN\TRUNK\samples\sca\calculator\target\sample-calculator-1.0-incubator-M2-SNAPSHOT.jar
Exception in thread "main" java.lang.NullPointerException
at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:102)
at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.loadFromSidefile(CompositeComponentTypeLoader.java:65)
at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:57)
at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:39)
at org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(LoaderRegistryImpl.java:159)
at org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:101)
at org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:76)
at org.apache.tuscany.core.runtime.AbstractRuntime.deployApplicationScdl(AbstractRuntime.java:136)
at org.apache.tuscany.runtime.standalone.host.StandaloneRuntimeImpl.initialize(StandaloneRuntimeImpl.java:85)
at org.apache.tuscany.launcher.MainLauncherBooter.main(MainLauncherBooter.java:80)
was:
Trying to use the standalone launcer and it fails with NPE for ALL our samples
C:\SCA\Standalone>java -jar bin\launcher.jar --classpath ..\SVN\TRUNK\samples\sca\calculator\target\sample-calculator-1.0-incubator-M2-SNAPSHOT.jar
Exception in thread "main" java.lang.NullPointerException
at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:102)
at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.loadFromSidefile(CompositeComponentTypeLoader.java:65)
at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:57)
at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:39)
at org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(LoaderRegistryImpl.java:159)
at org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:101)
at org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:76)
at org.apache.tuscany.core.runtime.AbstractRuntime.deployApplicationScdl(AbstractRuntime.java:136)
at org.apache.tuscany.runtime.standalone.host.StandaloneRuntimeImpl.initialize(StandaloneRuntimeImpl.java:85)
at org.apache.tuscany.launcher.MainLauncherBooter.main(MainLauncherBooter.java:80)
> Standalone launcher fails with NPE for ALL samples
> --------------------------------------------------
>
> Key: TUSCANY-838
> URL: http://issues.apache.org/jira/browse/TUSCANY-838
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core
> Affects Versions: Java-M2
> Reporter: ant elder
> Priority: Blocker
> Fix For: Java-M2
>
>
> Trying to use the standalone launcher and it fails with NPE for ALL our samples
> C:\SCA\Standalone>java -jar bin\launcher.jar --classpath ..\SVN\TRUNK\samples\sca\calculator\target\sample-calculator-1.0-incubator-M2-SNAPSHOT.jar
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:102)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.loadFromSidefile(CompositeComponentTypeLoader.java:65)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:57)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:39)
> at org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(LoaderRegistryImpl.java:159)
> at org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:101)
> at org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:76)
> at org.apache.tuscany.core.runtime.AbstractRuntime.deployApplicationScdl(AbstractRuntime.java:136)
> at org.apache.tuscany.runtime.standalone.host.StandaloneRuntimeImpl.initialize(StandaloneRuntimeImpl.java:85)
> at org.apache.tuscany.launcher.MainLauncherBooter.main(MainLauncherBooter.java:80)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Closed: (TUSCANY-838) Standalone launcher fails with NPE for
ALL samples
Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-838?page=all ]
ant elder closed TUSCANY-838.
-----------------------------
Resolution: Fixed
Yes, after debugging thats what i found as well.
> Standalone launcher fails with NPE for ALL samples
> --------------------------------------------------
>
> Key: TUSCANY-838
> URL: http://issues.apache.org/jira/browse/TUSCANY-838
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core
> Affects Versions: Java-M2
> Reporter: ant elder
> Assigned To: ant elder
> Priority: Blocker
> Fix For: Java-M2
>
>
> Trying to use the standalone launcher and it fails with NPE for ALL our samples
> C:\SCA\Standalone>java -jar bin\launcher.jar --classpath ..\SVN\TRUNK\samples\sca\calculator\target\sample-calculator-1.0-incubator-M2-SNAPSHOT.jar
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:102)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.loadFromSidefile(CompositeComponentTypeLoader.java:65)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:57)
> at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:39)
> at org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(LoaderRegistryImpl.java:159)
> at org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:101)
> at org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:76)
> at org.apache.tuscany.core.runtime.AbstractRuntime.deployApplicationScdl(AbstractRuntime.java:136)
> at org.apache.tuscany.runtime.standalone.host.StandaloneRuntimeImpl.initialize(StandaloneRuntimeImpl.java:85)
> at org.apache.tuscany.launcher.MainLauncherBooter.main(MainLauncherBooter.java:80)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org