Well its def something with windows then. Something must have updated while your computer was on. Im not sure about your own preferences, but I turn off automatic updates for everything. If you dont, then it is most certainly updates that have caused this problem.
Try uninstalling whatever Java version you have and put in the latest version of 7 (Java 7 is very stable and compatible with most things), Java 8 can cause some problems. I don't think Video-card drivers are the problem here, as this is something with the XML.
I forget what program/update/software handles XML files, but that software not being compatible/implementing new things that the current version of the attrib editor cant handle is probably it. Knowing updates, its probably a update related to security and/or performance. So if an update caused this, then updating even more is probably not going to help. Downgrading a few things might be the solution here.
Well, I've uninstalled Java 8 and downloaded Java 7. Still no luck and stuck with the same error. My windows updates are turned off as well, never have I switched them on as far as I can remember. At this point, I don't know what to downgrade, especially since my internet isn't the best.
At this point really, I might as well just reformat my computer for a fresh restart. Mostly just my main drive to get it over with. Someone told me that's how they fixed it atleast.
Have you tried validating cache on the mod tools? The error mentions it can't find the root XML, so maybe you are missing files.
Yep. Already tried validating the mod tools, and even reinstalling the mod tools on different drives. Same thing. |
...
It seems like a corrupt xml file which is used in the main function of the AttributeEditor. Have you tried to reinstall the Modtools/Attribute editor?
Yep, I've reinstalled it even on another drive and it still shows the same error. Just recently have I even tried system restore back a few days before the tools broke, yet the issue persists.
I'm re-downloading the CoH2 mod tools yet again on another drive atm. I highly doubt it's going to work though.
EDIT:
Yeah, no... Just reinstalled it on another drive for the 2nd time, and still no luck. The thing crashes as soon as it launches, showing the exact same error log. |
Hello,
Had it running fine, though now when I try to edit the attribs it parses the game files and then blinks a red screen.
The following is in the AttributeEditorXML log file...
AttributeEditorXML.exe Error: 0 : Caught an exception in main e = System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
The auto generated attrib.xml merely contains the following..
<mod guid="ebf129c1054e4df9b49c2c3916f5b490" override_locdb="True" override_instances="True">
</mod>
I've tried reinstalling without luck... Don't think I changed anything from when it was running...
Any ideas?
Did you find a fix to this issue? I'm having a similar one right now which the log starts with an exact error.
https://www.coh2.org/topic/63599/attribute-editor-crashing-immediately-after-start |
Is this happening when you open the attribute editor from the drop down menu in mod tools or when opening your mods attribute file in the attribute editor?
As in, can you open the attribute editor without any modded files?
Nope, I tried opening the AE with and without modded files and it still crashes on me, showing the exact same errors. Tried running the AE.exe directly, tried opening different .xml files, but still nothing but the same error that closes it down instantly. |
I don't get it, the thing was working pretty well last night, perfect even. Finished updating my mod, played a game with a friend on it, then went to sleep. The next day, I tried to launch up the editor again but the thing crashes as soon as it finishes loading up!
In fact, it happens so quickly, I only have a split second to do whatever I need to do, so I tried to catch a screencap of it with print screen and these are the red text errors I got in the bottom text box before it closes instantly;
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at AttributeEditorXML.Program.Main(String[] args)
Any help would be greatly appreciated. I just got back in the 'groove' to mod, but this issue is killing it pretty quickly and I am quite lost about it!
And no, I am not aware of any updates on my computer. I left it on overnight, but it doesn't seem like my video card or java or anything updated.
I run on Windows 7, 64-bit. Like I said, everything was running perfectly last night, and this time, I've been getting that error.
Thanks in advance! Hope to hear from anyone soon that could provide assistance!
EDIT Found the log for the Attribute Editor on the AttributeEditorXMLLog.txt. This is what I got;
AttributeEditorXML.exe Error: 0 : Caught an exception in main e = System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLayoutRoot.Read9_LayoutRoot()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at Xceed.Wpf.AvalonDock.Layout.Serialization.XmlLayoutSerializer.Deserialize(TextReader reader)
at Xceed.Wpf.AvalonDock.Layout.Serialization.XmlLayoutSerializer.Deserialize(String filepath)
at AttributeEditorXML.Windows.MainWindow.Window_Loaded(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at AttributeEditorXML.Program.Main(String[] args)
UPDATE 9/29/2017 5:10PM
I've just tried updating my graphics card to the latest drive version. Still no dice. Attempting to update my .Net Framework soon.
UPDATE 9/29/2017 6:54PM
I'm starting to run out of options. I've already updated my .NET Framework, updated my Flex SDK, updated my video card, ran SFC, and ran SFCFix to make sure it fixes what SFC wasn't able to, but my error continues to persist. I'm starting to feel a little more worried than I should be :< |
Hey all! Its been a while since I've last been here. Just recently I've been going back to my mod pack to further update it. Though just recently, people have been complaining that whenever they upgrade the AEF's bazooka and BAR racks, they get this error which doesn't allow them to pick up/purchase the weapons
It was odd, though its most likely a recent patch/update on the game. I went on to check my mod pack files, researches of the BAR and Bazooka, and this is what I get.
The actions bar is empty, though I have a feeling it always has been. If not, then maybe that's the case?
If the action bar isn't the issue, then what is? Is there anyway to fix it manually? |
Help! Big problem encountered! I... think it's big, but while I was updating my modpack, my internet cut off so it stopped the modpack's updating. From then on, everytime I try to update my mod pack, it stops and shows the yellow triangle, along with the message "Operation failed with error code 10: Unknown failure."
Help! I fear I may not be able to update my long-worked mod pack ever D:
I tried restarting Steam, but no go, same problem.
=====UPDATE UPDATE UPDATE=====
Nevermind, it fixed itself! Just had to wait for a day. Sorry ^-^ |
Question peeps, lil' help again ^-^
Where can I find a list of updates everytime the modding tools update? Like so I can view what the update brings. Can't seem to find one anywhere (I could be that bad at searching though..), because recently... A 13.3 MB update on the tool pack gave me this much errors when opening my modpack: Click me to view the errors
I tried my modpack after, everything -seemed- fine, though I'm unsure and won't update my mod pack until I know its safe to do so. Any ideas anyone?
Also, another, how to make it so that units can survive one or several shots from a sniper? Like how the Captain and Lieutenant (British, from CoH1) would get half of their HP taken from a sniper shot instead of being instantly killed. |
Heya'll! I seem to have bumped in to another issue again and require assistance if its fine ^-^
Ya' see, I've already created the modpack "Unit Variety Expansion Pack", and so far its going well... Though I plan to make an alternative version or a "Special edition" of it, being a separate mod pack.
So in order to create the special edition, I need to copy all the mod files, custom units, buildings and abilities from my original mod pack, to a new copy for separate editing and publishing.
The first thing I tried to do is copy the Instances and Local files of the original mod pack and place it in the same folder of the alt-version. After that, I opened up the attribute Editor and when it opens, it says that it has found errors and to check the output window.
All the errors are similar, click here to see a few examples over the like... 167 more errors.
I gave the game a try, and some custom units, along with some default units that were made build-able when they were normally aren't, of the US Army from the original modpack is missing in the alt-version, and when I gave the Soviets a try... I couldn't build any units except the conscripts! The Combat Engineers aren't even in the Soviet HQ Build list anymore. The odd thing about the Combat Engies were that the only thing edited about them, is increased 4 members to 5. That's all. Haven't tried the Ostheer and OKW, but I'm guessing they'll show similar results.
Can anyone here help me out on this one? See if there's a way to successfully transfer mod files from one pack to another for separate editing and publishing? Really need to get that alternative version going as soon as I could. Thanks a lot! ^u^ |
Darn, I seem to have forgotten how to increase the firing range (how far the units can shoot) of certain units... A lil' refreshing help here? |