You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by de...@geronimo.apache.org on 2004/07/08 01:15:26 UTC
[jira] Created: (GERONIMO-262) NullPointerException deploying resource adapter
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-262
Summary: NullPointerException deploying resource adapter
Type: Bug
Status: Unassigned
Priority: Major
Project: Apache Geronimo
Versions:
1.0-M2
Assignee:
Reporter: toby cabot
Created: Wed, 7 Jul 2004 4:14 PM
Updated: Wed, 7 Jul 2004 4:14 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07
Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present.
Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml:
<?xml version="1.0" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>Fake Resource Adapter</description>
<display-name>Fake Resource Adapter</display-name>
<vendor-name>Fake Vendor</vendor-name>
<eis-type>example</eis-type>
<resourceadapter-version>0.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
</resourceadapter>
</connector>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-262) NullPointerException deploying resource adapter
Posted by de...@geronimo.apache.org.
The following issue has been updated:
Updater: toby cabot (mailto:toby@caboteria.org)
Date: Wed, 7 Jul 2004 4:20 PM
Changes:
Component changed to deployment
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/GERONIMO-262?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-262
Summary: NullPointerException deploying resource adapter
Type: Bug
Status: Unassigned
Priority: Minor
Project: Apache Geronimo
Components:
deployment
Versions:
1.0-M2
Assignee:
Reporter: toby cabot
Created: Wed, 7 Jul 2004 4:14 PM
Updated: Wed, 7 Jul 2004 4:20 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07
Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present.
Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml:
<?xml version="1.0" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>Fake Resource Adapter</description>
<display-name>Fake Resource Adapter</display-name>
<vendor-name>Fake Vendor</vendor-name>
<eis-type>example</eis-type>
<resourceadapter-version>0.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
</resourceadapter>
</connector>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Reopened: (GERONIMO-262) NullPointerException deploying resource adapter
Posted by de...@geronimo.apache.org.
Message:
The following issue has been reopened.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-262
Summary: NullPointerException deploying resource adapter
Type: Bug
Status: Reopened
Priority: Minor
Project: Apache Geronimo
Components:
deployment
Fix Fors:
1.0-M2
Versions:
1.0-M1
Assignee: David Jencks
Reporter: toby cabot
Created: Wed, 7 Jul 2004 4:14 PM
Updated: Thu, 29 Jul 2004 3:16 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07
Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present.
Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml:
<?xml version="1.0" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>Fake Resource Adapter</description>
<display-name>Fake Resource Adapter</display-name>
<vendor-name>Fake Vendor</vendor-name>
<eis-type>example</eis-type>
<resourceadapter-version>0.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
</resourceadapter>
</connector>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-262) NullPointerException deploying resource adapter
Posted by de...@geronimo.apache.org.
The following issue has been updated:
Updater: toby cabot (mailto:toby@caboteria.org)
Date: Wed, 7 Jul 2004 4:16 PM
Comment:
the patch isn't as big as it looks, most of it is re-indenting the lines inside the new if() clauses.
Changes:
Attachment changed to ra-npe-patch.txt
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/GERONIMO-262?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-262
Summary: NullPointerException deploying resource adapter
Type: Bug
Status: Unassigned
Priority: Major
Project: Apache Geronimo
Versions:
1.0-M2
Assignee:
Reporter: toby cabot
Created: Wed, 7 Jul 2004 4:14 PM
Updated: Wed, 7 Jul 2004 4:16 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07
Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present.
Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml:
<?xml version="1.0" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>Fake Resource Adapter</description>
<display-name>Fake Resource Adapter</display-name>
<vendor-name>Fake Vendor</vendor-name>
<eis-type>example</eis-type>
<resourceadapter-version>0.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
</resourceadapter>
</connector>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (GERONIMO-262) NullPointerException deploying resource adapter
Posted by de...@geronimo.apache.org.
Message:
The following issue has been closed.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-262
Summary: NullPointerException deploying resource adapter
Type: Bug
Status: Closed
Priority: Minor
Resolution: FIXED
Project: Apache Geronimo
Components:
deployment
Fix Fors:
1.0-M2
Versions:
1.0-M1
Assignee: David Jencks
Reporter: toby cabot
Created: Wed, 7 Jul 2004 4:14 PM
Updated: Thu, 29 Jul 2004 3:17 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07
Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present.
Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml:
<?xml version="1.0" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>Fake Resource Adapter</description>
<display-name>Fake Resource Adapter</display-name>
<vendor-name>Fake Vendor</vendor-name>
<eis-type>example</eis-type>
<resourceadapter-version>0.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
</resourceadapter>
</connector>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (GERONIMO-262) NullPointerException deploying resource adapter
Posted by de...@geronimo.apache.org.
Message:
The following issue has been closed.
Resolver: David Jencks
Date: Sun, 11 Jul 2004 3:03 PM
I applied the "if" for outboundResourceAdapter. I don't think the "if" for adminObject is necessary. If I'm wrong please reopen or let me know.
The geronimo configuration for resource adapter is now slightly different, see the test-data 1.5. geronimo-ra.xml. Supply the "name" portion of a WorkManager name instead of an entire BootstrapContext name.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-262
Summary: NullPointerException deploying resource adapter
Type: Bug
Status: Closed
Priority: Minor
Resolution: FIXED
Project: Apache Geronimo
Components:
deployment
Fix Fors:
1.0-M2
Versions:
1.0-M2
Assignee: David Jencks
Reporter: toby cabot
Created: Wed, 7 Jul 2004 4:14 PM
Updated: Sun, 11 Jul 2004 3:03 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07
Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present.
Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml:
<?xml version="1.0" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>Fake Resource Adapter</description>
<display-name>Fake Resource Adapter</display-name>
<vendor-name>Fake Vendor</vendor-name>
<eis-type>example</eis-type>
<resourceadapter-version>0.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
</resourceadapter>
</connector>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-262) NullPointerException deploying resource adapter
Posted by de...@geronimo.apache.org.
The following comment has been added to this issue:
Author: toby cabot
Created: Mon, 12 Jul 2004 12:58 PM
Body:
David, you're right, we don't need the if() around the admin objects. Thanks for the pointer to the config file change!
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/GERONIMO-262?page=comments#action_36614
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-262
Summary: NullPointerException deploying resource adapter
Type: Bug
Status: Closed
Priority: Minor
Resolution: FIXED
Project: Apache Geronimo
Components:
deployment
Fix Fors:
1.0-M2
Versions:
1.0-M2
Assignee: David Jencks
Reporter: toby cabot
Created: Wed, 7 Jul 2004 4:14 PM
Updated: Mon, 12 Jul 2004 12:58 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07
Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present.
Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml:
<?xml version="1.0" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>Fake Resource Adapter</description>
<display-name>Fake Resource Adapter</display-name>
<vendor-name>Fake Vendor</vendor-name>
<eis-type>example</eis-type>
<resourceadapter-version>0.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
</resourceadapter>
</connector>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Assigned: (GERONIMO-262) NullPointerException deploying resource adapter
Posted by de...@geronimo.apache.org.
Message:
The following issue has been re-assigned.
Assignee: David Jencks (mailto:david@coredevelopers.net)
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-262
Summary: NullPointerException deploying resource adapter
Type: Bug
Status: Open
Priority: Minor
Project: Apache Geronimo
Components:
deployment
Versions:
1.0-M2
Assignee: David Jencks
Reporter: toby cabot
Created: Wed, 7 Jul 2004 4:14 PM
Updated: Sun, 11 Jul 2004 12:20 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07
Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present.
Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml:
<?xml version="1.0" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>Fake Resource Adapter</description>
<display-name>Fake Resource Adapter</display-name>
<vendor-name>Fake Vendor</vendor-name>
<eis-type>example</eis-type>
<resourceadapter-version>0.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
</resourceadapter>
</connector>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-262) NullPointerException deploying resource adapter
Posted by de...@geronimo.apache.org.
The following issue has been updated:
Updater: toby cabot (mailto:toby@caboteria.org)
Date: Wed, 7 Jul 2004 4:16 PM
Changes:
priority changed from Major to Minor
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/GERONIMO-262?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-262
Summary: NullPointerException deploying resource adapter
Type: Bug
Status: Unassigned
Priority: Minor
Project: Apache Geronimo
Versions:
1.0-M2
Assignee:
Reporter: toby cabot
Created: Wed, 7 Jul 2004 4:14 PM
Updated: Wed, 7 Jul 2004 4:16 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07
Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present.
Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml:
<?xml version="1.0" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>Fake Resource Adapter</description>
<display-name>Fake Resource Adapter</display-name>
<vendor-name>Fake Vendor</vendor-name>
<eis-type>example</eis-type>
<resourceadapter-version>0.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
</resourceadapter>
</connector>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-262) NullPointerException deploying resource adapter
Posted by de...@geronimo.apache.org.
The following issue has been updated:
Updater: David Blevins (mailto:dblevins@visi.com)
Date: Thu, 29 Jul 2004 3:17 PM
Changes:
Version changed to 1.0-M1
Version changed from 1.0-M2
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/GERONIMO-262?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-262
Summary: NullPointerException deploying resource adapter
Type: Bug
Status: Reopened
Priority: Minor
Project: Apache Geronimo
Components:
deployment
Fix Fors:
1.0-M2
Versions:
1.0-M1
Assignee: David Jencks
Reporter: toby cabot
Created: Wed, 7 Jul 2004 4:14 PM
Updated: Thu, 29 Jul 2004 3:17 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07
Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present.
Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml:
<?xml version="1.0" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>Fake Resource Adapter</description>
<display-name>Fake Resource Adapter</display-name>
<vendor-name>Fake Vendor</vendor-name>
<eis-type>example</eis-type>
<resourceadapter-version>0.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
</resourceadapter>
</connector>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira