Shrutimarkad123 / wsdl2objc

Automatically exported from code.google.com/p/wsdl2objc
MIT License
0 stars 0 forks source link

compile / run issue #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Good question it i was able to run the app on the first run but on the
second time xcode says "GDB interupted"  

What is the expected output?
a functional app

What do you see instead?

[Session started at 2009-09-03 23:16:23 -0400.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul  3 01:19:56 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000
Loading program into debugger…
Program loaded.
run
[Switching to process 3425]
Running…
2009-09-03 23:16:24.141 WSDL2ObjC[3425:a0f] An uncaught exception was raised
2009-09-03 23:16:24.145 WSDL2ObjC[3425:a0f] *** -[NSURL
initWithString:relativeToURL:]: nil string parameter
2009-09-03 23:16:24.149 WSDL2ObjC[3425:a0f] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL
initWithString:relativeToURL:]: nil string parameter'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x923f058a __raiseError + 410
    1   libobjc.A.dylib                     0x96287f49 objc_exception_throw + 56
    2   CoreFoundation                      0x923f02b8 +[NSException
raise:format:arguments:] + 136
    3   CoreFoundation                      0x923f022a +[NSException
raise:format:] + 58
    4   Foundation                          0x9303e144 -[NSURL(NSURL)
initWithString:relativeToURL:] + 90
    5   Foundation                          0x9303e0cf +[NSURL(NSURL)
URLWithString:relativeToURL:] + 82
    6   Foundation                          0x9303e077 +[NSURL(NSURL)
URLWithString:] + 49
    7   WSDL2ObjC                           0x0000afaf -[USParserApplication
outURL] + 204
    8   WSDL2ObjC                           0x0000add7 -[USParserApplication
canParseWSDL] + 102
    9   Foundation                          0x9302c237
_NSGetCharValueWithMethod + 95
    10  Foundation                          0x9302679f
_NSGetUsingKeyValueGetter + 68
    11  Foundation                          0x93025d0a
-[NSObject(NSKeyValueCoding) valueForKey:] + 413
    12  Foundation                          0x93029638
-[NSObject(NSKeyValueCoding) valueForKeyPath:] + 204
    13  AppKit                              0x950b8d5e -[NSBinder
_valueForKeyPath:ofObject:mode:raisesForNotApplicableKeys:] + 841
    14  AppKit                              0x950b8989 -[NSBinder
valueForBinding:resolveMarkersToPlaceholders:] + 188
    15  AppKit                              0x95277c11 -[NSEditableBinder
enabledState] + 74
    16  AppKit                              0x9517028e -[NSEditableBinder
_setStatesImmediatelyInObject:mode:triggerRedisplay:] + 348
    17  AppKit                              0x9517012b -[NSEditableBinder
_observeValueForKeyPath:ofObject:context:] + 124
    18  AppKit                              0x950b7b41 -[NSBinder
_performConnectionEstablishedRefresh] + 85
    19  AppKit                              0x950aa248
-[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 721
    20  AppKit                              0x951561df -[NSNibBindingConnector
establishConnection] + 156
    21  AppKit                              0x95085495 -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] + 1249
    22  AppKit                              0x950835aa loadNib + 257
    23  AppKit                              0x950829a4
+[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 228
    24  AppKit                              0x950828b5
+[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 158
    25  AppKit                              0x95082800
+[NSBundle(NSNibLoading) loadNibNamed:owner:] + 383
    26  AppKit                              0x9507f609 NSApplicationMain + 434
    27  WSDL2ObjC                           0x0000e041 main + 30
    28  WSDL2ObjC                           0x00001e62 start + 54
)
sharedlibrary apply-load-rules all
(gdb) 

What version of the product are you using? On what operating system?
0.5 MAC

Please provide any additional information below.
I fully admin to be a nube at wsdl, soap, objc, etc. so i may be doing
something stupid. (not completely green to programing)

Original issue reported on code.google.com by ryan.zah...@gmail.com on 4 Sep 2009 at 3:20

GoogleCodeExporter commented 8 years ago
Can you point me to the wsdl file that creates the crash?
Thanks!

Original comment by hasse...@gmail.com on 5 Sep 2009 at 5:03

GoogleCodeExporter commented 8 years ago
The wsdlURL and outURL functions in USParserApplication.m only check if the
PathString variable is nill, if the string is empty it uses the pathstring which
makes sure the app won't start..

Original comment by mfa.tenv...@gmail.com on 7 Sep 2009 at 2:45

GoogleCodeExporter commented 8 years ago
Fix committed in rev 113 (iPhone branch).

Original comment by hasse...@gmail.com on 7 Sep 2009 at 9:17