Nieuw lid |
|
Ik wil een plaatje maken vanuit 2 gifjes, maar als een gifje niet bestaat dan krijg ik direct hetvolgende binnen:
Warning: imagecreatefromgif(http://www.habbo.nl/habbo-imaging/avatarimage?size=b&direction=3&head_direction=3&gesture=&action=&user=HabbersFreak&img_format=gif) [function.imagecreatefromgif]: failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error in /home/chrisvdk/domains/chrisvdk.gratishosted.nl/public_html/avatergenerator/index.php on line 14
Warning: imagecopy(): supplied argument is not a valid Image resource in /home/chrisvdk/domains/chrisvdk.gratishosted.nl/public_html/avatergenerator/index.php on line 15
GIF87a``ÆÚÙØÚØÓÔÔÓâáàáàÞàÞÚÙÖÔÛÒËÚÌÃqodáØÑÚȺëèããêáʹáÓÈÒÐÎâÑÂäÉ´â½¢ÛÄ´âƲâÀ¢èåãé°â»ä³å°ê³ÕËÄá¸ééèå®ÚƸÓÎËèÁ¡ÖÙÚÓÖØê¸Ý½¤ÛàááÎÀÖÁ²ÝÐÅÚÞàÕźéÅ«å¬}äØÎÝÂéÉ°èÒÁá¶Ý¹é¬}éÙÊéÚÑñèâðÙÈëÀÕȽØÏÈßàÞðйè͹òñðÝ¿©è®ÏÒÔè½ë¹ð˱éнòíéðÞÒê×Éê£lê¨tÞÈ·êÈ×Ø×òÀð¶æééñ½ñåÛæнòʨàßàßÀ¦òáÕñØÅñ¹èáÚð±ïØÇèçèð¯ñ°~èDzê fòдñÓÁð«wð§oæçèóÀ迣ῨèÞØá×ÐòÆ¢á¯ÞðæàÞ´óèßðÇ©,``þ H;;#&423 ¦¨§ ±³²f@8I¦A U2&j# #T#:99Jc7 ÖÕ±FE(åç(,&28¯ óôõö÷H?J9AþI:®p¡ tèXp`$Ê:9t¹1eE"ÌÂR®# >ðÀáÉ y÷RÞ2c_¿ ßHq $BLPÙ'ñF@3*T¨Í³`p¡QÓ±D¥5u9æiáºÀ+@ &LüøÒG¦YþÞκdÌÍ»,,Å!kÞ¿g1LxÊXT)3óà],pr^Ð tÉ»ô8¡2ºøºÆ´éy§?Ü8¢CN-ÌwþÂ(u ^¶¨ÉGoM9ÏÖ¤ÁÄ ¨ ¤&ÿ«pà8\̨rcÃ5a°]/&¤ÆoÑXöÎ+ÂpaV{öÎ?>C #ÿX ¨RY2×EXüo 1Ã×@XZ§6OGl ì÷Q4Áz»Íb6AmáÞðÅøÞ2ècB² 'X ($o(Þxþ#ÕK. #³H ÃHãai§IYp@MHp \dY$dpO¶9À OìàÅú "B,¥@x&B*Ê A) bi °A|þùÕ@Pºé6¤}! Û³cÜQ @YtBvXf\Hj;HhP.èhi ÊzN&xskP2A¨ÞÁaëeÆ¥% ÈF©r*dMp@è:j©§j¯*@PÝ'WÙzÆFË `@¢Ùõ@ @Bûòég¶`à@¿þà ð~w.@@AºaûçºÛ- {ö ®¸R¨^, ñvë®+=ð@A-ðk/¾ùc#\»l¡°ÆÕã¯!u H`¸F%I·÷1$@+ll¤Á!«uÐlàA1&ç+ ¬¸ç¦»Eàýëm(XÌ("Ìõ/ÜýxfÝàV Êç Ø°À©à1ô pã¬ÐêqG.yÐ%´Hx#6 CÀ/0¸Á$°^¸Ç6kÜãó¨{ ùìsÐ ` vÒþéR|W :]øÜ¿ÖúûSÀÈÔÏÞ1qÂß©³Y1B MãxAHP?@q£@)@Яõ#BÈú÷;¨ w¼%0lmPÀ`Ð^÷>Ù©ð4VÕ¾´ p{ÚÀ÷ÂúPrÅòNÒ@ajËN?|!ý¦H7¡YQAÌVºÆ.°<ñ$Haiç@Ôc[e¸£.º1hG#)@ là8ÁǸÆh ±tD£ á8Ft@Ë aTt` ;ÙõÑNÚKþ×EBþ°óî X<@Ø #yɵÑèòdK0(p6ÆVjçyUCXÆÅAN=´Û-Ç! @ØÀ $·GIJÓ P ØñÐpl§qÜiÜÎ §Îù°'þVq@>x@^àBêQ1Ù@é 4à °ÃÐWNsSy¬S!@4%ã¢-@4§ÙÃû=Ì4@ Ry$HJ 4vºT¢/ç¼ÆÌÞÓ§¨øéèÚJR: CXãà·±#ª³ë{¡2@þ¾XÕªÁ@àÂjÊ®*@À Ìñ°j¶¶¶5S3@òS. P=¯jUÌ -x¡ Â:ÎóikàÌ¿÷5jZcá©bðõ²Ý@ TÖ4yéß0JZ³@.0Ыç]íq K£hà .09.áij @äZ |ö i/Ú§ ¸3ÆÙ:_,¶cêå0ËWh s ®pUÐl[5àr-á\èÞKà ´Ââ8±nÐ+w¯Ð ¼¿@gÍ Úàu´ËÇP þÀ@2HÐÚ!Åk4/ ¸&nDô: Á@½ZdhÀ] Ö¨(.` æð¸äí ÀØ ¿áHð3 u &ÈÀcàÝR`¦&x')´ Ho×[ ¤`¨@Á<Ð}l'¨¬V°OÙí±³² 2`Q%³Ã$-Ô4ÐUâ´-Ç´Là:ZJ×êÒ$ºÜ¬JQ+ÐÛ:&PG0Á8-èötÓgCE¨õYÀ)kKÞéÖ¡»8@oX*`Z»¸{õH:@ëË °^Ë3*k³4ÐRë HY·Ë×sD۬IJ 6ðÙ¦Søuo¯ÉÙA¬ Ò=û «üVhå^Cc>L_¥þ=dw¥ºWÚ¦5èVºÏ/]ZhptÅܤß;P / Avý;¢K;f:¾ÎøÆ£Ò:Uº(¹t Àô 1¸ë5fã¸fÐnã÷ ö½%¬ð d`«3X 4ð_o{Fyk»Dw@³K¿^ò3çÔ50&0á @>íeóh-÷ i@>ÏýX¤öÐ x`ëÇF`qj#uS`aÀ;{ÀçÁ'$~UReÖv+rhz´Ø8ø{Ò'(cø`±¶3±þuú%%g8hS9x~È~gv ZWSð0FØLè}`øm§- X¸gOñ 8TNX`øä}lstOIdXk&·rp÷@²§zB¸|ØtU64huXtxõÄL @tpmL§.ØsgvpJè-϶W¹50ÌÔ'RÁë6RxãðL)°H9øm$o£Wt¨xç°]¸_º¸¥ä{×À¸8&õlüQt¼ÎKÈxUx[£'Z âþ¤Ø'Üøø+â8&ÞgàUs¼7@Rܸ ¶XXÊx à+yÏ XtöxO±]¸è@Åým]D )`upPpPq[IÈÀ á I`û8Dç¤*É8. Æ!é'à`) >Ù@{ºE9ØñH]ôHkÒötA*¸(+0Ùb)P@\ÄI4q`IaaY:i0x a`á]<PA CY R°IyN/ILùeY þ`=é'Ø!o)ùty9p))bÉùô¸È·qi iu°â+KQ®ù3llPêç£r"ZéCµÖ8¾ ½É n9uñ @t¬©©8ÌÙEÜ ðé¡´é@ÜéÞ 0à9ã`Û9°;B \HðYDpüæ|4 ú9ÚBk*é ¨Étë8ô9pêSq´(9ÒI5úrç¡p.º|§¡Uxê+ 0MÔX!û¡pmþÊ50R9Ýi£p£è2âÙ£áY åÙ'è ¤@z°H)Z P*+êgv.8Z¥;ê£F' ê·^ê46A10¦$AÍ#0_ª Pks._ú¦ÀøZn5§¨Ó#^¹ôHãV£~j£°£ú£<J¤çyBz¨ÛYPR+@RZÓ§Z©Z©Ð'ðÚ©/º ê©*¢Zª`±] §ªºª« hر rܨ¶j©·z¥æ9`åy¨¼ú«åYn)«ÆJ«9«Ê«6³EÊEåéèÔ:Öªè¬ú¬×ZÒúÑ;
Warning: imagecreatefromgif(http://www.habbo.nl/habbo-imaging/avatarimage?size=b&direction=3&head_direction=3&gesture=&action=&user=HabbersFreak&img_format=gif) [function.imagecreatefromgif]: failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error in /home/chrisvdk/domains/chrisvdk.gratishosted.nl/public_html/avatergenerator/index.php on line 14 Warning: imagecopy(): supplied argument is not a valid Image resource in /home/chrisvdk/domains/chrisvdk.gratishosted.nl/public_html/avatergenerator/index.php on line 15 GIF87a``qodȺêʹɴ⽢ĴƲ鰂⻜䳊尅곉ḗ宂Ƹ긑ݽźū}ɰᶒݹ}Ƚйݿ讀轙빏˱нltȷȭнʨ~Dz fдwo迣ῨƢᯈޭǩ,`` H;;#&423 f@8IA U2&j# #T#:99Jc7 ձFE((,&28 H?J9AI:p tXp`$:9t1eE"R# > yRޛ2c_ Hq $BLP'F@3*T`pQD5u9i+@ &LGYκd̜ͻ,,!kg1LxXT)3],pr^ t82ƀy?8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`upPpPq[I I`8D礒*8. !'`) >ٓ@{E9H]HktA*(+0b)P@\I4q`IaaY:i0x a`]<PA CY RIyN/ILeY `='!o)ty9p))bȷqi iu+KQ3llP爣r"ZC8 n9u @t8E @ޙ 09`9;B \HYDp|4 9Bk* t89pSq(9I5rp.|Ux+ 0MX!pmʎ50R9ip2٣Y ' @zH)Z P*+gv.8Z;F' 귐^46A10$A#0_ Pks._Zn5#^HV~j<JyBzYPR+@RZӧZZ'ک/ *Z`] hر rjz9`yYn)J9ʊ6EE:Z;
En op de server
500 Servlet Exception
java.lang.NullPointerException
at com.sulake.imagecreator.service.AccountServiceImpl.getAvatarByName(AccountServiceImpl.java:55)
at com.sulake.imagecreator.service.AccountServiceImpl.getFigureIdForUser(AccountServiceImpl.java:59)
at sun.reflect.GeneratedMethodAccessor969.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:280)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy108.getFigureIdForUser(Unknown Source)
at com.sulake.imagecreator.servlet.AvatarImageServlet.service(AvatarImageServlet.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:419)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:492)
at com.caucho.util.ThreadPool.run(ThreadPool.java:425)
at java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------
Resin-3.0.18 (built Fri, 24 Feb 2006 02:47:03 PST)
500 Servlet Exception java.lang.NullPointerException at com.sulake.imagecreator.service.AccountServiceImpl.getAvatarByName(AccountServiceImpl.java:55) at com.sulake.imagecreator.service.AccountServiceImpl.getFigureIdForUser(AccountServiceImpl.java:59) at sun.reflect.GeneratedMethodAccessor969.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:280) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210) at $Proxy108.getFigureIdForUser(Unknown Source) at com.sulake.imagecreator.servlet.AvatarImageServlet.service(AvatarImageServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:419) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:492) at com.caucho.util.ThreadPool.run(ThreadPool.java:425) at java.lang.Thread.run(Thread.java:595) -------------------------------------------------------------------------------- Resin-3.0.18 (built Fri, 24 Feb 2006 02:47:03 PST)
Is het ook mogelijk deze fouten te laten 'herkennen' om zo een foutmelding weer te geven?
Bedankt, Field.
|