Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tigerstripe-dev] Question regarding accessing artifact's project for artifact in module

Hi,
 
For the tigerstripe-documentation generator I am trying to get hold of the ITigerstripeModelProject for artifacts within a Dependency module (see request in bugzilla 239395). Once I have the project I can then retrieve its session and run a query. See the code below:
 

ITigerstripeModelProject project = artifact.getTigerstripeProject();

IArtifactManagerSession session = project.getArtifactManagerSession();

IArtifactQuery query = session.makeQuery(IQueryAllArtifacts.class.getName());

 

However I get a null pointer exception trying to retrieve the Project for artifacts within modules. Is there some way around this currently or can the external API be extended to allow this? Should I raise a bugzilla for that?

 

Thanks

Duncan

 
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message.
 
Cisco Systems Limited (Company Number: 02558939), is registered in England and Wales with its registered office at 1 Callaghan Square, Cardiff, South Glamorgan CF10 5BT
 

Back to the top