Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/internal/PublishLowHighReqStreamingOutput.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/internal/PublishLowHighReqStreamingOutput.java b/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/internal/PublishLowHighReqStreamingOutput.java
index 5495acdd064..1051acab237 100644
--- a/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/internal/PublishLowHighReqStreamingOutput.java
+++ b/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/internal/PublishLowHighReqStreamingOutput.java
@@ -150,13 +150,17 @@ public final class PublishLowHighReqStreamingOutput implements StreamingOutput {
String newline = "";
for (ArtifactReadable subSysReq : req.getRelated(CoreRelationTypes.RequirementTrace_HigherLevelRequirement)) {
builtRows[4].append(newline);
- builtRows[4].append(subSysReq.getSoleAttributeAsString(CoreAttributeTypes.ParagraphNumber));
+ try {
+ builtRows[4].append(subSysReq.getSoleAttributeAsString(CoreAttributeTypes.ParagraphNumber));
+ } catch (Exception ex) {
+ builtRows[4].append("Paragraph # unavailable");
+ }
builtRows[5].append(newline);
builtRows[5].append(subSysReq.getName());
builtRows[6].append(newline);
builtRows[6].append(subSysReq.getArtifactType().getName());
String subsystem = "Not specified";
- if (req.getAttributeCount(CoreAttributeTypes.Subsystem) > 0) {
+ if (subSysReq.getAttributeCount(CoreAttributeTypes.Subsystem) > 0) {
subsystem = subSysReq.getSoleAttributeAsString(CoreAttributeTypes.Subsystem);
}
builtRows[7].append(newline);

Back to the top