Stream: dotnet
Topic: Bug in FORGE
Binu DGIT (Jan 10 2017 at 04:38):
@Michel Rutten
I am not able save any new profile.. Following error occurs.. Do you have any fix for this..?
This issue is bug is coming up only when "Snapshot" option is enabled...
Forge Forge 14.4.1 for DSTU2
FHIR DevDays 2016 Edition (hotfix)
Version: Version 14.4.1.0 (ClickOnce)
FHIR Version: Fhir.NET library for 1.0.2
An unexpected error occured:
'true' is an unexpected token. Expecting white space. Line 399, position 298.
Michel Rutten (Jan 10 2017 at 13:20):
Hi @Binu DGIT I can't seem to reproduce the issue; looks like the bug has already been fixed in the current development branch. Tomorrow we will publish a new offical Forge release. Please contact me in case the problem still exists in the new release.
Binu DGIT (Jan 15 2017 at 07:02):
Hi @Michel Rutten I downloaded the new forge.. Still I get the same error as follows. This is happening only when I save with snapshot enabled
2017-01-15T10:59:19
Forge Forge 14.7 for DSTU2
San Antonio 2017 Edition
Version: Version 14.7.0.0 (ClickOnce)
FHIR Version: FHIR .NET API library for 1.0.2
An unexpected error occured:
'true' is an unexpected token. Expecting white space. Line 399, position 298.
Michel Rutten (Jan 15 2017 at 15:08):
@Binu DGIT that's unfortunate :/ Could you share the profile that you are trying to save?
Ewout Kramer (Jan 15 2017 at 16:13):
Hard to share if you cannot save it ;-)
Michel Rutten (Jan 15 2017 at 16:21):
If I understand correctly, it is possible to save without snapshot.
Binu DGIT (Jan 16 2017 at 03:55):
Yes.. it is possible to save with out snapshot option.
It is not the problem with a particular profile.. applicable for any profile
Michel Rutten (Jan 16 2017 at 16:17):
Hi @Binu DGIT this is a difficult one to solve, as I cannot reproduce the isue.
Michel Rutten (Jan 16 2017 at 16:20):
Maybe I can create a special debug build that will help us find the cause. I'm currently at the HL7 WGM in San Antonio, so I can't do this right now.
Binu DGIT (Jan 17 2017 at 04:09):
Hi @Michel Rutten, debug build is appreciated..
This bug is happening in my pc while it is working properly on the lap. Unfortunately it repeats even after upgrade.
Right nowI have two versions of forge available in my pc, Orlando 2016 DSTU2 and 14.7.
I can try to uninstall completely and try for a new installation.. But is there any registry entries available?
Binu DGIT (Jan 17 2017 at 10:43):
Now I try to save into a different folder than that of the existing one, I am getting the following error. What can be the reason?
2017-01-17T14:39:55
Forge Forge 14.7 for DSTU2
San Antonio 2017 Edition
Version: Version 14.7.0.0 (ClickOnce)
FHIR Version: FHIR .NET API library for 1.0.2
An unexpected error occured:
For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
Binu DGIT (Jan 17 2017 at 10:57):
Finally I was able to create snapshot profile into a new folder after the following error
San Antonio 2017 Edition
Version: Version 14.7.0.0 (ClickOnce)
FHIR Version: FHIR .NET API library for 1.0.2
An unexpected error occured:
Name cannot begin with the '%' character, hexadecimal value 0x25. Line 12, position 15.
Binu DGIT (Jan 17 2017 at 10:59):
Again the new profile contains around 14K lines of XML code.. what is the difference from the old? And finally I am not able to upload into structure Defintion of HAPI..
Michel Rutten (Jan 17 2017 at 16:35):
Hi @Binu DGIT thank you for the information. I'll have to investigate this after the WGM. It could be related to other (xml) files that are present. The snapshot generator creates a resource resolver for the target directory. The resolver scans all xml files in that folder and subfolders. One of those files may trigger the error. But that's just speculating.
Last updated: Apr 12 2022 at 19:14 UTC