Error in Importing Swagger Definition
Hi, I am trying to import my swagger definition. I am getting a :
Fri Jan 19 21:36:39 SGT 2018:ERROR:An error occurred [Unexpected char=ï], see error log for details
Here is the error log:
Fri Jan 19 21:39:52 SGT 2018:ERROR:javax.json.stream.JsonParsingException: Unexpected char=ï
javax.json.stream.JsonParsingException: Unexpected char=ï
at org.glassfish.json.JsonTokenizer.nextToken(JsonTokenizer.java:325)
at org.glassfish.json.JsonParserImpl$StateIterator.nextToken(JsonParserImpl.java:158)
at org.glassfish.json.JsonParserImpl$StateIterator.next(JsonParserImpl.java:183)
at org.glassfish.json.JsonParserImpl.next(JsonParserImpl.java:151)
at org.glassfish.json.JsonReaderImpl.readObject(JsonReaderImpl.java:106)
at com.smartbear.swagger4j.impl.SwaggerParser$SwaggerJsonParser.<init>(SwaggerParser.java:201)
at com.smartbear.swagger4j.impl.SwaggerParser$SwaggerJsonParser.<init>(SwaggerParser.java:192)
at com.smartbear.swagger4j.impl.SwaggerParser.newJsonParser(SwaggerParser.java:72)
at com.smartbear.swagger4j.impl.SwaggerParser.newParser(SwaggerParser.java:83)
at com.smartbear.swagger4j.impl.SwaggerReaderImpl.readApiDeclaration(SwaggerReaderImpl.java:185)
at com.smartbear.swagger4j.impl.SwaggerReaderImpl.readApiDeclaration(SwaggerReaderImpl.java:181)
at com.smartbear.swagger4j.SwaggerReader$readApiDeclaration.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at com.smartbear.restplugin.SwaggerImporter.importApiDeclaration(SwaggerImporter.groovy:77)
at com.smartbear.restplugin.AddSwaggerAction.perform(AddSwaggerAction.java:91)
at com.smartbear.restplugin.AddSwaggerAction.perform(AddSwaggerAction.java:43)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:93)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I am using Soap UI 5.0.0.0