Community
Participate
Working Groups
Created attachment 190370 [details] Tigerstripe.log Hello, I am running Tigerstripe 0.5.0.20100520 on Galileo (TIP has not switched to Helios yet). I have 2 projects: TIP_EIM_SSO_Dependencies and TIP_EIM_SSO_Model I have exported the Dependencies project as a module (org.tmforum.tip.sso.dep_04.jar) and copied this module to the Model project. When I try to add this jar file as a dependency in the tigerstripe.xml of the Model, the first time, there is no response. When trying again, I am getting a null pointer exception when trying to save the Tigerstripe file. Attaching the 2 projects and the logs Best regards Marc
Created attachment 190371 [details] Tigerstripe.log.1
Created attachment 190372 [details] TIP_EIM_SSO_Dependencies as zip file
Created attachment 190373 [details] TIP_EIM_SSO_Model as zip file
Hi Marc, The problem is that your several models, at least ResourceFacingService, has 'copy/paste' xml markup and special symbols from MS Word in the description: <P style="MARGIN: 0in 0in 0pt" class=TableText>....<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p></P><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; LETTER-SPACING: -0.25pt; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: I'm trying to solve this problem... but now you can avoid it by making a plain text descriptions.
Hi Valentin, Tigerstripe doesn't support rich text format in the editor's description. If this is the main cause of this defect, please close this defect as won't fix. I don't think it's necessary to modify TS code for this.
Valentin, Navid, I don't mind changing imported data to remove bad data, but I would like to get a clear message to indicate me that there is a problem with rich text data. Today, just getting a null pointer exception gives me no clue what to look for. Best regards Marc
Fair enough. I agree the code shouldn't throw a null pointer exception. It should either support the use case or provide a clear message indicating the issue.
Created attachment 197375 [details] TS-338918.patch.txt Navid, Marc, I've fixed this issue. Now you can use any text in the model description.
Created attachment 197384 [details] TS-338918.patch.txt
Added a new version of the patch, please use it.
Valentin's patch applied.
I'm still able to reproduce this issue. Still get an NPE when I add the noted jar file to dependencies of project.
Navid, Did you recreate dependency module again?
No, I used what was attached. Do I need to recreate it?
Yes, you need to export module again. In fact, I did not provide working with the modules assembled earlier. Should I do this?
(In reply to comment #15) > Yes, you need to export module again. In fact, I did not provide working with > the modules assembled earlier. Should I do this? No, there is no need to provide support for the old JAR module. I recreated the Tigerstripe module JAR file > Added it as a dependency > but when I save the file, Tigerstripe seems frozen and the workbench becomes unresponsive.
Created attachment 197474 [details] TS-338918_Cycles_fix.patch.txt Yes indeed, for the original data downloaded again TS hangs. I had no problems, because I changed the original project, but it is not related to a current bug. The problem is as follows: if the artifact has a circular reference to the artifact in another project and these projects are exported when you add dependence TS is hanging. I've fixed it. If necessary, I can make a separate issue in bugzilla.
(In reply to comment #17) > Created attachment 197474 [details] > TS-338918_Cycles_fix.patch.txt > > Yes indeed, for the original data downloaded again TS hangs. I had no problems, > because I changed the original project, but it is not related to a current bug. > > The problem is as follows: if the artifact has a circular reference to the > artifact in another project and these projects are exported when you add > dependence TS is hanging. > > I've fixed it. If necessary, I can make a separate issue in bugzilla. Thanks Valentin! It's not necessary to create a separate bugzilla. I'll verify the fix as soon as Yuri reviews and applies the patch.
OK, I've applied Valentin's patch.
Verified thanks!